Lines Matching defs:fbconf
211 struct hpcfb_fbconf *fbconf;
224 fbconf = (struct hpcfb_fbconf *)data;
225 if (fbconf->hf_conf_index != 0 &&
226 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) {
230 fbconf->hf_conf_index = 0;
231 fbconf->hf_nconfs = 1;
232 fbconf->hf_class = HPCFB_CLASS_RGBCOLOR;
233 strlcpy(fbconf->hf_name, "Sharp Zaurus frame buffer",
234 sizeof(fbconf->hf_name));
235 strlcpy(fbconf->hf_conf_name, "default",
236 sizeof(fbconf->hf_conf_name));
237 fbconf->hf_width = sc->geometry->panel_width;
238 fbconf->hf_height = sc->geometry->panel_height;
239 fbconf->hf_baseaddr = (u_long)sc->active->buf_va;
240 fbconf->hf_offset = 0;
241 fbconf->hf_bytes_per_line = sc->geometry->panel_width *
243 fbconf->hf_nplanes = 1;
244 fbconf->hf_bytes_per_plane = sc->geometry->panel_width *
246 fbconf->hf_pack_width = sc->active->depth;
247 fbconf->hf_pixels_per_pack = 1;
248 fbconf->hf_pixel_width = sc->active->depth;
249 fbconf->hf_access_flags = (0
253 fbconf->hf_order_flags = 0;
254 fbconf->hf_reg_offset = 0;
256 fbconf->hf_class_data_length = sizeof(struct hf_rgb_tag);
257 fbconf->hf_u.hf_rgb.hf_flags = 0;
258 fbconf->hf_u.hf_rgb.hf_red_width = 5;
259 fbconf->hf_u.hf_rgb.hf_red_shift = 11;
260 fbconf->hf_u.hf_rgb.hf_green_width = 6;
261 fbconf->hf_u.hf_rgb.hf_green_shift = 5;
262 fbconf->hf_u.hf_rgb.hf_blue_width = 5;
263 fbconf->hf_u.hf_rgb.hf_blue_shift = 0;
264 fbconf->hf_u.hf_rgb.hf_alpha_width = 0;
265 fbconf->hf_u.hf_rgb.hf_alpha_shift = 0;
267 fbconf->hf_ext_size = 0;
268 fbconf->hf_ext_data = NULL;
274 fbconf = (struct hpcfb_fbconf *)data;
275 if (fbconf->hf_conf_index != 0 &&
276 fbconf->hf_conf_index != HPCFB_CURRENT_CONFIG) {