Home
last modified time | relevance | path

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

/openbmc/u-boot/cmd/
H A Dfpgad.c69 ulong linebytes = (nbytes > DISP_LINE_LEN) ? in do_fpga_md() local
72 for (k = 0; k < linebytes / sizeof(u16); ++k) in do_fpga_md()
79 linebytes / sizeof(u16), in do_fpga_md()
82 nbytes -= linebytes; in do_fpga_md()
83 addr += linebytes; in do_fpga_md()
H A Daxi.c229 ulong linebytes = (nbytes > DISP_LINE_LEN) ? in do_axi_md() local
232 for (k = 0; k < linebytes / unitsize; ++k) { in do_axi_md()
247 linebytes / unitsize, in do_axi_md()
250 nbytes -= max(linebytes, 1UL); in do_axi_md()
251 addr += linebytes; in do_axi_md()
H A Di2c.c515 int j, nbytes, linebytes; in do_i2c_md() local
578 linebytes = (nbytes > DISP_LINE_LEN) ? DISP_LINE_LEN : nbytes; in do_i2c_md()
581 ret = dm_i2c_read(dev, addr, linebuf, linebytes); in do_i2c_md()
583 ret = i2c_read(chip, addr, alen, linebuf, linebytes); in do_i2c_md()
590 for (j=0; j<linebytes; j++) { in do_i2c_md()
596 for (j=0; j<linebytes; j++) { in do_i2c_md()
605 nbytes -= linebytes; in do_i2c_md()
H A Dpci.c492 ulong i, nbytes, linebytes; in pci_cfg_display() local
506 linebytes = (nbytes > DISP_LINE_LEN) ? DISP_LINE_LEN : nbytes; in pci_cfg_display()
507 for (i = 0; i < linebytes; i += byte_size) { in pci_cfg_display()
519 nbytes -= linebytes; in pci_cfg_display()
/openbmc/linux/drivers/video/fbdev/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/gpu/drm/tiny/
H A 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 …]
/openbmc/linux/arch/powerpc/boot/dts/
H A Dmpc836x_rdk.dts430 linebytes = <0>;
/openbmc/linux/drivers/media/platform/nuvoton/
H A Dnpcm-video.c716 unsigned int linebytes) in npcm_video_set_linepitch() argument
721 while ((pitch < linebytes) && (pitch < MAX_LP)) in npcm_video_set_linepitch()