Lines Matching refs:acard

259 static int snd_card_cs423x_pnp(int dev, struct snd_card_cs4236 *acard,  in snd_card_cs423x_pnp()  argument
263 acard->wss = pdev; in snd_card_cs423x_pnp()
264 if (snd_cs423x_pnp_init_wss(dev, acard->wss) < 0) in snd_card_cs423x_pnp()
273 static int snd_card_cs423x_pnpc(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnpc() argument
277 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_cs423x_pnpc()
278 if (acard->wss == NULL) in snd_card_cs423x_pnpc()
280 acard->ctrl = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_cs423x_pnpc()
281 if (acard->ctrl == NULL) in snd_card_cs423x_pnpc()
284 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_card_cs423x_pnpc()
285 if (acard->mpu == NULL) in snd_card_cs423x_pnpc()
290 if (snd_cs423x_pnp_init_wss(dev, acard->wss) < 0) in snd_card_cs423x_pnpc()
294 if (acard->ctrl && cport[dev] > 0) { in snd_card_cs423x_pnpc()
295 if (snd_cs423x_pnp_init_ctrl(dev, acard->ctrl) < 0) in snd_card_cs423x_pnpc()
299 if (acard->mpu && mpu_port[dev] > 0) { in snd_card_cs423x_pnpc()
300 if (snd_cs423x_pnp_init_mpu(dev, acard->mpu) < 0) in snd_card_cs423x_pnpc()
329 struct snd_card_cs4236 *acard; in snd_cs423x_probe() local
334 acard = card->private_data; in snd_cs423x_probe()
351 acard->chip = chip; in snd_cs423x_probe()
454 struct snd_card_cs4236 *acard = card->private_data; in snd_cs423x_suspend() local
456 acard->chip->suspend(acard->chip); in snd_cs423x_suspend()
462 struct snd_card_cs4236 *acard = card->private_data; in snd_cs423x_resume() local
463 acard->chip->resume(acard->chip); in snd_cs423x_resume()