Lines Matching refs:saa

163 	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()
238 saa7146_setgpio(saa, 3, SAA7146_GPIO_IRQHI); in msp430_ir_init()
245 struct saa7146_dev *saa = budget_ci->budget.dev; in msp430_ir_deinit() local
247 SAA7146_IER_DISABLE(saa, MASK_06); in msp430_ir_deinit()
248 saa7146_setgpio(saa, 3, SAA7146_GPIO_INPUT); in msp430_ir_deinit()
301 struct saa7146_dev *saa = budget_ci->budget.dev; in ciintf_slot_reset() local
308 saa7146_setgpio(saa, 0, SAA7146_GPIO_IRQHI); in ciintf_slot_reset()
316 saa7146_setgpio(saa, 1, SAA7146_GPIO_OUTHI); in ciintf_slot_reset()
317 ttpci_budget_set_video_port(saa, BUDGET_VIDEO_PORTB); in ciintf_slot_reset()
324 struct saa7146_dev *saa = budget_ci->budget.dev; in ciintf_slot_shutdown() local
329 saa7146_setgpio(saa, 1, SAA7146_GPIO_OUTHI); in ciintf_slot_shutdown()
330 ttpci_budget_set_video_port(saa, BUDGET_VIDEO_PORTB); in ciintf_slot_shutdown()
337 struct saa7146_dev *saa = budget_ci->budget.dev; in ciintf_slot_ts_enable() local
343 saa7146_setgpio(saa, 1, SAA7146_GPIO_OUTLO); in ciintf_slot_ts_enable()
349 ttpci_budget_set_video_port(saa, BUDGET_VIDEO_PORTA); in ciintf_slot_ts_enable()
357 struct saa7146_dev *saa = budget_ci->budget.dev; in ciintf_interrupt() local
369 saa7146_setgpio(saa, 0, SAA7146_GPIO_IRQLO); in ciintf_interrupt()
391 saa7146_setgpio(saa, 0, SAA7146_GPIO_IRQHI); in ciintf_interrupt()
439 struct saa7146_dev *saa = budget_ci->budget.dev; in ciintf_init() local
448 saa7146_write(saa, MC1, MASK_27 | MASK_11); in ciintf_init()
497 saa7146_setgpio(saa, 0, SAA7146_GPIO_IRQLO); in ciintf_init()
499 saa7146_setgpio(saa, 0, SAA7146_GPIO_IRQHI); in ciintf_init()
500 SAA7146_IER_ENABLE(saa, MASK_03); in ciintf_init()
522 saa7146_write(saa, MC1, MASK_27); in ciintf_init()
528 struct saa7146_dev *saa = budget_ci->budget.dev; in ciintf_deinit() local
532 SAA7146_IER_DISABLE(saa, MASK_03); in ciintf_deinit()
533 saa7146_setgpio(saa, 0, SAA7146_GPIO_INPUT); in ciintf_deinit()
544 saa7146_setgpio(saa, 1, SAA7146_GPIO_INPUT); in ciintf_deinit()
550 saa7146_write(saa, MC1, MASK_27); in ciintf_deinit()
1498 struct saa7146_dev *saa = budget_ci->budget.dev; in budget_ci_detach() local
1511 saa7146_setgpio(saa, 2, SAA7146_GPIO_INPUT); in budget_ci_detach()