/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | bw2.c | 183 static void bw2_init_fix(struct fb_info *info, int linebytes) in bw2_init_fix() argument 190 info->fix.line_length = linebytes; in bw2_init_fix() 231 int *linebytes) in bw2_do_default_mode() 244 *linebytes = 1600 / 8; in bw2_do_default_mode() 281 int linebytes, err; in bw2_probe() local 296 linebytes = of_getintprop_default(dp, "linebytes", in bw2_probe() 310 err = bw2_do_default_mode(par, info, &linebytes); in bw2_probe() 315 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in bw2_probe() 329 bw2_init_fix(info, linebytes); in bw2_probe() 230 bw2_do_default_mode(struct bw2_par *par, struct fb_info *info, int *linebytes) bw2_do_default_mode() argument [all...] |
H A D | p9100.c | 241 static void p9100_init_fix(struct fb_info *info, int linebytes, struct device_node *dp) in p9100_init_fix() argument 248 info->fix.line_length = linebytes; in p9100_init_fix() 258 int linebytes, err; in p9100_probe() local 278 linebytes = of_getintprop_default(dp, "linebytes", info->var.xres); in p9100_probe() 279 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in p9100_probe() 298 p9100_init_fix(info, linebytes, dp); in p9100_probe()
|
H A D | tcx.c | 326 tcx_init_fix(struct fb_info *info, int linebytes) in tcx_init_fix() argument 341 info->fix.line_length = linebytes; in tcx_init_fix() 371 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() 463 tcx_init_fix(info, linebytes); in tcx_probe()
|
H A D | cg14.c | 356 static void cg14_init_fix(struct fb_info *info, int linebytes, in cg14_init_fix() argument 364 info->fix.line_length = linebytes; in cg14_init_fix() 470 int is_8mb, linebytes, i, err; in cg14_probe() local 486 linebytes = of_getintprop_default(dp, "linebytes", in cg14_probe() 488 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg14_probe() 546 cg14_init_fix(info, linebytes, dp); in cg14_probe()
|
H A D | cg3.c | 247 static void cg3_init_fix(struct fb_info *info, int linebytes, in cg3_init_fix() argument 255 info->fix.line_length = linebytes; in cg3_init_fix() 355 int linebytes, err; in cg3_probe() local 378 linebytes = of_getintprop_default(dp, "linebytes", in cg3_probe() 380 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg3_probe() 408 cg3_init_fix(info, linebytes, dp); in cg3_probe()
|
H A D | cg6.c | 611 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()
|
H A D | leo.c | 556 int linebytes, err; in leo_probe() local 573 linebytes = of_getintprop_default(dp, "linebytes", in leo_probe() 575 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in leo_probe()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | bw2.c | 184 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() 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() 231 bw2_do_default_mode(struct bw2_par *par, struct fb_info *info, int *linebytes) bw2_do_default_mode() argument [all...] |
H A D | p9100.c | 242 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()
|
H A D | cg14.c | 357 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()
|
H A D | cg3.c | 248 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()
|
H A D | tcx.c | 327 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()
|
H A D | cg6.c | 612 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()
|
H A D | leo.c | 557 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tiny/ |
H A D | ofdrm.c | 205 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() [all...] |