Home
last modified time | relevance | path

Searched refs:linebytes (Results 1 – 8 of 8) sorted by relevance

/drivers/video/fbdev/
Dbw2.c184 static void bw2_init_fix(struct fb_info *info, int linebytes) in bw2_init_fix() argument
191 info->fix.line_length = linebytes; in bw2_init_fix()
232 int *linebytes) in bw2_do_default_mode() argument
245 *linebytes = 1600 / 8; in bw2_do_default_mode()
282 int linebytes, err; in bw2_probe() local
297 linebytes = of_getintprop_default(dp, "linebytes", in bw2_probe()
311 err = bw2_do_default_mode(par, info, &linebytes); in bw2_probe()
316 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in bw2_probe()
329 bw2_init_fix(info, linebytes); in bw2_probe()
Dp9100.c242 static void p9100_init_fix(struct fb_info *info, int linebytes, struct device_node *dp) in p9100_init_fix() argument
249 info->fix.line_length = linebytes; in p9100_init_fix()
259 int linebytes, err; in p9100_probe() local
279 linebytes = of_getintprop_default(dp, "linebytes", info->var.xres); in p9100_probe()
280 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in p9100_probe()
298 p9100_init_fix(info, linebytes, dp); in p9100_probe()
Dcg3.c248 static void cg3_init_fix(struct fb_info *info, int linebytes, in cg3_init_fix() argument
256 info->fix.line_length = linebytes; in cg3_init_fix()
356 int linebytes, err; in cg3_probe() local
379 linebytes = of_getintprop_default(dp, "linebytes", in cg3_probe()
381 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg3_probe()
408 cg3_init_fix(info, linebytes, dp); in cg3_probe()
Dtcx.c327 tcx_init_fix(struct fb_info *info, int linebytes) in tcx_init_fix() argument
342 info->fix.line_length = linebytes; in tcx_init_fix()
372 int linebytes, i, err; in tcx_probe() local
390 linebytes = of_getintprop_default(dp, "linebytes", in tcx_probe()
392 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in tcx_probe()
462 tcx_init_fix(info, linebytes); in tcx_probe()
Dcg14.c357 static void cg14_init_fix(struct fb_info *info, int linebytes, in cg14_init_fix() argument
365 info->fix.line_length = linebytes; in cg14_init_fix()
471 int is_8mb, linebytes, i, err; in cg14_probe() local
487 linebytes = of_getintprop_default(dp, "linebytes", in cg14_probe()
489 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg14_probe()
547 cg14_init_fix(info, linebytes, dp); in cg14_probe()
Dcg6.c612 static void cg6_init_fix(struct fb_info *info, int linebytes) in cg6_init_fix() argument
648 info->fix.line_length = linebytes; in cg6_init_fix()
747 int linebytes, err; in cg6_probe() local
767 linebytes = of_getintprop_default(dp, "linebytes", in cg6_probe()
769 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg6_probe()
807 cg6_init_fix(info, linebytes); in cg6_probe()
Dleo.c557 int linebytes, err; in leo_probe() local
574 linebytes = of_getintprop_default(dp, "linebytes", in leo_probe()
576 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in leo_probe()
/drivers/gpu/drm/tiny/
Dofdrm.c205 u32 linebytes; in display_get_linebytes_of() local
206 int ret = display_read_u32_of(dev, of_node, "linebytes", &linebytes); in display_get_linebytes_of()
210 return display_get_validated_int(dev, "linebytes", linebytes); in display_get_linebytes_of()
1085 int width, height, depth, linebytes; in ofdrm_device_create() local
1157 linebytes = display_get_linebytes_of(dev, of_node); in ofdrm_device_create()
1158 if (linebytes < 0) in ofdrm_device_create()
1159 return ERR_PTR(linebytes); in ofdrm_device_create()
1164 if (!linebytes) { in ofdrm_device_create()
1165 linebytes = drm_format_info_min_pitch(format, 0, width); in ofdrm_device_create()
1166 if (drm_WARN_ON(dev, !linebytes)) in ofdrm_device_create()
[all …]