/linux-6.1.9/drivers/media/pci/saa7134/ |
D | saa7134-go7007.c | 83 saa_writeb(SAA7134_GPIO_GPMODE0, 0xff); in gpio_write() 86 saa_writeb(SAA7134_GPIO_GPSTATUS0, addr); in gpio_write() 87 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_ADDR); in gpio_write() 88 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_IDLE); in gpio_write() 91 saa_writeb(SAA7134_GPIO_GPSTATUS0, data & 0xff); in gpio_write() 92 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_WRITE); in gpio_write() 93 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_IDLE); in gpio_write() 96 saa_writeb(SAA7134_GPIO_GPSTATUS0, data >> 8); in gpio_write() 97 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_WRITE); in gpio_write() 98 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_IDLE); in gpio_write() [all …]
|
D | saa7134-ts.c | 189 saa_writeb(SAA7134_TS_SERIAL1, 0x00); in saa7134_ts_init_hw() 191 saa_writeb(SAA7134_TS_PARALLEL, 0x6c); in saa7134_ts_init_hw() 192 saa_writeb(SAA7134_TS_PARALLEL_SERIAL, (TS_PACKET_SIZE-1)); in saa7134_ts_init_hw() 193 saa_writeb(SAA7134_TS_DMA0, ((dev->ts.nr_packets-1)&0xff)); in saa7134_ts_init_hw() 194 saa_writeb(SAA7134_TS_DMA1, (((dev->ts.nr_packets-1)>>8)&0xff)); in saa7134_ts_init_hw() 196 saa_writeb(SAA7134_TS_DMA2, in saa7134_ts_init_hw() 240 saa_writeb(SAA7134_TS_PARALLEL, 0x6c); in saa7134_ts_stop() 244 saa_writeb(SAA7134_TS_SERIAL0, 0x40); in saa7134_ts_stop() 260 saa_writeb(SAA7134_TS_DMA0, (dev->ts.nr_packets - 1) & 0xff); in saa7134_ts_start() 261 saa_writeb(SAA7134_TS_DMA1, in saa7134_ts_start() [all …]
|
D | saa7134-vbi.c | 45 saa_writeb(SAA7134_VBI_H_START1(task), norm->h_start & 0xff); in task_init() 46 saa_writeb(SAA7134_VBI_H_START2(task), norm->h_start >> 8); in task_init() 47 saa_writeb(SAA7134_VBI_H_STOP1(task), norm->h_stop & 0xff); in task_init() 48 saa_writeb(SAA7134_VBI_H_STOP2(task), norm->h_stop >> 8); in task_init() 49 saa_writeb(SAA7134_VBI_V_START1(task), norm->vbi_v_start_0 & 0xff); in task_init() 50 saa_writeb(SAA7134_VBI_V_START2(task), norm->vbi_v_start_0 >> 8); in task_init() 51 saa_writeb(SAA7134_VBI_V_STOP1(task), norm->vbi_v_stop_0 & 0xff); in task_init() 52 saa_writeb(SAA7134_VBI_V_STOP2(task), norm->vbi_v_stop_0 >> 8); in task_init() 54 saa_writeb(SAA7134_VBI_H_SCALE_INC1(task), VBI_SCALE & 0xff); in task_init() 55 saa_writeb(SAA7134_VBI_H_SCALE_INC2(task), VBI_SCALE >> 8); in task_init() [all …]
|
D | saa7134-tvaudio.c | 207 saa_writeb(SAA7134_AUDIO_MUTE_CTRL, mute ? in mute_input_7134() 261 saa_writeb(SAA7134_AUDIO_CLOCKS_PER_FIELD0, (acpf & 0x0000ff) >> 0); in tvaudio_setmode() 262 saa_writeb(SAA7134_AUDIO_CLOCKS_PER_FIELD1, (acpf & 0x00ff00) >> 8); in tvaudio_setmode() 263 saa_writeb(SAA7134_AUDIO_CLOCKS_PER_FIELD2, (acpf & 0x030000) >> 16); in tvaudio_setmode() 269 saa_writeb(SAA7134_DEMODULATOR, 0x00); in tvaudio_setmode() 270 saa_writeb(SAA7134_DCXO_IDENT_CTRL, 0x00); in tvaudio_setmode() 271 saa_writeb(SAA7134_FM_DEEMPHASIS, 0x22); in tvaudio_setmode() 272 saa_writeb(SAA7134_FM_DEMATRIX, 0x80); in tvaudio_setmode() 273 saa_writeb(SAA7134_STEREO_DAC_OUTPUT_SELECT, 0xa0); in tvaudio_setmode() 276 saa_writeb(SAA7134_DEMODULATOR, 0x00); in tvaudio_setmode() [all …]
|
D | saa7134-video.c | 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() [all …]
|
D | saa7134-core.c | 342 saa_writeb(SAA7134_REGION_ENABLE, 0x00); in saa7134_buffer_timeout() 343 saa_writeb(SAA7134_REGION_ENABLE, 0x80); in saa7134_buffer_timeout() 344 saa_writeb(SAA7134_REGION_ENABLE, 0x00); in saa7134_buffer_timeout() 438 saa_writeb(SAA7134_TASK_CONDITIONS(TASK_A), 0x0d); in saa7134_set_dmabits() 439 saa_writeb(SAA7134_TASK_CONDITIONS(TASK_B), 0x0d); in saa7134_set_dmabits() 440 saa_writeb(SAA7134_FIELD_HANDLING(TASK_A), 0x02); in saa7134_set_dmabits() 441 saa_writeb(SAA7134_FIELD_HANDLING(TASK_B), 0x02); in saa7134_set_dmabits() 447 saa_writeb(SAA7134_TASK_CONDITIONS(TASK_A), 0x0d); in saa7134_set_dmabits() 448 saa_writeb(SAA7134_TASK_CONDITIONS(TASK_B), 0x0e); in saa7134_set_dmabits() 451 saa_writeb(SAA7134_TASK_CONDITIONS(TASK_A), 0x0e); in saa7134_set_dmabits() [all …]
|
D | saa7134-empress.c | 53 saa_writeb(SAA7134_AUDIO_MUTE_CTRL, in start_streaming() 65 saa_writeb(SAA7134_SPECIAL_MODE, 0x00); in stop_streaming() 67 saa_writeb(SAA7134_SPECIAL_MODE, 0x01); in stop_streaming() 70 saa_writeb(SAA7134_AUDIO_MUTE_CTRL, in stop_streaming()
|
D | saa7134-alsa.c | 535 saa_writeb(SAA7134_NUM_SAMPLES0, ((dev->dmasound.blksize - 1) & 0x0000ff)); in snd_card_saa7134_capture_prepare() 536 saa_writeb(SAA7134_NUM_SAMPLES1, ((dev->dmasound.blksize - 1) & 0x00ff00) >> 8); in snd_card_saa7134_capture_prepare() 537 saa_writeb(SAA7134_NUM_SAMPLES2, ((dev->dmasound.blksize - 1) & 0xff0000) >> 16); in snd_card_saa7134_capture_prepare() 538 saa_writeb(SAA7134_AUDIO_FORMAT_CTRL, fmt); in snd_card_saa7134_capture_prepare()
|
D | saa7134-cards.c | 7176 saa_writeb(SAA7134_SPECIAL_MODE, 0x00); in saa7134_xc5000_callback() 7178 saa_writeb(SAA7134_SPECIAL_MODE, 0x01); in saa7134_xc5000_callback() 7212 saa_writeb(SAA7134_VGATE_START, sync_control); in saa7134_tda8290_827x_callback() 7213 saa_writeb(SAA7134_VGATE_STOP, sync_control + 1); in saa7134_tda8290_827x_callback() 7497 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80); in saa7134_board_init1() 7498 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40); in saa7134_board_init1() 7514 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80); in saa7134_board_init1() 7515 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80); in saa7134_board_init1() 7524 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08); in saa7134_board_init1() 7525 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06); in saa7134_board_init1() [all …]
|
D | saa7134.h | 700 #define saa_writeb(reg,value) writeb((value), dev->bmmio + (reg)); macro
|