Home
last modified time | relevance | path

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

/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 …]
/drivers/media/pci/ttpci/
Dbudget-ci.c161 struct saa7146_dev *saa = budget_ci->budget.dev; in msp430_ir_init() local
172 "Budget-CI dvb ir receiver %s", saa->name); in msp430_ir_init()
174 "pci-%s/ir0", pci_name(saa->pci)); in msp430_ir_init()
181 if (saa->pci->subsystem_vendor) { in msp430_ir_init()
182 dev->input_id.vendor = saa->pci->subsystem_vendor; in msp430_ir_init()
183 dev->input_id.product = saa->pci->subsystem_device; in msp430_ir_init()
185 dev->input_id.vendor = saa->pci->vendor; in msp430_ir_init()
186 dev->input_id.product = saa->pci->device; in msp430_ir_init()
188 dev->dev.parent = &saa->pci->dev; in msp430_ir_init()
235 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.c222 struct saa7146_dev *saa = budget->dev; in ttpci_budget_debiread_nolock() local
225 result = saa7146_wait_for_debi_done(saa, nobusyloop); in ttpci_budget_debiread_nolock()
229 saa7146_write(saa, DEBI_COMMAND, (count << 17) | 0x10000 | (addr & 0xffff)); in ttpci_budget_debiread_nolock()
230 saa7146_write(saa, DEBI_CONFIG, config); in ttpci_budget_debiread_nolock()
231 saa7146_write(saa, DEBI_PAGE, 0); in ttpci_budget_debiread_nolock()
232 saa7146_write(saa, MC2, (2 << 16) | 2); in ttpci_budget_debiread_nolock()
234 result = saa7146_wait_for_debi_done(saa, nobusyloop); in ttpci_budget_debiread_nolock()
238 result = saa7146_read(saa, DEBI_AD); in ttpci_budget_debiread_nolock()
266 struct saa7146_dev *saa = budget->dev; in ttpci_budget_debiwrite_nolock() local
269 result = saa7146_wait_for_debi_done(saa, nobusyloop); in ttpci_budget_debiwrite_nolock()
[all …]
/drivers/staging/media/av7110/
Dav7110.c2749 static int av7110_detach(struct saa7146_dev* saa) in av7110_detach() argument
2751 struct av7110 *av7110 = saa->ext_priv; in av7110_detach()
2760 saa7146_write(saa, MC1, MASK_29); in av7110_detach()
2762 saa7146_setgpio(saa, 3, SAA7146_GPIO_OUTLO); in av7110_detach()
2764 saa7146_write(saa, MC1, MASK_20); /* DMA3 off */ in av7110_detach()
2765 SAA7146_IER_DISABLE(saa, MASK_10); in av7110_detach()
2766 SAA7146_ISR_CLEAR(saa, MASK_10); in av7110_detach()
2769 saa7146_vfree_destroy_pgtable(saa->pci, av7110->grabbing, &av7110->pt); in av7110_detach()
2780 SAA7146_IER_DISABLE(saa, MASK_19 | MASK_03); in av7110_detach()
2781 SAA7146_ISR_CLEAR(saa, MASK_19 | MASK_03); in av7110_detach()
[all …]
/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