Searched refs:clip_format (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/media/common/saa7146/
H A Dsaa7146_hlp.c7 static void calculate_output_format_register(struct saa7146_dev* saa, u32 palette, u32* clip_format) calculate_output_format_register() argument
10 *clip_format &= 0x0000ffff; calculate_output_format_register()
12 *clip_format |= (( ((palette&0xf00)>>8) << 30) | ((palette&0x00f) << 24) | (((palette&0x0f0)>>4) << 16)); calculate_output_format_register()
341 struct saa7146_video_dma *vdma2, u32* clip_format, u32* arbtr_ctrl, enum v4l2_field field) calculate_clipping_registers_rect()
461 *clip_format &= 0xfffffff7; calculate_clipping_registers_rect()
463 *clip_format |= 0x00000008; calculate_clipping_registers_rect()
465 *clip_format |= 0x00000000; calculate_clipping_registers_rect()
472 u32 clip_format = saa7146_read(dev, CLIP_FORMAT_CTRL); saa7146_disable_clipping() local
475 clip_format &= MASK_W1; saa7146_disable_clipping()
478 saa7146_write(dev, CLIP_FORMAT_CTRL,clip_format); saa7146_disable_clipping()
491 u32 clip_format; saa7146_set_clipping_rect() local
500 clip_format = saa7146_read(dev, CLIP_FORMAT_CTRL); saa7146_set_clipping_rect()
503 calculate_clipping_registers_rect(dev, fh, &vdma2, &clip_format, &arbtr_ctrl, field); saa7146_set_clipping_rect()
506 clip_format &= 0xffff0008; saa7146_set_clipping_rect()
507 clip_format |= (SAA7146_CLIPPING_RECT << 4); saa7146_set_clipping_rect()
518 saa7146_write(dev, CLIP_FORMAT_CTRL,clip_format); saa7146_set_clipping_rect()
619 u32 clip_format = saa7146_read(dev, CLIP_FORMAT_CTRL); saa7146_set_output_format() local
622 calculate_output_format_register(dev,palette,&clip_format); saa7146_set_output_format()
625 saa7146_write(dev, CLIP_FORMAT_CTRL, clip_format); saa7146_set_output_format()
340 calculate_clipping_registers_rect(struct saa7146_dev *dev, struct saa7146_fh *fh, struct saa7146_video_dma *vdma2, u32* clip_format, u32* arbtr_ctrl, enum v4l2_field field) calculate_clipping_registers_rect() argument

Completed in 65 milliseconds