Lines Matching refs:bttv_nr
110 static struct bt878 *dvb_bt8xx_878_match(unsigned int bttv_nr, in dvb_bt8xx_878_match() argument
247 bttv_gpio_enable(card->bttv_nr, 1, 1); /* output */ in pinnsat_tuner_init()
248 bttv_write_gpio(card->bttv_nr, 1, 1); /* relay on */ in pinnsat_tuner_init()
257 bttv_write_gpio(card->bttv_nr, 1, 0); /* relay off */ in pinnsat_tuner_sleep()
415 bttv_write_gpio(bt->bttv_nr, 0x0002, mode); /* Reset */ in or51211_setmode()
433 int ret = bttv_gpio_enable(bt->bttv_nr, 0x001F, 0x001F); in or51211_reset()
436 bttv_write_gpio(bt->bttv_nr, 0x001F, 0x0000); /* Reset */ in or51211_reset()
439 bttv_write_gpio(bt->bttv_nr, 0x0001F, 0x0001); in or51211_reset()
447 bttv_write_gpio(bt->bttv_nr, 0x0001, 0x0000); in or51211_sleep()
550 int ret = bttv_gpio_enable(bt->bttv_nr, 0x08, 0x08); in digitv_alps_tded4_reset()
556 bttv_write_gpio(bt->bttv_nr, 0x08, 0x08); /* High */ in digitv_alps_tded4_reset()
557 bttv_write_gpio(bt->bttv_nr, 0x08, 0x00); /* Low */ in digitv_alps_tded4_reset()
560 bttv_write_gpio(bt->bttv_nr, 0x08, 0x08); /* High */ in digitv_alps_tded4_reset()
578 bttv_write_gpio(bt->bttv_nr, 0x00e00007, 0x00000001); /* High */ in lgdt330x_reset()
579 bttv_write_gpio(bt->bttv_nr, 0x00e00007, 0x00000000); /* Low */ in lgdt330x_reset()
582 bttv_write_gpio(bt->bttv_nr, 0x00e00007, 0x00000001); /* High */ in lgdt330x_reset()
816 card->bttv_nr = sub->core->nr; in dvb_bt8xx_probe()
890 dprintk("dvb_bt8xx: identified card%d as %s\n", card->bttv_nr, card->card_name); in dvb_bt8xx_probe()
892 if (!(bttv_pci_dev = bttv_get_pcidev(card->bttv_nr))) { in dvb_bt8xx_probe()
893 pr_err("no pci device for card %d\n", card->bttv_nr); in dvb_bt8xx_probe()
898 if (!(card->bt = dvb_bt8xx_878_match(card->bttv_nr, bttv_pci_dev))) { in dvb_bt8xx_probe()
899 pr_err("unable to determine DMA core of card %d,\n", card->bttv_nr); in dvb_bt8xx_probe()
907 card->bt->bttv_nr = sub->core->nr; in dvb_bt8xx_probe()
922 dprintk("dvb_bt8xx: unloading card%d\n", card->bttv_nr); in dvb_bt8xx_remove()