/drivers/staging/media/go7007/ |
D | saa7134-go7007.c | 100 saa_writeb(SAA7134_GPIO_GPMODE0, 0xff); in gpio_write() 103 saa_writeb(SAA7134_GPIO_GPSTATUS0, addr); in gpio_write() 104 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_ADDR); in gpio_write() 105 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_IDLE); in gpio_write() 108 saa_writeb(SAA7134_GPIO_GPSTATUS0, data & 0xff); in gpio_write() 109 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_WRITE); in gpio_write() 110 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_IDLE); in gpio_write() 113 saa_writeb(SAA7134_GPIO_GPSTATUS0, data >> 8); in gpio_write() 114 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_WRITE); in gpio_write() 115 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_IDLE); in gpio_write() [all …]
|
/drivers/media/pci/saa7134/ |
D | saa7134-ts.c | 182 saa_writeb(SAA7134_TS_SERIAL1, 0x00); in saa7134_ts_init_hw() 184 saa_writeb(SAA7134_TS_PARALLEL, 0x6c); in saa7134_ts_init_hw() 185 saa_writeb(SAA7134_TS_PARALLEL_SERIAL, (TS_PACKET_SIZE-1)); in saa7134_ts_init_hw() 186 saa_writeb(SAA7134_TS_DMA0, ((dev->ts.nr_packets-1)&0xff)); in saa7134_ts_init_hw() 187 saa_writeb(SAA7134_TS_DMA1, (((dev->ts.nr_packets-1)>>8)&0xff)); in saa7134_ts_init_hw() 189 saa_writeb(SAA7134_TS_DMA2, in saa7134_ts_init_hw() 234 saa_writeb(SAA7134_TS_PARALLEL, 0x6c); in saa7134_ts_stop() 238 saa_writeb(SAA7134_TS_SERIAL0, 0x40); in saa7134_ts_stop() 253 saa_writeb(SAA7134_TS_DMA0, (dev->ts.nr_packets - 1) & 0xff); in saa7134_ts_start() 254 saa_writeb(SAA7134_TS_DMA1, in saa7134_ts_start() [all …]
|
D | saa7134-tvaudio.c | 221 saa_writeb(SAA7134_AUDIO_MUTE_CTRL, mute ? in mute_input_7134() 275 saa_writeb(SAA7134_AUDIO_CLOCKS_PER_FIELD0, (acpf & 0x0000ff) >> 0); in tvaudio_setmode() 276 saa_writeb(SAA7134_AUDIO_CLOCKS_PER_FIELD1, (acpf & 0x00ff00) >> 8); in tvaudio_setmode() 277 saa_writeb(SAA7134_AUDIO_CLOCKS_PER_FIELD2, (acpf & 0x030000) >> 16); in tvaudio_setmode() 283 saa_writeb(SAA7134_DEMODULATOR, 0x00); in tvaudio_setmode() 284 saa_writeb(SAA7134_DCXO_IDENT_CTRL, 0x00); in tvaudio_setmode() 285 saa_writeb(SAA7134_FM_DEEMPHASIS, 0x22); in tvaudio_setmode() 286 saa_writeb(SAA7134_FM_DEMATRIX, 0x80); in tvaudio_setmode() 287 saa_writeb(SAA7134_STEREO_DAC_OUTPUT_SELECT, 0xa0); in tvaudio_setmode() 290 saa_writeb(SAA7134_DEMODULATOR, 0x00); in tvaudio_setmode() [all …]
|
D | saa7134-vbi.c | 56 saa_writeb(SAA7134_VBI_H_START1(task), norm->h_start & 0xff); in task_init() 57 saa_writeb(SAA7134_VBI_H_START2(task), norm->h_start >> 8); in task_init() 58 saa_writeb(SAA7134_VBI_H_STOP1(task), norm->h_stop & 0xff); in task_init() 59 saa_writeb(SAA7134_VBI_H_STOP2(task), norm->h_stop >> 8); in task_init() 60 saa_writeb(SAA7134_VBI_V_START1(task), norm->vbi_v_start_0 & 0xff); in task_init() 61 saa_writeb(SAA7134_VBI_V_START2(task), norm->vbi_v_start_0 >> 8); in task_init() 62 saa_writeb(SAA7134_VBI_V_STOP1(task), norm->vbi_v_stop_0 & 0xff); in task_init() 63 saa_writeb(SAA7134_VBI_V_STOP2(task), norm->vbi_v_stop_0 >> 8); in task_init() 65 saa_writeb(SAA7134_VBI_H_SCALE_INC1(task), VBI_SCALE & 0xff); in task_init() 66 saa_writeb(SAA7134_VBI_H_SCALE_INC2(task), VBI_SCALE >> 8); in task_init() [all …]
|
D | saa7134-video.c | 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() [all …]
|
D | saa7134-core.c | 358 saa_writeb(SAA7134_REGION_ENABLE, 0x00); in saa7134_buffer_timeout() 359 saa_writeb(SAA7134_REGION_ENABLE, 0x80); in saa7134_buffer_timeout() 360 saa_writeb(SAA7134_REGION_ENABLE, 0x00); in saa7134_buffer_timeout() 436 saa_writeb(SAA7134_TASK_CONDITIONS(TASK_A), 0x0d); in saa7134_set_dmabits() 437 saa_writeb(SAA7134_TASK_CONDITIONS(TASK_B), 0x0d); in saa7134_set_dmabits() 438 saa_writeb(SAA7134_FIELD_HANDLING(TASK_A), 0x02); in saa7134_set_dmabits() 439 saa_writeb(SAA7134_FIELD_HANDLING(TASK_B), 0x02); in saa7134_set_dmabits() 445 saa_writeb(SAA7134_TASK_CONDITIONS(TASK_A), 0x0d); in saa7134_set_dmabits() 446 saa_writeb(SAA7134_TASK_CONDITIONS(TASK_B), 0x0e); in saa7134_set_dmabits() 449 saa_writeb(SAA7134_TASK_CONDITIONS(TASK_A), 0x0e); in saa7134_set_dmabits() [all …]
|
D | saa7134-empress.c | 57 saa_writeb(SAA7134_SPECIAL_MODE, 0x00); in ts_reset_encoder() 59 saa_writeb(SAA7134_SPECIAL_MODE, 0x01); in ts_reset_encoder() 99 saa_writeb(SAA7134_AUDIO_MUTE_CTRL, in ts_open() 122 saa_writeb(SAA7134_AUDIO_MUTE_CTRL, in ts_release()
|
D | saa7134-alsa.c | 480 saa_writeb(SAA7134_NUM_SAMPLES0, ((dev->dmasound.blksize - 1) & 0x0000ff)); in snd_card_saa7134_capture_prepare() 481 saa_writeb(SAA7134_NUM_SAMPLES1, ((dev->dmasound.blksize - 1) & 0x00ff00) >> 8); in snd_card_saa7134_capture_prepare() 482 saa_writeb(SAA7134_NUM_SAMPLES2, ((dev->dmasound.blksize - 1) & 0xff0000) >> 16); in snd_card_saa7134_capture_prepare() 483 saa_writeb(SAA7134_AUDIO_FORMAT_CTRL, fmt); in snd_card_saa7134_capture_prepare()
|
D | saa7134-cards.c | 7182 saa_writeb(SAA7134_SPECIAL_MODE, 0x00); in saa7134_xc5000_callback() 7184 saa_writeb(SAA7134_SPECIAL_MODE, 0x01); in saa7134_xc5000_callback() 7218 saa_writeb(SAA7134_VGATE_START, sync_control); in saa7134_tda8290_827x_callback() 7219 saa_writeb(SAA7134_VGATE_STOP, sync_control + 1); in saa7134_tda8290_827x_callback() 7481 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80); in saa7134_board_init1() 7482 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40); in saa7134_board_init1() 7498 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80); in saa7134_board_init1() 7499 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80); in saa7134_board_init1() 7508 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08); in saa7134_board_init1() 7509 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06); in saa7134_board_init1() [all …]
|
D | saa7134.h | 670 #define saa_writeb(reg,value) writeb((value), dev->bmmio + (reg)); macro
|