Lines Matching refs:adev
22 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_reset() local
23 struct ac97_controller *actrl = adev->ac97_ctrl; in compat_ac97_reset()
31 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_warm_reset() local
32 struct ac97_controller *actrl = adev->ac97_ctrl; in compat_ac97_warm_reset()
41 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_write() local
42 struct ac97_controller *actrl = adev->ac97_ctrl; in compat_ac97_write()
50 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_read() local
51 struct ac97_controller *actrl = adev->ac97_ctrl; in compat_ac97_read()
67 struct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev) in snd_ac97_compat_alloc() argument
76 ac97->private_data = adev; in snd_ac97_compat_alloc()
79 ac97->dev.parent = &adev->dev; in snd_ac97_compat_alloc()
81 dev_set_name(&ac97->dev, "%s-compat", dev_name(&adev->dev)); in snd_ac97_compat_alloc()
101 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in snd_ac97_reset() local
102 struct ac97_controller *actrl = adev->ac97_ctrl; in snd_ac97_reset()
107 scanned = snd_ac97_bus_scan_one(actrl, adev->num); in snd_ac97_reset()
108 if (ac97_ids_match(scanned, adev->vendor_id, id_mask)) in snd_ac97_reset()
114 scanned = snd_ac97_bus_scan_one(actrl, adev->num); in snd_ac97_reset()
115 if (ac97_ids_match(scanned, adev->vendor_id, id_mask)) in snd_ac97_reset()