Lines Matching refs:clip_format
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()
339 struct saa7146_video_dma *vdma2, u32* clip_format, u32* arbtr_ctrl, enum v4l2_field field) in calculate_clipping_registers_rect() argument
459 *clip_format &= 0xfffffff7; in calculate_clipping_registers_rect()
461 *clip_format |= 0x00000008; in calculate_clipping_registers_rect()
463 *clip_format |= 0x00000000; in calculate_clipping_registers_rect()
470 u32 clip_format = saa7146_read(dev, CLIP_FORMAT_CTRL); in saa7146_disable_clipping() local
473 clip_format &= MASK_W1; in saa7146_disable_clipping()
476 saa7146_write(dev, CLIP_FORMAT_CTRL,clip_format); in saa7146_disable_clipping()
489 u32 clip_format; in saa7146_set_clipping_rect() local
498 clip_format = saa7146_read(dev, CLIP_FORMAT_CTRL); in saa7146_set_clipping_rect()
501 calculate_clipping_registers_rect(dev, fh, &vdma2, &clip_format, &arbtr_ctrl, field); in saa7146_set_clipping_rect()
504 clip_format &= 0xffff0008; in saa7146_set_clipping_rect()
505 clip_format |= (SAA7146_CLIPPING_RECT << 4); in saa7146_set_clipping_rect()
516 saa7146_write(dev, CLIP_FORMAT_CTRL,clip_format); in saa7146_set_clipping_rect()
617 u32 clip_format = saa7146_read(dev, CLIP_FORMAT_CTRL); in saa7146_set_output_format() local
620 calculate_output_format_register(dev,palette,&clip_format); in saa7146_set_output_format()
623 saa7146_write(dev, CLIP_FORMAT_CTRL, clip_format); in saa7146_set_output_format()