Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/video/fbdev/
Dbw2.c177 static void bw2_init_fix(struct fb_info *info, int linebytes) in bw2_init_fix() argument
184 info->fix.line_length = linebytes; in bw2_init_fix()
225 int *linebytes) in bw2_do_default_mode() argument
238 *linebytes = 1600 / 8; in bw2_do_default_mode()
275 int linebytes, err; in bw2_probe() local
290 linebytes = of_getintprop_default(dp, "linebytes", in bw2_probe()
304 err = bw2_do_default_mode(par, info, &linebytes); in bw2_probe()
309 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in bw2_probe()
322 bw2_init_fix(info, linebytes); in bw2_probe()
Dp9100.c234 static void p9100_init_fix(struct fb_info *info, int linebytes, struct device_node *dp) in p9100_init_fix() argument
241 info->fix.line_length = linebytes; in p9100_init_fix()
251 int linebytes, err; in p9100_probe() local
271 linebytes = of_getintprop_default(dp, "linebytes", info->var.xres); in p9100_probe()
272 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in p9100_probe()
290 p9100_init_fix(info, linebytes, dp); in p9100_probe()
Dcg3.c241 static void cg3_init_fix(struct fb_info *info, int linebytes, in cg3_init_fix() argument
249 info->fix.line_length = linebytes; in cg3_init_fix()
349 int linebytes, err; in cg3_probe() local
372 linebytes = of_getintprop_default(dp, "linebytes", in cg3_probe()
374 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg3_probe()
401 cg3_init_fix(info, linebytes, dp); in cg3_probe()
Dtcx.c319 tcx_init_fix(struct fb_info *info, int linebytes) in tcx_init_fix() argument
334 info->fix.line_length = linebytes; in tcx_init_fix()
364 int linebytes, i, err; in tcx_probe() local
382 linebytes = of_getintprop_default(dp, "linebytes", in tcx_probe()
384 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in tcx_probe()
454 tcx_init_fix(info, linebytes); in tcx_probe()
Dcg14.c350 static void cg14_init_fix(struct fb_info *info, int linebytes, in cg14_init_fix() argument
358 info->fix.line_length = linebytes; in cg14_init_fix()
464 int is_8mb, linebytes, i, err; in cg14_probe() local
480 linebytes = of_getintprop_default(dp, "linebytes", in cg14_probe()
482 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg14_probe()
540 cg14_init_fix(info, linebytes, dp); in cg14_probe()
Dcg6.c611 static void cg6_init_fix(struct fb_info *info, int linebytes) in cg6_init_fix() argument
647 info->fix.line_length = linebytes; in cg6_init_fix()
746 int linebytes, err; in cg6_probe() local
766 linebytes = of_getintprop_default(dp, "linebytes", in cg6_probe()
768 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg6_probe()
806 cg6_init_fix(info, linebytes); in cg6_probe()
Dleo.c550 int linebytes, err; in leo_probe() local
567 linebytes = of_getintprop_default(dp, "linebytes", in leo_probe()
569 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in leo_probe()
/linux-6.12.1/drivers/gpu/drm/tiny/
Dofdrm.c204 u32 linebytes; in display_get_linebytes_of() local
205 int ret = display_read_u32_of(dev, of_node, "linebytes", &linebytes); in display_get_linebytes_of()
209 return display_get_validated_int(dev, "linebytes", linebytes); in display_get_linebytes_of()
1098 int width, height, depth, linebytes; in ofdrm_device_create() local
1170 linebytes = display_get_linebytes_of(dev, of_node); in ofdrm_device_create()
1171 if (linebytes < 0) in ofdrm_device_create()
1172 return ERR_PTR(linebytes); in ofdrm_device_create()
1177 if (!linebytes) { in ofdrm_device_create()
1178 linebytes = drm_format_info_min_pitch(format, 0, width); in ofdrm_device_create()
1179 if (drm_WARN_ON(dev, !linebytes)) in ofdrm_device_create()
[all …]
/linux-6.12.1/arch/powerpc/boot/dts/
Dmpc836x_rdk.dts430 linebytes = <0>;
/linux-6.12.1/drivers/media/platform/nuvoton/
Dnpcm-video.c715 unsigned int linebytes) in npcm_video_set_linepitch() argument
720 while ((pitch < linebytes) && (pitch < MAX_LP)) in npcm_video_set_linepitch()