Home
last modified time | relevance | path

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

/drivers/media/pci/saa7134/
Dsaa7134-vbi.c100 saa_writel(SAA7134_RS_BA1(2),base); in buffer_activate()
101 saa_writel(SAA7134_RS_BA2(2),base + buf->vb.size/2); in buffer_activate()
102 saa_writel(SAA7134_RS_PITCH(2),buf->vb.width); in buffer_activate()
103 saa_writel(SAA7134_RS_CONTROL(2),control); in buffer_activate()
104 saa_writel(SAA7134_RS_BA1(3),base); in buffer_activate()
105 saa_writel(SAA7134_RS_BA2(3),base + buf->vb.size/2); in buffer_activate()
106 saa_writel(SAA7134_RS_PITCH(3),buf->vb.width); in buffer_activate()
107 saa_writel(SAA7134_RS_CONTROL(3),control); in buffer_activate()
Dsaa7134-core.c459 saa_writel(SAA7134_IRQ1, irq); in saa7134_set_dmabits()
541 saa_writel(SAA7134_IRQ_REPORT,report); in saa7134_irq()
624 saa_writel(SAA7134_IRQ1,0); in saa7134_irq()
625 saa_writel(SAA7134_IRQ2,0); in saa7134_irq()
640 saa_writel(SAA7134_FIFO_SIZE, 0x08070503); in saa7134_hw_enable1()
641 saa_writel(SAA7134_THRESHOULD, 0x02020202); in saa7134_hw_enable1()
644 saa_writel(SAA7134_MAIN_CTRL, in saa7134_hw_enable1()
673 saa_writel(SAA7134_IRQ1, 0); in saa7134_hwinit1()
674 saa_writel(SAA7134_IRQ2, 0); in saa7134_hwinit1()
677 saa_writel(SAA7134_IRQ_REPORT, saa_readl(SAA7134_IRQ_REPORT)); in saa7134_hwinit1()
[all …]
Dsaa7134-ts.c56 saa_writel(SAA7134_RS_BA1(5),saa7134_buffer_base(buf)); in buffer_activate()
57 saa_writel(SAA7134_RS_BA2(5),saa7134_buffer_base(next)); in buffer_activate()
60 saa_writel(SAA7134_RS_BA1(5),saa7134_buffer_base(next)); in buffer_activate()
61 saa_writel(SAA7134_RS_BA2(5),saa7134_buffer_base(buf)); in buffer_activate()
259 saa_writel(SAA7134_RS_PITCH(5), TS_PACKET_SIZE); in saa7134_ts_start()
260 saa_writel(SAA7134_RS_CONTROL(5), SAA7134_RS_CONTROL_BURST_16 | in saa7134_ts_start()
Dsaa7134-video.c907 saa_writel(SAA7134_RS_BA1(1),base); in start_preview()
908 saa_writel(SAA7134_RS_BA2(1),base+bpl); in start_preview()
909 saa_writel(SAA7134_RS_PITCH(1),bpl*2); in start_preview()
910 saa_writel(SAA7134_RS_CONTROL(1),control); in start_preview()
912 saa_writel(SAA7134_RS_BA1(1),base); in start_preview()
913 saa_writel(SAA7134_RS_BA2(1),base); in start_preview()
914 saa_writel(SAA7134_RS_PITCH(1),bpl); in start_preview()
915 saa_writel(SAA7134_RS_CONTROL(1),control); in start_preview()
968 saa_writel(SAA7134_RS_BA1(0),base); in buffer_activate()
969 saa_writel(SAA7134_RS_BA2(0),base+bpl); in buffer_activate()
[all …]
Dsaa7134-alsa.c181 saa_writel(reg,next_blk * dev->dmasound.blksize); in saa7134_irq_alsa_done()
226 saa_writel(SAA7134_IRQ_REPORT, in saa7134_alsa_irq()
405 saa_writel(SAA7133_ANALOG_IO_SELECT, anabar); in snd_saa7134_capsrc_set()
409 saa_writel(SAA7133_ANALOG_IO_SELECT, 0); in snd_saa7134_capsrc_set()
494 saa_writel(SAA7133_NUM_SAMPLES, dev->dmasound.blksize -1); in snd_card_saa7134_capture_prepare()
495 saa_writel(SAA7133_AUDIO_CHANNEL, 0x543210 | (fmt << 24)); in snd_card_saa7134_capture_prepare()
509 saa_writel(SAA7134_RS_BA1(6),0); in snd_card_saa7134_capture_prepare()
510 saa_writel(SAA7134_RS_BA2(6),dev->dmasound.blksize); in snd_card_saa7134_capture_prepare()
511 saa_writel(SAA7134_RS_PITCH(6),0); in snd_card_saa7134_capture_prepare()
512 saa_writel(SAA7134_RS_CONTROL(6),control); in snd_card_saa7134_capture_prepare()
Dsaa7134-tvaudio.c179 saa_writel(SAA7134_CARRIER1_FREQ0 >> 2, tvaudio_carr2reg(primary)); in tvaudio_setcarrier()
180 saa_writel(SAA7134_CARRIER2_FREQ0 >> 2, tvaudio_carr2reg(secondary)); in tvaudio_setcarrier()
706 saa_writel(reg,value); in saa_dsp_writel()
755 saa_writel(0x594 >> 2, reg); in mute_input_7133()
1007 saa_writel(0x598 >> 2, clock); in saa7134_tvaudio_init()
Dsaa7134-i2c.c208 saa_writel(SAA7134_I2C_ATTR_STATUS >> 2, dword); in i2c_send_byte()
Dsaa7134-cards.c7252 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x4000); in saa7134_kworld_sbtvd_toggle_agc()
7253 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x4000); in saa7134_kworld_sbtvd_toggle_agc()
7257 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x14000); in saa7134_kworld_sbtvd_toggle_agc()
7258 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x14000); in saa7134_kworld_sbtvd_toggle_agc()
7260 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x54000); in saa7134_kworld_sbtvd_toggle_agc()
7261 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x54000); in saa7134_kworld_sbtvd_toggle_agc()
7399 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0); in saa7134_board_init1()
8041 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0x4000); in saa7134_board_init2()
8042 saa_writel(SAA7134_GPIO_GPSTATUS0 >> 2, 0x4000); in saa7134_board_init2()
Dsaa7134.h662 #define saa_writel(reg,value) writel((value), dev->lmmio + (reg)); macro
/drivers/staging/media/go7007/
Dsaa7134-go7007.c255 saa_writel(SAA7134_RS_BA2(5), cpu_to_le32(saa->bottom_dma)); in saa7134_go7007_irq_ts_done()
260 saa_writel(SAA7134_RS_BA1(5), cpu_to_le32(saa->top_dma)); in saa7134_go7007_irq_ts_done()
282 saa_writel(SAA7134_VIDEO_PORT_CTRL0 >> 2, 0xA300B000); in saa7134_go7007_stream_start()
283 saa_writel(SAA7134_VIDEO_PORT_CTRL4 >> 2, 0x40000200); in saa7134_go7007_stream_start()
307 saa_writel(SAA7134_RS_BA1(5), cpu_to_le32(saa->top_dma)); in saa7134_go7007_stream_start()
308 saa_writel(SAA7134_RS_BA2(5), cpu_to_le32(saa->bottom_dma)); in saa7134_go7007_stream_start()
309 saa_writel(SAA7134_RS_PITCH(5), 128); in saa7134_go7007_stream_start()
310 saa_writel(SAA7134_RS_CONTROL(5), SAA7134_RS_CONTROL_BURST_MAX); in saa7134_go7007_stream_start()