Lines Matching refs:pfdev
366 struct platform_device *pfdev; member
787 struct platform_device *pfdev; in snd_ml403_ac97cr_irq() local
794 pfdev = ml403_ac97cr->pfdev; in snd_ml403_ac97cr_irq()
797 cmp_irq = platform_get_irq(pfdev, 0); in snd_ml403_ac97cr_irq()
809 cmp_irq = platform_get_irq(pfdev, 1); in snd_ml403_ac97cr_irq()
1112 snd_ml403_ac97cr_create(struct snd_card *card, struct platform_device *pfdev, argument
1130 ml403_ac97cr->pfdev = pfdev;
1139 resource = platform_get_resource(pfdev, IORESOURCE_MEM, 0);
1155 irq = platform_get_irq(pfdev, 0);
1157 dev_name(&pfdev->dev), (void *)ml403_ac97cr)) {
1168 irq = platform_get_irq(pfdev, 1);
1170 dev_name(&pfdev->dev), (void *)ml403_ac97cr)) {
1271 static int __devinit snd_ml403_ac97cr_probe(struct platform_device *pfdev) argument
1276 int dev = pfdev->id;
1286 err = snd_ml403_ac97cr_create(card, pfdev, &ml403_ac97cr);
1313 snd_card_set_dev(card, &pfdev->dev);
1320 platform_set_drvdata(pfdev, card);
1325 static int snd_ml403_ac97cr_remove(struct platform_device *pfdev) argument
1327 snd_card_free(platform_get_drvdata(pfdev));
1328 platform_set_drvdata(pfdev, NULL);