Home
last modified time | relevance | path

Searched refs:saa (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/media/pci/saa7134/
Dsaa7134-go7007.c133 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_interface_reset() local
134 struct saa7134_dev *dev = saa->dev; in saa7134_go7007_interface_reset()
177 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_write_interrupt() local
178 struct saa7134_dev *dev = saa->dev; in saa7134_go7007_write_interrupt()
205 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_read_interrupt() local
206 struct saa7134_dev *dev = saa->dev; in saa7134_go7007_read_interrupt()
223 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_irq_ts_done() local
232 saa->bottom_dma, PAGE_SIZE, DMA_FROM_DEVICE); in saa7134_go7007_irq_ts_done()
233 go7007_parse_video_stream(go, saa->bottom, PAGE_SIZE); in saa7134_go7007_irq_ts_done()
234 saa_writel(SAA7134_RS_BA2(5), saa->bottom_dma); in saa7134_go7007_irq_ts_done()
[all …]
/linux-6.12.1/drivers/media/pci/ttpci/
Dbudget-ci.c163 struct saa7146_dev *saa = budget_ci->budget.dev; in msp430_ir_init() local
174 "Budget-CI dvb ir receiver %s", saa->name); in msp430_ir_init()
176 "pci-%s/ir0", pci_name(saa->pci)); in msp430_ir_init()
183 if (saa->pci->subsystem_vendor) { in msp430_ir_init()
184 dev->input_id.vendor = saa->pci->subsystem_vendor; in msp430_ir_init()
185 dev->input_id.product = saa->pci->subsystem_device; in msp430_ir_init()
187 dev->input_id.vendor = saa->pci->vendor; in msp430_ir_init()
188 dev->input_id.product = saa->pci->device; in msp430_ir_init()
190 dev->dev.parent = &saa->pci->dev; in msp430_ir_init()
237 SAA7146_IER_ENABLE(saa, MASK_06); in msp430_ir_init()
[all …]
Dbudget-av.c204 struct saa7146_dev *saa = budget_av->budget.dev; in ciintf_slot_reset() local
212 saa7146_setgpio(saa, 2, SAA7146_GPIO_OUTHI); /* disable card */ in ciintf_slot_reset()
214 saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTHI); /* Vcc off */ in ciintf_slot_reset()
216 saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTLO); /* Vcc on */ in ciintf_slot_reset()
219 saa7146_setgpio(saa, 2, SAA7146_GPIO_OUTLO); /* enable card */ in ciintf_slot_reset()
220 ttpci_budget_set_video_port(saa, BUDGET_VIDEO_PORTB); in ciintf_slot_reset()
233 struct saa7146_dev *saa = budget_av->budget.dev; in ciintf_slot_shutdown() local
240 ttpci_budget_set_video_port(saa, BUDGET_VIDEO_PORTB); in ciintf_slot_shutdown()
249 struct saa7146_dev *saa = budget_av->budget.dev; in ciintf_slot_ts_enable() local
256 ttpci_budget_set_video_port(saa, BUDGET_VIDEO_PORTA); in ciintf_slot_ts_enable()
[all …]
Dbudget-core.c223 struct saa7146_dev *saa = budget->dev; in ttpci_budget_debiread_nolock() local
226 result = saa7146_wait_for_debi_done(saa, nobusyloop); in ttpci_budget_debiread_nolock()
230 saa7146_write(saa, DEBI_COMMAND, (count << 17) | 0x10000 | (addr & 0xffff)); in ttpci_budget_debiread_nolock()
231 saa7146_write(saa, DEBI_CONFIG, config); in ttpci_budget_debiread_nolock()
232 saa7146_write(saa, DEBI_PAGE, 0); in ttpci_budget_debiread_nolock()
233 saa7146_write(saa, MC2, (2 << 16) | 2); in ttpci_budget_debiread_nolock()
235 result = saa7146_wait_for_debi_done(saa, nobusyloop); in ttpci_budget_debiread_nolock()
239 result = saa7146_read(saa, DEBI_AD); in ttpci_budget_debiread_nolock()
268 struct saa7146_dev *saa = budget->dev; in ttpci_budget_debiwrite_nolock() local
271 result = saa7146_wait_for_debi_done(saa, nobusyloop); in ttpci_budget_debiwrite_nolock()
[all …]
/linux-6.12.1/include/media/drv-intf/
Dsaa7146_vv.h155 void saa7146_set_hps_source_and_sync(struct saa7146_dev *saa, int source, int sync);
156 void saa7146_set_gpio(struct saa7146_dev *saa, u8 pin, u8 data);
/linux-6.12.1/drivers/staging/media/av7110/
Dav7110.c2727 static int av7110_detach(struct saa7146_dev *saa) in av7110_detach() argument
2729 struct av7110 *av7110 = saa->ext_priv; in av7110_detach()
2739 saa7146_write(saa, MC1, MASK_29); in av7110_detach()
2741 saa7146_setgpio(saa, 3, SAA7146_GPIO_OUTLO); in av7110_detach()
2743 saa7146_write(saa, MC1, MASK_20); /* DMA3 off */ in av7110_detach()
2744 SAA7146_IER_DISABLE(saa, MASK_10); in av7110_detach()
2745 SAA7146_ISR_CLEAR(saa, MASK_10); in av7110_detach()
2748 saa7146_vfree_destroy_pgtable(saa->pci, av7110->grabbing, &av7110->pt); in av7110_detach()
2759 SAA7146_IER_DISABLE(saa, MASK_19 | MASK_03); in av7110_detach()
2760 SAA7146_ISR_CLEAR(saa, MASK_19 | MASK_03); in av7110_detach()
[all …]
/linux-6.12.1/drivers/media/common/saa7146/
Dsaa7146_hlp.c8 static void calculate_output_format_register(struct saa7146_dev* saa, u32 palette, u32* clip_format) in calculate_output_format_register() argument