Home
last modified time | relevance | path

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

/drivers/media/pci/saa7134/
Dsaa7134-vbi.c102 saa_writel(SAA7134_RS_BA1(2), base); in buffer_activate()
103 saa_writel(SAA7134_RS_BA2(2), base + dev->vbi_hlen * dev->vbi_vlen); in buffer_activate()
104 saa_writel(SAA7134_RS_PITCH(2), dev->vbi_hlen); in buffer_activate()
105 saa_writel(SAA7134_RS_CONTROL(2), control); in buffer_activate()
106 saa_writel(SAA7134_RS_BA1(3), base); in buffer_activate()
107 saa_writel(SAA7134_RS_BA2(3), base + dev->vbi_hlen * dev->vbi_vlen); in buffer_activate()
108 saa_writel(SAA7134_RS_PITCH(3), dev->vbi_hlen); in buffer_activate()
109 saa_writel(SAA7134_RS_CONTROL(3), control); in buffer_activate()
Dsaa7134-core.c476 saa_writel(SAA7134_IRQ1, irq); in saa7134_set_dmabits()
554 saa_writel(SAA7134_IRQ_REPORT,report); in saa7134_irq()
641 saa_writel(SAA7134_IRQ1,0); in saa7134_irq()
642 saa_writel(SAA7134_IRQ2,0); in saa7134_irq()
657 saa_writel(SAA7134_FIFO_SIZE, 0x08070503); in saa7134_hw_enable1()
658 saa_writel(SAA7134_THRESHOULD, 0x02020202); in saa7134_hw_enable1()
661 saa_writel(SAA7134_MAIN_CTRL, in saa7134_hw_enable1()
690 saa_writel(SAA7134_IRQ1, 0); in saa7134_hwinit1()
691 saa_writel(SAA7134_IRQ2, 0); in saa7134_hwinit1()
694 saa_writel(SAA7134_IRQ_REPORT, saa_readl(SAA7134_IRQ_REPORT)); in saa7134_hwinit1()
[all …]
Dsaa7134-go7007.c247 saa_writel(SAA7134_RS_BA2(5), saa->bottom_dma); in saa7134_go7007_irq_ts_done()
252 saa_writel(SAA7134_RS_BA1(5), saa->top_dma); in saa7134_go7007_irq_ts_done()
274 saa_writel(SAA7134_VIDEO_PORT_CTRL0 >> 2, 0xA300B000); in saa7134_go7007_stream_start()
275 saa_writel(SAA7134_VIDEO_PORT_CTRL4 >> 2, 0x40000200); in saa7134_go7007_stream_start()
299 saa_writel(SAA7134_RS_BA1(5), saa->top_dma); in saa7134_go7007_stream_start()
300 saa_writel(SAA7134_RS_BA2(5), saa->bottom_dma); in saa7134_go7007_stream_start()
301 saa_writel(SAA7134_RS_PITCH(5), 128); in saa7134_go7007_stream_start()
302 saa_writel(SAA7134_RS_CONTROL(5), SAA7134_RS_CONTROL_BURST_MAX); in saa7134_go7007_stream_start()
Dsaa7134-ts.c59 saa_writel(SAA7134_RS_BA1(5),saa7134_buffer_base(buf)); in buffer_activate()
60 saa_writel(SAA7134_RS_BA2(5),saa7134_buffer_base(next)); in buffer_activate()
64 saa_writel(SAA7134_RS_BA1(5),saa7134_buffer_base(next)); in buffer_activate()
65 saa_writel(SAA7134_RS_BA2(5),saa7134_buffer_base(buf)); in buffer_activate()
282 saa_writel(SAA7134_RS_PITCH(5), TS_PACKET_SIZE); in saa7134_ts_start()
283 saa_writel(SAA7134_RS_CONTROL(5), SAA7134_RS_CONTROL_BURST_16 | in saa7134_ts_start()
Dsaa7134-video.c763 saa_writel(SAA7134_RS_BA1(1),base); in start_preview()
764 saa_writel(SAA7134_RS_BA2(1),base+bpl); in start_preview()
765 saa_writel(SAA7134_RS_PITCH(1),bpl*2); in start_preview()
766 saa_writel(SAA7134_RS_CONTROL(1),control); in start_preview()
768 saa_writel(SAA7134_RS_BA1(1),base); in start_preview()
769 saa_writel(SAA7134_RS_BA2(1),base); in start_preview()
770 saa_writel(SAA7134_RS_PITCH(1),bpl); in start_preview()
771 saa_writel(SAA7134_RS_CONTROL(1),control); in start_preview()
824 saa_writel(SAA7134_RS_BA1(0),base); in buffer_activate()
825 saa_writel(SAA7134_RS_BA2(0),base+bpl); in buffer_activate()
[all …]
Dsaa7134-alsa.c174 saa_writel(reg,next_blk * dev->dmasound.blksize); in saa7134_irq_alsa_done()
219 saa_writel(SAA7134_IRQ_REPORT, in saa7134_alsa_irq()
473 saa_writel(SAA7133_ANALOG_IO_SELECT, anabar); in snd_saa7134_capsrc_set()
477 saa_writel(SAA7133_ANALOG_IO_SELECT, 0); in snd_saa7134_capsrc_set()
562 saa_writel(SAA7133_NUM_SAMPLES, dev->dmasound.blksize -1); in snd_card_saa7134_capture_prepare()
563 saa_writel(SAA7133_AUDIO_CHANNEL, 0x543210 | (fmt << 24)); in snd_card_saa7134_capture_prepare()
577 saa_writel(SAA7134_RS_BA1(6),0); in snd_card_saa7134_capture_prepare()
578 saa_writel(SAA7134_RS_BA2(6),dev->dmasound.blksize); in snd_card_saa7134_capture_prepare()
579 saa_writel(SAA7134_RS_PITCH(6),0); in snd_card_saa7134_capture_prepare()
580 saa_writel(SAA7134_RS_CONTROL(6),control); in snd_card_saa7134_capture_prepare()
Dsaa7134-tvaudio.c176 saa_writel(SAA7134_CARRIER1_FREQ0 >> 2, tvaudio_carr2reg(primary)); in tvaudio_setcarrier()
177 saa_writel(SAA7134_CARRIER2_FREQ0 >> 2, tvaudio_carr2reg(secondary)); in tvaudio_setcarrier()
704 saa_writel(reg,value); in saa_dsp_writel()
753 saa_writel(0x594 >> 2, reg); in mute_input_7133()
1006 saa_writel(0x598 >> 2, clock); in saa7134_tvaudio_init()
Dsaa7134-i2c.c213 saa_writel(SAA7134_I2C_ATTR_STATUS >> 2, dword); in i2c_send_byte()
Dsaa7134-cards.c7363 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x4000); in saa7134_kworld_sbtvd_toggle_agc()
7364 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x4000); in saa7134_kworld_sbtvd_toggle_agc()
7368 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x14000); in saa7134_kworld_sbtvd_toggle_agc()
7369 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x14000); in saa7134_kworld_sbtvd_toggle_agc()
7371 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x54000); in saa7134_kworld_sbtvd_toggle_agc()
7372 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x54000); in saa7134_kworld_sbtvd_toggle_agc()
7510 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0); in saa7134_board_init1()
8167 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x4000); in saa7134_board_init2()
8168 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x4000); in saa7134_board_init2()
Dsaa7134.h671 #define saa_writel(reg,value) writel((value), dev->lmmio + (reg)); macro