Lines Matching defs:fbconf
306 struct hpcfb_fbconf *fbconf;
317 fbconf = (struct hpcfb_fbconf *)data;
318 if (fbconf->hf_conf_index != 0 &&
319 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) {
323 fbconf->hf_conf_index = 0;
324 fbconf->hf_nconfs = 1;
325 fbconf->hf_class = HPCFB_CLASS_RGBCOLOR;
326 strlcpy(fbconf->hf_name, "Sharp W-ZERO3 frame buffer",
327 sizeof(fbconf->hf_name));
328 strlcpy(fbconf->hf_conf_name, "LCD",
329 sizeof(fbconf->hf_conf_name));
330 fbconf->hf_baseaddr = (u_long)sc->active->buf_va;
331 fbconf->hf_width = sc->geometry->panel_width;
332 fbconf->hf_height = sc->geometry->panel_height;
333 fbconf->hf_offset = 0;
334 fbconf->hf_bytes_per_line = fbconf->hf_width *
336 fbconf->hf_nplanes = 1;
337 fbconf->hf_bytes_per_plane = fbconf->hf_width *
338 fbconf->hf_height * sc->active->depth / 8;
339 fbconf->hf_pack_width = sc->active->depth;
340 fbconf->hf_pixels_per_pack = 1;
341 fbconf->hf_pixel_width = sc->active->depth;
342 fbconf->hf_access_flags = (HPCFB_ACCESS_STATIC
346 fbconf->hf_order_flags = 0;
347 fbconf->hf_reg_offset = 0;
349 fbconf->hf_class_data_length = sizeof(struct hf_rgb_tag);
350 fbconf->hf_u.hf_rgb.hf_flags = 0;
351 fbconf->hf_u.hf_rgb.hf_red_width = 5;
352 fbconf->hf_u.hf_rgb.hf_red_shift = 11;
353 fbconf->hf_u.hf_rgb.hf_green_width = 6;
354 fbconf->hf_u.hf_rgb.hf_green_shift = 5;
355 fbconf->hf_u.hf_rgb.hf_blue_width = 5;
356 fbconf->hf_u.hf_rgb.hf_blue_shift = 0;
357 fbconf->hf_u.hf_rgb.hf_alpha_width = 0;
358 fbconf->hf_u.hf_rgb.hf_alpha_shift = 0;
360 fbconf->hf_ext_size = 0;
361 fbconf->hf_ext_data = NULL;
367 fbconf = (struct hpcfb_fbconf *)data;
368 if (fbconf->hf_conf_index != 0 &&
369 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) {