Searched refs:clip_format (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/media/common/saa7146/ |
D | saa7146_hlp.c | 8 static void calculate_output_format_register(struct saa7146_dev* saa, u32 palette, u32* clip_format) in calculate_output_format_register() argument 11 *clip_format &= 0x0000ffff; in calculate_output_format_register() 13 …*clip_format |= (( ((palette&0xf00)>>8) << 30) | ((palette&0x00f) << 24) | (((palette&0x0f0)>>4) … in calculate_output_format_register() 346 u32 clip_format = saa7146_read(dev, CLIP_FORMAT_CTRL); in saa7146_set_output_format() local 349 calculate_output_format_register(dev,palette,&clip_format); in saa7146_set_output_format() 352 saa7146_write(dev, CLIP_FORMAT_CTRL, clip_format); in saa7146_set_output_format() 708 u32 clip_format = saa7146_read(dev, CLIP_FORMAT_CTRL); in saa7146_disable_clipping() local 711 clip_format &= MASK_W1; in saa7146_disable_clipping() 714 saa7146_write(dev, CLIP_FORMAT_CTRL, clip_format); in saa7146_disable_clipping()
|