Lines Matching refs:fbconf

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