Lines Matching refs:saa_writeb
416 saa_writeb(SAA7134_INCR_DELAY, 0x08); in saa7134_set_decoder()
417 saa_writeb(SAA7134_ANALOG_IN_CTRL1, 0xc0 | mux); in saa7134_set_decoder()
418 saa_writeb(SAA7134_ANALOG_IN_CTRL2, 0x00); in saa7134_set_decoder()
420 saa_writeb(SAA7134_ANALOG_IN_CTRL3, 0x90); in saa7134_set_decoder()
421 saa_writeb(SAA7134_ANALOG_IN_CTRL4, 0x90); in saa7134_set_decoder()
422 saa_writeb(SAA7134_HSYNC_START, 0xeb); in saa7134_set_decoder()
423 saa_writeb(SAA7134_HSYNC_STOP, 0xe0); in saa7134_set_decoder()
424 saa_writeb(SAA7134_SOURCE_TIMING1, norm->src_timing); in saa7134_set_decoder()
426 saa_writeb(SAA7134_SYNC_CTRL, sync_control); in saa7134_set_decoder()
427 saa_writeb(SAA7134_LUMA_CTRL, luma_control); in saa7134_set_decoder()
428 saa_writeb(SAA7134_DEC_LUMA_BRIGHT, dev->ctl_bright); in saa7134_set_decoder()
430 saa_writeb(SAA7134_DEC_LUMA_CONTRAST, in saa7134_set_decoder()
433 saa_writeb(SAA7134_DEC_CHROMA_SATURATION, in saa7134_set_decoder()
436 saa_writeb(SAA7134_DEC_CHROMA_HUE, dev->ctl_hue); in saa7134_set_decoder()
437 saa_writeb(SAA7134_CHROMA_CTRL1, chroma_ctrl1); in saa7134_set_decoder()
438 saa_writeb(SAA7134_CHROMA_GAIN, norm->chroma_gain); in saa7134_set_decoder()
440 saa_writeb(SAA7134_CHROMA_CTRL2, norm->chroma_ctrl2); in saa7134_set_decoder()
441 saa_writeb(SAA7134_MODE_DELAY_CTRL, 0x00); in saa7134_set_decoder()
443 saa_writeb(SAA7134_ANALOG_ADC, 0x01); in saa7134_set_decoder()
444 saa_writeb(SAA7134_VGATE_START, 0x11); in saa7134_set_decoder()
445 saa_writeb(SAA7134_VGATE_STOP, 0xfe); in saa7134_set_decoder()
446 saa_writeb(SAA7134_MISC_VGATE_MSB, norm->vgate_misc); in saa7134_set_decoder()
447 saa_writeb(SAA7134_RAW_DATA_GAIN, 0x40); in saa7134_set_decoder()
448 saa_writeb(SAA7134_RAW_DATA_OFFSET, 0x80); in saa7134_set_decoder()
491 saa_writeb(SAA7134_H_PRESCALE(task), vals[i].xpsc); in set_h_prescale()
492 saa_writeb(SAA7134_ACC_LENGTH(task), vals[i].xacl); in set_h_prescale()
493 saa_writeb(SAA7134_LEVEL_CTRL(task), in set_h_prescale()
503 saa_writeb(SAA7134_V_SCALE_RATIO1(task), yscale & 0xff); in set_v_scale()
504 saa_writeb(SAA7134_V_SCALE_RATIO2(task), yscale >> 8); in set_v_scale()
510 saa_writeb(SAA7134_V_FILTER(task), 0x00 | mirror); in set_v_scale()
511 saa_writeb(SAA7134_LUMA_CONTRAST(task), 0x40); in set_v_scale()
512 saa_writeb(SAA7134_CHROMA_SATURATION(task), 0x40); in set_v_scale()
517 saa_writeb(SAA7134_V_FILTER(task), 0x01 | mirror); in set_v_scale()
518 saa_writeb(SAA7134_LUMA_CONTRAST(task), val); in set_v_scale()
519 saa_writeb(SAA7134_CHROMA_SATURATION(task), val); in set_v_scale()
521 saa_writeb(SAA7134_LUMA_BRIGHT(task), 0x80); in set_v_scale()
537 saa_writeb(SAA7134_VIDEO_H_START1(task), h_start & 0xff); in set_size()
538 saa_writeb(SAA7134_VIDEO_H_START2(task), h_start >> 8); in set_size()
539 saa_writeb(SAA7134_VIDEO_H_STOP1(task), h_stop & 0xff); in set_size()
540 saa_writeb(SAA7134_VIDEO_H_STOP2(task), h_stop >> 8); in set_size()
541 saa_writeb(SAA7134_VIDEO_V_START1(task), v_start & 0xff); in set_size()
542 saa_writeb(SAA7134_VIDEO_V_START2(task), v_start >> 8); in set_size()
543 saa_writeb(SAA7134_VIDEO_V_STOP1(task), v_stop & 0xff); in set_size()
544 saa_writeb(SAA7134_VIDEO_V_STOP2(task), v_stop >> 8); in set_size()
554 saa_writeb(SAA7134_H_SCALE_INC1(task), xscale & 0xff); in set_size()
555 saa_writeb(SAA7134_H_SCALE_INC2(task), xscale >> 8); in set_size()
558 saa_writeb(SAA7134_VIDEO_PIXELS1(task), width & 0xff); in set_size()
559 saa_writeb(SAA7134_VIDEO_PIXELS2(task), width >> 8); in set_size()
560 saa_writeb(SAA7134_VIDEO_LINES1(task), height/div & 0xff); in set_size()
561 saa_writeb(SAA7134_VIDEO_LINES2(task), height/div >> 8); in set_size()
566 saa_writeb(SAA7134_V_PHASE_OFFSET0(task), y_odd); in set_size()
567 saa_writeb(SAA7134_V_PHASE_OFFSET1(task), y_even); in set_size()
568 saa_writeb(SAA7134_V_PHASE_OFFSET2(task), y_odd); in set_size()
569 saa_writeb(SAA7134_V_PHASE_OFFSET3(task), y_even); in set_size()
650 saa_writeb(SAA7134_OFMT_VIDEO_A, dev->fmt->pm); in buffer_activate()
862 saa_writeb(SAA7134_DEC_LUMA_BRIGHT, ctrl->val); in saa7134_s_ctrl()
866 saa_writeb(SAA7134_DEC_CHROMA_HUE, ctrl->val); in saa7134_s_ctrl()
870 saa_writeb(SAA7134_DEC_LUMA_CONTRAST, in saa7134_s_ctrl()
875 saa_writeb(SAA7134_DEC_CHROMA_SATURATION, in saa7134_s_ctrl()
888 saa_writeb(SAA7134_DEC_LUMA_CONTRAST, in saa7134_s_ctrl()
890 saa_writeb(SAA7134_DEC_CHROMA_SATURATION, in saa7134_s_ctrl()
1473 saa_writeb(reg->reg & 0xffffff, reg->val); in vidioc_s_register()
1763 saa_writeb(SAA7134_VIDEO_PORT_CTRL0, video_out[vo][0]); in saa7134_videoport_init()
1767 saa_writeb(SAA7134_VIDEO_PORT_CTRL1, video_reg); in saa7134_videoport_init()
1768 saa_writeb(SAA7134_VIDEO_PORT_CTRL2, video_out[vo][2]); in saa7134_videoport_init()
1769 saa_writeb(SAA7134_VIDEO_PORT_CTRL4, video_out[vo][4]); in saa7134_videoport_init()
1775 saa_writeb(SAA7134_VIDEO_PORT_CTRL5, video_reg); in saa7134_videoport_init()
1781 saa_writeb(SAA7134_VIDEO_PORT_CTRL6, video_reg); in saa7134_videoport_init()
1782 saa_writeb(SAA7134_VIDEO_PORT_CTRL7, video_out[vo][7]); in saa7134_videoport_init()
1783 saa_writeb(SAA7134_VIDEO_PORT_CTRL8, video_out[vo][8]); in saa7134_videoport_init()
1786 saa_writeb(SAA7134_VIDEO_PORT_CTRL3, video_out[vo][3]); in saa7134_videoport_init()