Lines Matching refs:rgb
293 const struct ipu_rgb *rgb) in ipu_cpmem_set_format_rgb() argument
297 ro = rgb->bits_per_pixel - rgb->red.length - rgb->red.offset; in ipu_cpmem_set_format_rgb()
298 go = rgb->bits_per_pixel - rgb->green.length - rgb->green.offset; in ipu_cpmem_set_format_rgb()
299 bo = rgb->bits_per_pixel - rgb->blue.length - rgb->blue.offset; in ipu_cpmem_set_format_rgb()
300 to = rgb->bits_per_pixel - rgb->transp.length - rgb->transp.offset; in ipu_cpmem_set_format_rgb()
302 ipu_ch_param_write_field(ch, IPU_FIELD_WID0, rgb->red.length - 1); in ipu_cpmem_set_format_rgb()
304 ipu_ch_param_write_field(ch, IPU_FIELD_WID1, rgb->green.length - 1); in ipu_cpmem_set_format_rgb()
306 ipu_ch_param_write_field(ch, IPU_FIELD_WID2, rgb->blue.length - 1); in ipu_cpmem_set_format_rgb()
309 if (rgb->transp.length) { in ipu_cpmem_set_format_rgb()
311 rgb->transp.length - 1); in ipu_cpmem_set_format_rgb()
316 rgb->bits_per_pixel); in ipu_cpmem_set_format_rgb()
319 switch (rgb->bits_per_pixel) { in ipu_cpmem_set_format_rgb()