Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/cmd/
H A Dfpgad.c70 ulong linebytes = (nbytes > DISP_LINE_LEN) ? in do_fpga_md() local
73 for (k = 0; k < linebytes / sizeof(u16); ++k) in do_fpga_md()
80 linebytes / sizeof(u16), in do_fpga_md()
83 nbytes -= linebytes; in do_fpga_md()
84 addr += linebytes; in do_fpga_md()
H A Dpci.c352 ulong i, nbytes, linebytes; in pci_cfg_display() local
366 linebytes = (nbytes > DISP_LINE_LEN) ? DISP_LINE_LEN : nbytes; in pci_cfg_display()
367 for (i = 0; i < linebytes; i += byte_size) { in pci_cfg_display()
375 nbytes -= linebytes; in pci_cfg_display()
H A Di2c.c518 int j, nbytes, linebytes; in do_i2c_md() local
581 linebytes = (nbytes > DISP_LINE_LEN) ? DISP_LINE_LEN : nbytes; in do_i2c_md()
584 ret = dm_i2c_read(dev, addr, linebuf, linebytes); in do_i2c_md()
586 ret = i2c_read(chip, addr, alen, linebuf, linebytes); in do_i2c_md()
593 for (j=0; j<linebytes; j++) { in do_i2c_md()
599 for (j=0; j<linebytes; j++) { in do_i2c_md()
608 nbytes -= linebytes; in do_i2c_md()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A Dbw2.c183 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() argument
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()
H A Dp9100.c241 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 Dcg3.c247 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 Dtcx.c326 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 Dcg14.c356 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 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()
H A Dleo.c556 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()
/OK3568_Linux_fs/kernel/arch/powerpc/boot/dts/
H A Dmpc836x_rdk.dts430 linebytes = <0>;