Lines Matching refs:saa_writeb
588 saa_writeb(SAA7134_INCR_DELAY, 0x08); in saa7134_set_decoder()
589 saa_writeb(SAA7134_ANALOG_IN_CTRL1, 0xc0 | mux); in saa7134_set_decoder()
590 saa_writeb(SAA7134_ANALOG_IN_CTRL2, 0x00); in saa7134_set_decoder()
592 saa_writeb(SAA7134_ANALOG_IN_CTRL3, 0x90); in saa7134_set_decoder()
593 saa_writeb(SAA7134_ANALOG_IN_CTRL4, 0x90); in saa7134_set_decoder()
594 saa_writeb(SAA7134_HSYNC_START, 0xeb); in saa7134_set_decoder()
595 saa_writeb(SAA7134_HSYNC_STOP, 0xe0); in saa7134_set_decoder()
596 saa_writeb(SAA7134_SOURCE_TIMING1, norm->src_timing); in saa7134_set_decoder()
598 saa_writeb(SAA7134_SYNC_CTRL, sync_control); in saa7134_set_decoder()
599 saa_writeb(SAA7134_LUMA_CTRL, luma_control); in saa7134_set_decoder()
600 saa_writeb(SAA7134_DEC_LUMA_BRIGHT, dev->ctl_bright); in saa7134_set_decoder()
602 saa_writeb(SAA7134_DEC_LUMA_CONTRAST, in saa7134_set_decoder()
605 saa_writeb(SAA7134_DEC_CHROMA_SATURATION, in saa7134_set_decoder()
608 saa_writeb(SAA7134_DEC_CHROMA_HUE, dev->ctl_hue); in saa7134_set_decoder()
609 saa_writeb(SAA7134_CHROMA_CTRL1, norm->chroma_ctrl1); in saa7134_set_decoder()
610 saa_writeb(SAA7134_CHROMA_GAIN, norm->chroma_gain); in saa7134_set_decoder()
612 saa_writeb(SAA7134_CHROMA_CTRL2, norm->chroma_ctrl2); in saa7134_set_decoder()
613 saa_writeb(SAA7134_MODE_DELAY_CTRL, 0x00); in saa7134_set_decoder()
615 saa_writeb(SAA7134_ANALOG_ADC, 0x01); in saa7134_set_decoder()
616 saa_writeb(SAA7134_VGATE_START, 0x11); in saa7134_set_decoder()
617 saa_writeb(SAA7134_VGATE_STOP, 0xfe); in saa7134_set_decoder()
618 saa_writeb(SAA7134_MISC_VGATE_MSB, norm->vgate_misc); in saa7134_set_decoder()
619 saa_writeb(SAA7134_RAW_DATA_GAIN, 0x40); in saa7134_set_decoder()
620 saa_writeb(SAA7134_RAW_DATA_OFFSET, 0x80); in saa7134_set_decoder()
664 saa_writeb(SAA7134_H_PRESCALE(task), vals[i].xpsc); in set_h_prescale()
665 saa_writeb(SAA7134_ACC_LENGTH(task), vals[i].xacl); in set_h_prescale()
666 saa_writeb(SAA7134_LEVEL_CTRL(task), in set_h_prescale()
676 saa_writeb(SAA7134_V_SCALE_RATIO1(task), yscale & 0xff); in set_v_scale()
677 saa_writeb(SAA7134_V_SCALE_RATIO2(task), yscale >> 8); in set_v_scale()
683 saa_writeb(SAA7134_V_FILTER(task), 0x00 | mirror); in set_v_scale()
684 saa_writeb(SAA7134_LUMA_CONTRAST(task), 0x40); in set_v_scale()
685 saa_writeb(SAA7134_CHROMA_SATURATION(task), 0x40); in set_v_scale()
690 saa_writeb(SAA7134_V_FILTER(task), 0x01 | mirror); in set_v_scale()
691 saa_writeb(SAA7134_LUMA_CONTRAST(task), val); in set_v_scale()
692 saa_writeb(SAA7134_CHROMA_SATURATION(task), val); in set_v_scale()
694 saa_writeb(SAA7134_LUMA_BRIGHT(task), 0x80); in set_v_scale()
710 saa_writeb(SAA7134_VIDEO_H_START1(task), h_start & 0xff); in set_size()
711 saa_writeb(SAA7134_VIDEO_H_START2(task), h_start >> 8); in set_size()
712 saa_writeb(SAA7134_VIDEO_H_STOP1(task), h_stop & 0xff); in set_size()
713 saa_writeb(SAA7134_VIDEO_H_STOP2(task), h_stop >> 8); in set_size()
714 saa_writeb(SAA7134_VIDEO_V_START1(task), v_start & 0xff); in set_size()
715 saa_writeb(SAA7134_VIDEO_V_START2(task), v_start >> 8); in set_size()
716 saa_writeb(SAA7134_VIDEO_V_STOP1(task), v_stop & 0xff); in set_size()
717 saa_writeb(SAA7134_VIDEO_V_STOP2(task), v_stop >> 8); in set_size()
726 saa_writeb(SAA7134_H_SCALE_INC1(task), xscale & 0xff); in set_size()
727 saa_writeb(SAA7134_H_SCALE_INC2(task), xscale >> 8); in set_size()
730 saa_writeb(SAA7134_VIDEO_PIXELS1(task), width & 0xff); in set_size()
731 saa_writeb(SAA7134_VIDEO_PIXELS2(task), width >> 8); in set_size()
732 saa_writeb(SAA7134_VIDEO_LINES1(task), height/div & 0xff); in set_size()
733 saa_writeb(SAA7134_VIDEO_LINES2(task), height/div >> 8); in set_size()
738 saa_writeb(SAA7134_V_PHASE_OFFSET0(task), y_odd); in set_size()
739 saa_writeb(SAA7134_V_PHASE_OFFSET1(task), y_even); in set_size()
740 saa_writeb(SAA7134_V_PHASE_OFFSET2(task), y_odd); in set_size()
741 saa_writeb(SAA7134_V_PHASE_OFFSET3(task), y_even); in set_size()
763 saa_writeb(reg + 0, winbits); in set_cliplist()
764 saa_writeb(reg + 2, cl[i].position & 0xff); in set_cliplist()
765 saa_writeb(reg + 3, cl[i].position >> 8); in set_cliplist()
771 saa_writeb(reg+ 0, 0); in set_cliplist()
772 saa_writeb(reg + 1, 0); in set_cliplist()
773 saa_writeb(reg + 2, 0); in set_cliplist()
774 saa_writeb(reg + 3, 0); in set_cliplist()
894 saa_writeb(SAA7134_OFMT_VIDEO_B, dev->ovfmt->pm | 0x20); in start_preview()
951 saa_writeb(SAA7134_OFMT_VIDEO_A, buf->fmt->pm); in buffer_activate()
1203 saa_writeb(SAA7134_DEC_LUMA_BRIGHT, dev->ctl_bright); in saa7134_s_ctrl_internal()
1207 saa_writeb(SAA7134_DEC_CHROMA_HUE, dev->ctl_hue); in saa7134_s_ctrl_internal()
1211 saa_writeb(SAA7134_DEC_LUMA_CONTRAST, in saa7134_s_ctrl_internal()
1216 saa_writeb(SAA7134_DEC_CHROMA_SATURATION, in saa7134_s_ctrl_internal()
1229 saa_writeb(SAA7134_DEC_LUMA_CONTRAST, in saa7134_s_ctrl_internal()
1231 saa_writeb(SAA7134_DEC_CHROMA_SATURATION, in saa7134_s_ctrl_internal()
2276 saa_writeb(reg->reg&0xffffff, reg->val); in vidioc_s_register()
2498 saa_writeb(SAA7134_VIDEO_PORT_CTRL0, video_out[vo][0]); in saa7134_videoport_init()
2502 saa_writeb(SAA7134_VIDEO_PORT_CTRL1, video_reg); in saa7134_videoport_init()
2503 saa_writeb(SAA7134_VIDEO_PORT_CTRL2, video_out[vo][2]); in saa7134_videoport_init()
2504 saa_writeb(SAA7134_VIDEO_PORT_CTRL4, video_out[vo][4]); in saa7134_videoport_init()
2510 saa_writeb(SAA7134_VIDEO_PORT_CTRL5, video_reg); in saa7134_videoport_init()
2516 saa_writeb(SAA7134_VIDEO_PORT_CTRL6, video_reg); in saa7134_videoport_init()
2517 saa_writeb(SAA7134_VIDEO_PORT_CTRL7, video_out[vo][7]); in saa7134_videoport_init()
2518 saa_writeb(SAA7134_VIDEO_PORT_CTRL8, video_out[vo][8]); in saa7134_videoport_init()
2521 saa_writeb(SAA7134_VIDEO_PORT_CTRL3, video_out[vo][3]); in saa7134_videoport_init()