Lines Matching refs:acard
257 static int snd_card_cs423x_pnp(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnp() argument
261 acard->wss = pdev; in snd_card_cs423x_pnp()
262 if (snd_cs423x_pnp_init_wss(dev, acard->wss) < 0) in snd_card_cs423x_pnp()
271 static int snd_card_cs423x_pnpc(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnpc() argument
275 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_cs423x_pnpc()
276 if (acard->wss == NULL) in snd_card_cs423x_pnpc()
278 acard->ctrl = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_cs423x_pnpc()
279 if (acard->ctrl == NULL) in snd_card_cs423x_pnpc()
282 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_card_cs423x_pnpc()
283 if (acard->mpu == NULL) in snd_card_cs423x_pnpc()
288 if (snd_cs423x_pnp_init_wss(dev, acard->wss) < 0) in snd_card_cs423x_pnpc()
292 if (acard->ctrl && cport[dev] > 0) { in snd_card_cs423x_pnpc()
293 if (snd_cs423x_pnp_init_ctrl(dev, acard->ctrl) < 0) in snd_card_cs423x_pnpc()
297 if (acard->mpu && mpu_port[dev] > 0) { in snd_card_cs423x_pnpc()
298 if (snd_cs423x_pnp_init_mpu(dev, acard->mpu) < 0) in snd_card_cs423x_pnpc()
327 struct snd_card_cs4236 *acard; in snd_cs423x_probe() local
332 acard = card->private_data; in snd_cs423x_probe()
348 acard->chip = chip; in snd_cs423x_probe()
451 struct snd_card_cs4236 *acard = card->private_data; in snd_cs423x_suspend() local
453 acard->chip->suspend(acard->chip); in snd_cs423x_suspend()
459 struct snd_card_cs4236 *acard = card->private_data; in snd_cs423x_resume() local
460 acard->chip->resume(acard->chip); in snd_cs423x_resume()