Lines Matching defs:sub
814 static int __devinit dvb_bt8xx_probe(struct bttv_sub_device *sub)
824 card->bttv_nr = sub->core->nr;
825 strlcpy(card->card_name, sub->core->v4l2_dev.name, sizeof(card->card_name));
826 card->i2c_adapter = &sub->core->i2c_adap;
828 switch(sub->core->type) {
892 pr_err("Unknown bttv card type: %d\n", sub->core->type);
914 card->bt->bttv_nr = sub->core->nr;
916 if ( (ret = dvb_bt8xx_load_card(card, sub->core->type)) ) {
921 dev_set_drvdata(&sub->dev, card);
925 static void dvb_bt8xx_remove(struct bttv_sub_device *sub)
927 struct dvb_bt8xx_card *card = dev_get_drvdata(&sub->dev);