Home
last modified time | relevance | path

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

/Linux-v6.6/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.c450 saa_writel(SAA7134_IRQ1, irq); in saa7134_set_dmabits()
528 saa_writel(SAA7134_IRQ_REPORT,report); in saa7134_irq()
615 saa_writel(SAA7134_IRQ1,0); in saa7134_irq()
616 saa_writel(SAA7134_IRQ2,0); in saa7134_irq()
631 saa_writel(SAA7134_FIFO_SIZE, 0x08070503); in saa7134_hw_enable1()
632 saa_writel(SAA7134_THRESHOULD, 0x02020202); in saa7134_hw_enable1()
635 saa_writel(SAA7134_MAIN_CTRL, in saa7134_hw_enable1()
664 saa_writel(SAA7134_IRQ1, 0); in saa7134_hwinit1()
665 saa_writel(SAA7134_IRQ2, 0); in saa7134_hwinit1()
668 saa_writel(SAA7134_IRQ_REPORT, saa_readl(SAA7134_IRQ_REPORT)); in saa7134_hwinit1()
[all …]
Dsaa7134-video.c667 saa_writel(SAA7134_RS_BA1(0),base); in buffer_activate()
668 saa_writel(SAA7134_RS_BA2(0),base+bpl); in buffer_activate()
669 saa_writel(SAA7134_RS_PITCH(0),bpl*2); in buffer_activate()
672 saa_writel(SAA7134_RS_BA1(0),base); in buffer_activate()
673 saa_writel(SAA7134_RS_BA2(0),base); in buffer_activate()
674 saa_writel(SAA7134_RS_PITCH(0),bpl); in buffer_activate()
676 saa_writel(SAA7134_RS_CONTROL(0),control); in buffer_activate()
690 saa_writel(SAA7134_RS_BA1(4),base2); in buffer_activate()
691 saa_writel(SAA7134_RS_BA2(4),base2+bpl_uv); in buffer_activate()
692 saa_writel(SAA7134_RS_PITCH(4),bpl_uv*2); 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.c7245 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x4000); in saa7134_kworld_sbtvd_toggle_agc()
7246 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x4000); in saa7134_kworld_sbtvd_toggle_agc()
7250 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x14000); in saa7134_kworld_sbtvd_toggle_agc()
7251 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x14000); in saa7134_kworld_sbtvd_toggle_agc()
7253 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x54000); in saa7134_kworld_sbtvd_toggle_agc()
7254 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x54000); in saa7134_kworld_sbtvd_toggle_agc()
7412 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0); in saa7134_board_init1()
8070 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x4000); in saa7134_board_init2()
8071 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x4000); in saa7134_board_init2()
Dsaa7134.h680 #define saa_writel(reg,value) writel((value), dev->lmmio + (reg)); macro