Home | History | Annotate | Download | only in dev

Lines Matching defs:fbconf

199 	struct hpcfb_fbconf *fbconf;
211 fbconf = (struct hpcfb_fbconf *)data;
212 if (fbconf->hf_conf_index != 0 &&
213 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) {
217 fbconf->hf_conf_index = 0;
218 fbconf->hf_nconfs = 1;
219 fbconf->hf_class = HPCFB_CLASS_RGBCOLOR;
220 strlcpy(fbconf->hf_name, "Sharp Zaurus frame buffer",
221 sizeof(fbconf->hf_name));
222 strlcpy(fbconf->hf_conf_name, "default",
223 sizeof(fbconf->hf_conf_name));
224 fbconf->hf_width = sc->display_width;
225 fbconf->hf_height = sc->display_height;
226 fbconf->hf_baseaddr = (u_long)sc->active->buf_va;
227 fbconf->hf_offset = 0;
228 fbconf->hf_bytes_per_line = sc->display_width *
230 fbconf->hf_nplanes = 1;
231 fbconf->hf_bytes_per_plane = sc->display_width *
233 fbconf->hf_pack_width = sc->active->depth;
234 fbconf->hf_pixels_per_pack = 1;
235 fbconf->hf_pixel_width = sc->active->depth;
236 fbconf->hf_access_flags = (0
240 fbconf->hf_order_flags = 0;
241 fbconf->hf_reg_offset = 0;
243 fbconf->hf_class_data_length = sizeof(struct hf_rgb_tag);
244 fbconf->hf_u.hf_rgb.hf_flags = 0;
245 fbconf->hf_u.hf_rgb.hf_red_width = 5;
246 fbconf->hf_u.hf_rgb.hf_red_shift = 11;
247 fbconf->hf_u.hf_rgb.hf_green_width = 6;
248 fbconf->hf_u.hf_rgb.hf_green_shift = 5;
249 fbconf->hf_u.hf_rgb.hf_blue_width = 5;
250 fbconf->hf_u.hf_rgb.hf_blue_shift = 0;
251 fbconf->hf_u.hf_rgb.hf_alpha_width = 0;
252 fbconf->hf_u.hf_rgb.hf_alpha_shift = 0;
254 fbconf->hf_ext_size = 0;
255 fbconf->hf_ext_data = NULL;
261 fbconf = (struct hpcfb_fbconf *)data;
262 if (fbconf->hf_conf_index != 0 &&
263 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) {