Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/pci/pt3/
Dpt3.c112 static inline void pt3_lnb_ctrl(struct pt3_board *pt3, bool on) in pt3_lnb_ctrl() argument
114 iowrite32((on ? 0x0f : 0x0c), pt3->regs[0] + REG_SYSTEM_W); in pt3_lnb_ctrl()
119 struct pt3_board *pt3; in pt3_find_adapter() local
123 pt3 = fe->dvb->priv; in pt3_find_adapter()
125 if (pt3->adaps[i]->fe == fe) in pt3_find_adapter()
126 return pt3->adaps[i]; in pt3_find_adapter()
137 pt3_set_tuner_power(struct pt3_board *pt3, bool tuner_on, bool amp_on) in pt3_set_tuner_power() argument
145 return pt3_demod_write(pt3->adaps[PT3_NUM_FE - 1], &rv, 1); in pt3_set_tuner_power()
151 struct pt3_board *pt3; in pt3_set_lna() local
162 pt3 = adap->dvb_adap.priv; in pt3_set_lna()
[all …]
Dpt3_i2c.c126 static int wait_i2c_result(struct pt3_board *pt3, u32 *result, int max_wait) in wait_i2c_result() argument
132 v = ioread32(pt3->regs[0] + REG_I2C_R); in wait_i2c_result()
145 static int send_i2c_cmd(struct pt3_board *pt3, u32 addr) in send_i2c_cmd() argument
150 if (wait_i2c_result(pt3, NULL, 50)) { in send_i2c_cmd()
151 dev_warn(&pt3->pdev->dev, "(%s) prev. transaction stalled\n", in send_i2c_cmd()
156 iowrite32(PT3_I2C_RUN | addr, pt3->regs[0] + REG_I2C_W); in send_i2c_cmd()
159 if (wait_i2c_result(pt3, &ret, 500) || (ret & STAT_SEQ_ERROR)) { in send_i2c_cmd()
160 dev_warn(&pt3->pdev->dev, "(%s) failed.\n", __func__); in send_i2c_cmd()
170 int pt3_init_all_demods(struct pt3_board *pt3) in pt3_init_all_demods() argument
172 ioread32(pt3->regs[0] + REG_I2C_R); in pt3_init_all_demods()
[all …]
Dpt3_dma.c26 struct pt3_board *pt3 = adap->dvb_adap.priv; in pt3_stop_dma() local
32 stat = ioread32(pt3->regs[0] + base + OFST_STATUS); in pt3_stop_dma()
36 iowrite32(0x02, pt3->regs[0] + base + OFST_DMA_CTL); in pt3_stop_dma()
38 stat = ioread32(pt3->regs[0] + base + OFST_STATUS); in pt3_stop_dma()
48 struct pt3_board *pt3 = adap->dvb_adap.priv; in pt3_start_dma() local
51 iowrite32(0x02, pt3->regs[0] + base + OFST_DMA_CTL); in pt3_start_dma()
53 pt3->regs[0] + base + OFST_DMA_DESC_L); in pt3_start_dma()
55 pt3->regs[0] + base + OFST_DMA_DESC_H); in pt3_start_dma()
56 iowrite32(0x01, pt3->regs[0] + base + OFST_DMA_CTL); in pt3_start_dma()
129 struct pt3_board *pt3; in pt3_free_dmabuf() local
[all …]
DMakefile3 earth-pt3-objs += pt3.o pt3_i2c.o pt3_dma.o
5 obj-$(CONFIG_DVB_PT3) += earth-pt3.o
Dpt3.h174 extern void pt3_i2c_reset(struct pt3_board *pt3);
175 extern int pt3_init_all_demods(struct pt3_board *pt3);
176 extern int pt3_init_all_mxl301rf(struct pt3_board *pt3);
/linux-6.1.9/drivers/media/pci/
DMakefile12 pt3/ \
DKconfig58 source "drivers/media/pci/pt3/Kconfig"
/linux-6.1.9/Documentation/admin-guide/media/
Dpci-cardlist.rst72 earth-pt3 Earthsoft PT3 cards
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/common/
Dsaa7146_video.c209 struct saa7146_pgtable *pt3 = &buf->pt[2]; in saa7146_pgtable_build() local
246 ptr3 = pt3->cpu; in saa7146_pgtable_build()
264 pt3->offset = pt1->offset+o2; in saa7146_pgtable_build()
/linux-6.1.9/
DMAINTAINERS7294 F: drivers/media/pci/pt3/