Lines Matching refs:sub
802 static int dvb_bt8xx_probe(struct bttv_sub_device *sub) in dvb_bt8xx_probe() argument
812 card->bttv_nr = sub->core->nr; in dvb_bt8xx_probe()
813 strscpy(card->card_name, sub->core->v4l2_dev.name, in dvb_bt8xx_probe()
815 card->i2c_adapter = &sub->core->i2c_adap; in dvb_bt8xx_probe()
817 switch(sub->core->type) { in dvb_bt8xx_probe()
881 pr_err("Unknown bttv card type: %d\n", sub->core->type); in dvb_bt8xx_probe()
903 card->bt->bttv_nr = sub->core->nr; in dvb_bt8xx_probe()
905 if ( (ret = dvb_bt8xx_load_card(card, sub->core->type)) ) { in dvb_bt8xx_probe()
910 dev_set_drvdata(&sub->dev, card); in dvb_bt8xx_probe()
914 static void dvb_bt8xx_remove(struct bttv_sub_device *sub) in dvb_bt8xx_remove() argument
916 struct dvb_bt8xx_card *card = dev_get_drvdata(&sub->dev); in dvb_bt8xx_remove()