Lines Matching refs:saa
204 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()
264 struct saa7146_dev *saa = budget_av->budget.dev; in ciintf_poll_slot_status() local
273 saa7146_setgpio(saa, 3, SAA7146_GPIO_INPUT); in ciintf_poll_slot_status()
275 if (saa7146_read(saa, PSR) & MASK_06) { in ciintf_poll_slot_status()
281 saa7146_setgpio(saa, 3, SAA7146_GPIO_OUTLO); in ciintf_poll_slot_status()
325 struct saa7146_dev *saa = budget_av->budget.dev; in ciintf_init() local
330 saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTLO); in ciintf_init()
331 saa7146_setgpio(saa, 1, SAA7146_GPIO_OUTLO); in ciintf_init()
332 saa7146_setgpio(saa, 2, SAA7146_GPIO_OUTLO); in ciintf_init()
333 saa7146_setgpio(saa, 3, SAA7146_GPIO_OUTLO); in ciintf_init()
336 saa7146_write(saa, MC1, MASK_27 | MASK_11); in ciintf_init()
362 saa7146_write(saa, MC1, MASK_27); in ciintf_init()
368 struct saa7146_dev *saa = budget_av->budget.dev; in ciintf_deinit() local
370 saa7146_setgpio(saa, 0, SAA7146_GPIO_INPUT); in ciintf_deinit()
371 saa7146_setgpio(saa, 1, SAA7146_GPIO_INPUT); in ciintf_deinit()
372 saa7146_setgpio(saa, 2, SAA7146_GPIO_INPUT); in ciintf_deinit()
373 saa7146_setgpio(saa, 3, SAA7146_GPIO_INPUT); in ciintf_deinit()
379 saa7146_write(saa, MC1, MASK_27); in ciintf_deinit()
415 struct saa7146_dev *saa = budget->dev; in saa7113_init() local
418 saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTHI); in saa7113_init()
1199 struct saa7146_dev * saa = budget_av->budget.dev; in frontend_init() local
1203 saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTLO); in frontend_init()
1209 switch (saa->pci->subsystem_device) { in frontend_init()
1218 saa7146_setgpio(saa, 3, SAA7146_GPIO_OUTHI); in frontend_init()
1222 switch (saa->pci->subsystem_device) { in frontend_init()
1233 if (saa->pci->subsystem_vendor == 0x1894) { in frontend_init()
1336 saa->pci->vendor, in frontend_init()
1337 saa->pci->device, in frontend_init()
1338 saa->pci->subsystem_vendor, in frontend_init()
1339 saa->pci->subsystem_device); in frontend_init()