Home
last modified time | relevance | path

Searched refs:saa_writel (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/drivers/media/pci/saa7134/
Dsaa7134-vbi.c89 saa_writel(SAA7134_RS_BA1(2), base); in buffer_activate()
90 saa_writel(SAA7134_RS_BA2(2), base + dev->vbi_hlen * dev->vbi_vlen); in buffer_activate()
91 saa_writel(SAA7134_RS_PITCH(2), dev->vbi_hlen); in buffer_activate()
92 saa_writel(SAA7134_RS_CONTROL(2), control); in buffer_activate()
93 saa_writel(SAA7134_RS_BA1(3), base); in buffer_activate()
94 saa_writel(SAA7134_RS_BA2(3), base + dev->vbi_hlen * dev->vbi_vlen); in buffer_activate()
95 saa_writel(SAA7134_RS_PITCH(3), dev->vbi_hlen); in buffer_activate()
96 saa_writel(SAA7134_RS_CONTROL(3), control); in buffer_activate()
Dsaa7134-go7007.c234 saa_writel(SAA7134_RS_BA2(5), saa->bottom_dma); in saa7134_go7007_irq_ts_done()
239 saa_writel(SAA7134_RS_BA1(5), saa->top_dma); in saa7134_go7007_irq_ts_done()
261 saa_writel(SAA7134_VIDEO_PORT_CTRL0 >> 2, 0xA300B000); in saa7134_go7007_stream_start()
262 saa_writel(SAA7134_VIDEO_PORT_CTRL4 >> 2, 0x40000200); in saa7134_go7007_stream_start()
286 saa_writel(SAA7134_RS_BA1(5), saa->top_dma); in saa7134_go7007_stream_start()
287 saa_writel(SAA7134_RS_BA2(5), saa->bottom_dma); in saa7134_go7007_stream_start()
288 saa_writel(SAA7134_RS_PITCH(5), 128); in saa7134_go7007_stream_start()
289 saa_writel(SAA7134_RS_CONTROL(5), SAA7134_RS_CONTROL_BURST_MAX); in saa7134_go7007_stream_start()
Dsaa7134-ts.c46 saa_writel(SAA7134_RS_BA1(5),saa7134_buffer_base(buf)); in buffer_activate()
47 saa_writel(SAA7134_RS_BA2(5),saa7134_buffer_base(next)); in buffer_activate()
51 saa_writel(SAA7134_RS_BA1(5),saa7134_buffer_base(next)); in buffer_activate()
52 saa_writel(SAA7134_RS_BA2(5),saa7134_buffer_base(buf)); in buffer_activate()
266 saa_writel(SAA7134_RS_PITCH(5), TS_PACKET_SIZE); in saa7134_ts_start()
267 saa_writel(SAA7134_RS_CONTROL(5), SAA7134_RS_CONTROL_BURST_16 | in saa7134_ts_start()
Dsaa7134-core.c461 saa_writel(SAA7134_IRQ1, irq); in saa7134_set_dmabits()
539 saa_writel(SAA7134_IRQ_REPORT,report); in saa7134_irq()
626 saa_writel(SAA7134_IRQ1,0); in saa7134_irq()
627 saa_writel(SAA7134_IRQ2,0); in saa7134_irq()
642 saa_writel(SAA7134_FIFO_SIZE, 0x08070503); in saa7134_hw_enable1()
643 saa_writel(SAA7134_THRESHOULD, 0x02020202); in saa7134_hw_enable1()
646 saa_writel(SAA7134_MAIN_CTRL, in saa7134_hw_enable1()
675 saa_writel(SAA7134_IRQ1, 0); in saa7134_hwinit1()
676 saa_writel(SAA7134_IRQ2, 0); in saa7134_hwinit1()
679 saa_writel(SAA7134_IRQ_REPORT, saa_readl(SAA7134_IRQ_REPORT)); in saa7134_hwinit1()
[all …]
Dsaa7134-video.c736 saa_writel(SAA7134_RS_BA1(1),base); in start_preview()
737 saa_writel(SAA7134_RS_BA2(1),base+bpl); in start_preview()
738 saa_writel(SAA7134_RS_PITCH(1),bpl*2); in start_preview()
739 saa_writel(SAA7134_RS_CONTROL(1),control); in start_preview()
741 saa_writel(SAA7134_RS_BA1(1),base); in start_preview()
742 saa_writel(SAA7134_RS_BA2(1),base); in start_preview()
743 saa_writel(SAA7134_RS_PITCH(1),bpl); in start_preview()
744 saa_writel(SAA7134_RS_CONTROL(1),control); in start_preview()
854 saa_writel(SAA7134_RS_BA1(0),base); in buffer_activate()
855 saa_writel(SAA7134_RS_BA2(0),base+bpl); in buffer_activate()
[all …]
Dsaa7134-alsa.c161 saa_writel(reg,next_blk * dev->dmasound.blksize); in saa7134_irq_alsa_done()
206 saa_writel(SAA7134_IRQ_REPORT, in saa7134_alsa_irq()
460 saa_writel(SAA7133_ANALOG_IO_SELECT, anabar); in snd_saa7134_capsrc_set()
464 saa_writel(SAA7133_ANALOG_IO_SELECT, 0); in snd_saa7134_capsrc_set()
549 saa_writel(SAA7133_NUM_SAMPLES, dev->dmasound.blksize -1); in snd_card_saa7134_capture_prepare()
550 saa_writel(SAA7133_AUDIO_CHANNEL, 0x543210 | (fmt << 24)); in snd_card_saa7134_capture_prepare()
564 saa_writel(SAA7134_RS_BA1(6),0); in snd_card_saa7134_capture_prepare()
565 saa_writel(SAA7134_RS_BA2(6),dev->dmasound.blksize); in snd_card_saa7134_capture_prepare()
566 saa_writel(SAA7134_RS_PITCH(6),0); in snd_card_saa7134_capture_prepare()
567 saa_writel(SAA7134_RS_CONTROL(6),control); in snd_card_saa7134_capture_prepare()
Dsaa7134-tvaudio.c163 saa_writel(SAA7134_CARRIER1_FREQ0 >> 2, tvaudio_carr2reg(primary)); in tvaudio_setcarrier()
164 saa_writel(SAA7134_CARRIER2_FREQ0 >> 2, tvaudio_carr2reg(secondary)); in tvaudio_setcarrier()
691 saa_writel(reg,value); in saa_dsp_writel()
740 saa_writel(0x594 >> 2, reg); in mute_input_7133()
994 saa_writel(0x598 >> 2, clock); in saa7134_tvaudio_init()
Dsaa7134-i2c.c200 saa_writel(SAA7134_I2C_ATTR_STATUS >> 2, dword); in i2c_send_byte()
Dsaa7134-cards.c7246 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x4000); in saa7134_kworld_sbtvd_toggle_agc()
7247 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x4000); in saa7134_kworld_sbtvd_toggle_agc()
7251 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x14000); in saa7134_kworld_sbtvd_toggle_agc()
7252 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x14000); in saa7134_kworld_sbtvd_toggle_agc()
7254 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x54000); in saa7134_kworld_sbtvd_toggle_agc()
7255 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x54000); in saa7134_kworld_sbtvd_toggle_agc()
7413 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0); in saa7134_board_init1()
8071 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x4000); in saa7134_board_init2()
8072 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x4000); in saa7134_board_init2()
Dsaa7134.h692 #define saa_writel(reg,value) writel((value), dev->lmmio + (reg)); macro