Home
last modified time | relevance | path

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

/linux/drivers/media/pci/saa7134/
H A Dsaa7134-go7007.c248 saa->top_dma = dma_map_page(&dev->pci->dev, virt_to_page(saa->top), in saa7134_go7007_stream_start()
306 if (!saa) in saa7134_go7007_stream_stop()
308 dev = saa->dev; in saa7134_go7007_stream_stop()
428 saa->dev = dev; in saa7134_go7007_init()
431 sd = &saa->sd; in saa7134_go7007_init()
438 if (!saa->top) in saa7134_go7007_init()
441 if (!saa->bottom) in saa7134_go7007_init()
464 if (saa->top) in saa7134_go7007_init()
466 if (saa->bottom) in saa7134_go7007_init()
468 kfree(saa); in saa7134_go7007_init()
[all …]
/linux/drivers/media/pci/ttpci/
H A Dbudget-ci.c176 "pci-%s/ir0", pci_name(saa->pci)); in msp430_ir_init()
183 if (saa->pci->subsystem_vendor) { 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()
247 SAA7146_IER_DISABLE(saa, MASK_06); in msp430_ir_deinit()
500 SAA7146_IER_ENABLE(saa, MASK_03); in ciintf_init()
522 saa7146_write(saa, MC1, MASK_27); in ciintf_init()
532 SAA7146_IER_DISABLE(saa, MASK_03); in ciintf_deinit()
[all …]
H A Dbudget-av.c277 if (saa7146_read(saa, PSR) & MASK_06) { in ciintf_poll_slot_status()
338 saa7146_write(saa, MC1, MASK_27 | MASK_11); in ciintf_init()
365 saa7146_write(saa, MC1, MASK_27); in ciintf_init()
382 saa7146_write(saa, MC1, MASK_27); in ciintf_deinit()
418 struct saa7146_dev *saa = budget->dev; in saa7113_init() local
1213 switch (saa->pci->subsystem_device) { in frontend_init()
1226 switch (saa->pci->subsystem_device) { in frontend_init()
1334 saa->pci->vendor, in frontend_init()
1335 saa->pci->device, in frontend_init()
1336 saa->pci->subsystem_vendor, in frontend_init()
[all …]
H A 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()
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()
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
276 saa7146_write(saa, DEBI_CONFIG, config); in ttpci_budget_debiwrite_nolock()
277 saa7146_write(saa, DEBI_PAGE, 0); in ttpci_budget_debiwrite_nolock()
278 saa7146_write(saa, DEBI_AD, value); in ttpci_budget_debiwrite_nolock()
[all …]
/linux/include/media/drv-intf/
H A 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/drivers/staging/media/av7110/
H A 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()
2759 SAA7146_IER_DISABLE(saa, MASK_19 | MASK_03); in av7110_detach()
2760 SAA7146_ISR_CLEAR(saa, MASK_19 | MASK_03); in av7110_detach()
2766 dma_free_coherent(&saa->pci->dev, 8192, av7110->debi_virt, in av7110_detach()
[all …]
/linux/drivers/media/common/saa7146/
H A Dsaa7146_hlp.c8 static void calculate_output_format_register(struct saa7146_dev* saa, u32 palette, u32* clip_format) in calculate_output_format_register() argument