Lines Matching refs:devptr
240 static void snd_sh_dac_remove(struct platform_device *devptr) in snd_sh_dac_remove() argument
242 snd_card_free(platform_get_drvdata(devptr)); in snd_sh_dac_remove()
297 struct platform_device *devptr, in snd_sh_dac_create() argument
321 chip->pdata = devptr->dev.platform_data; in snd_sh_dac_create()
341 static int snd_sh_dac_probe(struct platform_device *devptr) in snd_sh_dac_probe() argument
347 err = snd_card_new(&devptr->dev, index, id, THIS_MODULE, 0, &card); in snd_sh_dac_probe()
349 dev_err(&devptr->dev, "cannot allocate the card\n"); in snd_sh_dac_probe()
353 err = snd_sh_dac_create(card, devptr, &chip); in snd_sh_dac_probe()
363 dev_info(&devptr->dev, "%s %s\n", card->longname, card->shortname); in snd_sh_dac_probe()
369 dev_info(&devptr->dev, "ALSA driver for SuperH DAC audio\n"); in snd_sh_dac_probe()
371 platform_set_drvdata(devptr, card); in snd_sh_dac_probe()