Lines Matching refs:card
60 struct snd_card *card; in ct_card_probe() local
72 0, &card); in ct_card_probe()
76 dev_err(card->dev, in ct_card_probe()
79 dev_err(card->dev, in ct_card_probe()
84 dev_err(card->dev, "Invalid multiple value %u!!!\n", in ct_card_probe()
86 dev_err(card->dev, in ct_card_probe()
90 err = ct_atc_create(card, pci, reference_rate, multiple, in ct_card_probe()
95 card->private_data = atc; in ct_card_probe()
102 strcpy(card->driver, "SB-XFi"); in ct_card_probe()
103 strcpy(card->shortname, "Creative X-Fi"); in ct_card_probe()
104 snprintf(card->longname, sizeof(card->longname), "%s %s %s", in ct_card_probe()
105 card->shortname, atc->chip_name, atc->model_name); in ct_card_probe()
107 err = snd_card_register(card); in ct_card_probe()
111 pci_set_drvdata(pci, card); in ct_card_probe()
117 snd_card_free(card); in ct_card_probe()
129 struct snd_card *card = dev_get_drvdata(dev); in ct_card_suspend() local
130 struct ct_atc *atc = card->private_data; in ct_card_suspend()
137 struct snd_card *card = dev_get_drvdata(dev); in ct_card_resume() local
138 struct ct_atc *atc = card->private_data; in ct_card_resume()