Home
last modified time | relevance | path

Searched refs:pt3 (Results 1 – 8 of 8) sorted by relevance

/drivers/media/pci/pt3/
Dpt3.c120 static inline void pt3_lnb_ctrl(struct pt3_board *pt3, bool on) in pt3_lnb_ctrl() argument
122 iowrite32((on ? 0x0f : 0x0c), pt3->regs[0] + REG_SYSTEM_W); in pt3_lnb_ctrl()
127 struct pt3_board *pt3; in pt3_find_adapter() local
131 pt3 = fe->dvb->priv; in pt3_find_adapter()
133 if (pt3->adaps[i]->fe == fe) in pt3_find_adapter()
134 return pt3->adaps[i]; in pt3_find_adapter()
145 pt3_set_tuner_power(struct pt3_board *pt3, bool tuner_on, bool amp_on) in pt3_set_tuner_power() argument
153 return pt3_demod_write(pt3->adaps[PT3_NUM_FE - 1], &rv, 1); in pt3_set_tuner_power()
159 struct pt3_board *pt3; in pt3_set_lna() local
170 pt3 = adap->dvb_adap.priv; in pt3_set_lna()
[all …]
Dpt3_i2c.c136 static int wait_i2c_result(struct pt3_board *pt3, u32 *result, int max_wait) in wait_i2c_result() argument
142 v = ioread32(pt3->regs[0] + REG_I2C_R); in wait_i2c_result()
155 static int send_i2c_cmd(struct pt3_board *pt3, u32 addr) in send_i2c_cmd() argument
160 if (wait_i2c_result(pt3, NULL, 50)) { in send_i2c_cmd()
161 dev_warn(&pt3->pdev->dev, "(%s) prev. transaction stalled\n", in send_i2c_cmd()
166 iowrite32(PT3_I2C_RUN | addr, pt3->regs[0] + REG_I2C_W); in send_i2c_cmd()
169 if (wait_i2c_result(pt3, &ret, 500) || (ret & STAT_SEQ_ERROR)) { in send_i2c_cmd()
170 dev_warn(&pt3->pdev->dev, "(%s) failed.\n", __func__); in send_i2c_cmd()
180 int pt3_init_all_demods(struct pt3_board *pt3) in pt3_init_all_demods() argument
182 ioread32(pt3->regs[0] + REG_I2C_R); in pt3_init_all_demods()
[all …]
Dpt3_dma.c35 struct pt3_board *pt3 = adap->dvb_adap.priv; in pt3_stop_dma() local
41 stat = ioread32(pt3->regs[0] + base + OFST_STATUS); in pt3_stop_dma()
45 iowrite32(0x02, pt3->regs[0] + base + OFST_DMA_CTL); in pt3_stop_dma()
47 stat = ioread32(pt3->regs[0] + base + OFST_STATUS); in pt3_stop_dma()
57 struct pt3_board *pt3 = adap->dvb_adap.priv; in pt3_start_dma() local
60 iowrite32(0x02, pt3->regs[0] + base + OFST_DMA_CTL); in pt3_start_dma()
62 pt3->regs[0] + base + OFST_DMA_DESC_L); in pt3_start_dma()
64 pt3->regs[0] + base + OFST_DMA_DESC_H); in pt3_start_dma()
65 iowrite32(0x01, pt3->regs[0] + base + OFST_DMA_CTL); in pt3_start_dma()
138 struct pt3_board *pt3; in pt3_free_dmabuf() local
[all …]
DMakefile2 earth-pt3-objs += pt3.o pt3_i2c.o pt3_dma.o
4 obj-$(CONFIG_DVB_PT3) += earth-pt3.o
Dpt3.h183 extern void pt3_i2c_reset(struct pt3_board *pt3);
184 extern int pt3_init_all_demods(struct pt3_board *pt3);
185 extern int pt3_init_all_mxl301rf(struct pt3_board *pt3);
/drivers/media/pci/
DMakefile10 pt3/ \
DKconfig49 source "drivers/media/pci/pt3/Kconfig"
/drivers/media/common/saa7146/
Dsaa7146_video.c220 struct saa7146_pgtable *pt3 = &buf->pt[2]; in saa7146_pgtable_build() local
257 ptr3 = pt3->cpu; in saa7146_pgtable_build()
276 pt3->offset = pt1->offset+o2; in saa7146_pgtable_build()