Lines Matching refs:bttv_nr
110 static struct bt878 *dvb_bt8xx_878_match(unsigned int bttv_nr, in dvb_bt8xx_878_match() argument
243 bttv_gpio_enable(card->bttv_nr, 1, 1); /* output */ in pinnsat_tuner_init()
244 bttv_write_gpio(card->bttv_nr, 1, 1); /* relay on */ in pinnsat_tuner_init()
253 bttv_write_gpio(card->bttv_nr, 1, 0); /* relay off */ in pinnsat_tuner_sleep()
411 bttv_write_gpio(bt->bttv_nr, 0x0002, mode); /* Reset */ in or51211_setmode()
429 int ret = bttv_gpio_enable(bt->bttv_nr, 0x001F, 0x001F); in or51211_reset()
432 bttv_write_gpio(bt->bttv_nr, 0x001F, 0x0000); /* Reset */ in or51211_reset()
435 bttv_write_gpio(bt->bttv_nr, 0x0001F, 0x0001); in or51211_reset()
443 bttv_write_gpio(bt->bttv_nr, 0x0001, 0x0000); in or51211_sleep()
546 int ret = bttv_gpio_enable(bt->bttv_nr, 0x08, 0x08); in digitv_alps_tded4_reset()
552 bttv_write_gpio(bt->bttv_nr, 0x08, 0x08); /* High */ in digitv_alps_tded4_reset()
553 bttv_write_gpio(bt->bttv_nr, 0x08, 0x00); /* Low */ in digitv_alps_tded4_reset()
556 bttv_write_gpio(bt->bttv_nr, 0x08, 0x08); /* High */ in digitv_alps_tded4_reset()
574 bttv_write_gpio(bt->bttv_nr, 0x00e00007, 0x00000001); /* High */ in lgdt330x_reset()
575 bttv_write_gpio(bt->bttv_nr, 0x00e00007, 0x00000000); /* Low */ in lgdt330x_reset()
578 bttv_write_gpio(bt->bttv_nr, 0x00e00007, 0x00000001); /* High */ in lgdt330x_reset()
812 card->bttv_nr = sub->core->nr; in dvb_bt8xx_probe()
886 dprintk("dvb_bt8xx: identified card%d as %s\n", card->bttv_nr, card->card_name); in dvb_bt8xx_probe()
888 if (!(bttv_pci_dev = bttv_get_pcidev(card->bttv_nr))) { in dvb_bt8xx_probe()
889 pr_err("no pci device for card %d\n", card->bttv_nr); in dvb_bt8xx_probe()
894 if (!(card->bt = dvb_bt8xx_878_match(card->bttv_nr, bttv_pci_dev))) { in dvb_bt8xx_probe()
895 pr_err("unable to determine DMA core of card %d,\n", card->bttv_nr); in dvb_bt8xx_probe()
903 card->bt->bttv_nr = sub->core->nr; in dvb_bt8xx_probe()
918 dprintk("dvb_bt8xx: unloading card%d\n", card->bttv_nr); in dvb_bt8xx_remove()