Lines Matching refs:card
63 struct snd_card *card; in ct_card_probe() local
75 0, &card); in ct_card_probe()
79 dev_err(card->dev, in ct_card_probe()
82 dev_err(card->dev, in ct_card_probe()
87 dev_err(card->dev, "Invalid multiple value %u!!!\n", in ct_card_probe()
89 dev_err(card->dev, in ct_card_probe()
93 err = ct_atc_create(card, pci, reference_rate, multiple, in ct_card_probe()
98 card->private_data = atc; in ct_card_probe()
105 strcpy(card->driver, "SB-XFi"); in ct_card_probe()
106 strcpy(card->shortname, "Creative X-Fi"); in ct_card_probe()
107 snprintf(card->longname, sizeof(card->longname), "%s %s %s", in ct_card_probe()
108 card->shortname, atc->chip_name, atc->model_name); in ct_card_probe()
110 err = snd_card_register(card); in ct_card_probe()
114 pci_set_drvdata(pci, card); in ct_card_probe()
120 snd_card_free(card); in ct_card_probe()
132 struct snd_card *card = dev_get_drvdata(dev); in ct_card_suspend() local
133 struct ct_atc *atc = card->private_data; in ct_card_suspend()
140 struct snd_card *card = dev_get_drvdata(dev); in ct_card_resume() local
141 struct ct_atc *atc = card->private_data; in ct_card_resume()