Lines Matching refs:sub
815 static int dvb_bt8xx_probe(struct bttv_sub_device *sub) in dvb_bt8xx_probe() argument
825 card->bttv_nr = sub->core->nr; in dvb_bt8xx_probe()
826 strlcpy(card->card_name, sub->core->v4l2_dev.name, sizeof(card->card_name)); in dvb_bt8xx_probe()
827 card->i2c_adapter = &sub->core->i2c_adap; in dvb_bt8xx_probe()
829 switch(sub->core->type) { in dvb_bt8xx_probe()
893 pr_err("Unknown bttv card type: %d\n", sub->core->type); in dvb_bt8xx_probe()
915 card->bt->bttv_nr = sub->core->nr; in dvb_bt8xx_probe()
917 if ( (ret = dvb_bt8xx_load_card(card, sub->core->type)) ) { in dvb_bt8xx_probe()
922 dev_set_drvdata(&sub->dev, card); in dvb_bt8xx_probe()
926 static void dvb_bt8xx_remove(struct bttv_sub_device *sub) in dvb_bt8xx_remove() argument
928 struct dvb_bt8xx_card *card = dev_get_drvdata(&sub->dev); in dvb_bt8xx_remove()