Home
last modified time | relevance | path

Searched refs:device_data (Results 1 – 25 of 38) sorted by relevance

12

/sound/core/
Ddevice.c30 void *device_data, const struct snd_device_ops *ops) in snd_device_new() argument
35 if (snd_BUG_ON(!card || !device_data || !ops)) in snd_device_new()
44 dev->device_data = device_data; in snd_device_new()
82 static struct snd_device *look_for_dev(struct snd_card *card, void *device_data) in look_for_dev() argument
87 if (dev->device_data == device_data) in look_for_dev()
106 void snd_device_disconnect(struct snd_card *card, void *device_data) in snd_device_disconnect() argument
110 if (snd_BUG_ON(!card || !device_data)) in snd_device_disconnect()
112 dev = look_for_dev(card, device_data); in snd_device_disconnect()
117 device_data, __builtin_return_address(0)); in snd_device_disconnect()
130 void snd_device_free(struct snd_card *card, void *device_data) in snd_device_free() argument
[all …]
Dseq_device.c156 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_free()
167 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_register()
180 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_disconnect()
Dhwdep.c406 struct snd_hwdep *hwdep = device->device_data; in snd_hwdep_dev_free()
417 struct snd_hwdep *hwdep = device->device_data; in snd_hwdep_dev_register()
459 struct snd_hwdep *hwdep = device->device_data; in snd_hwdep_dev_disconnect()
Djack.c43 struct snd_jack *jack = device->device_data; in snd_jack_dev_disconnect()
65 struct snd_jack *jack = device->device_data; in snd_jack_dev_free()
90 struct snd_jack *jack = device->device_data; in snd_jack_dev_register()
Dcompress_offload.c1059 if (snd_BUG_ON(!device || !device->device_data)) in snd_compress_dev_register()
1061 compr = device->device_data; in snd_compress_dev_register()
1081 compr = device->device_data; in snd_compress_dev_disconnect()
1154 compr = device->device_data; in snd_compress_dev_free()
Dpcm.c880 struct snd_pcm *pcm = device->device_data; in snd_pcm_dev_free()
1056 if (snd_BUG_ON(!device || !device->device_data)) in snd_pcm_dev_register()
1058 pcm = device->device_data; in snd_pcm_dev_register()
1098 struct snd_pcm *pcm = device->device_data; in snd_pcm_dev_disconnect()
Dtimer.c1013 struct snd_timer *timer = device->device_data; in snd_timer_dev_free()
1019 struct snd_timer *timer = dev->device_data; in snd_timer_dev_register()
1059 struct snd_timer *timer = device->device_data; in snd_timer_dev_disconnect()
1129 dev.device_data = timer; in snd_timer_global_register()
Drawmidi.c1851 struct snd_rawmidi *rmidi = device->device_data; in snd_rawmidi_dev_free()
1870 struct snd_rawmidi *rmidi = device->device_data; in snd_rawmidi_dev_register()
1958 struct snd_rawmidi *rmidi = device->device_data; in snd_rawmidi_dev_disconnect()
Dcontrol.c2261 struct snd_card *card = device->device_data; in snd_ctl_dev_register()
2283 struct snd_card *card = device->device_data; in snd_ctl_dev_disconnect()
2310 struct snd_card *card = device->device_data; in snd_ctl_dev_free()
/sound/aoa/core/
Dalsa.c62 void *device_data, const struct snd_device_ops *ops) in aoa_snd_device_new() argument
69 err = snd_device_new(card, type, device_data, ops); in aoa_snd_device_new()
74 err = snd_device_register(card, device_data); in aoa_snd_device_new()
80 snd_device_free(card, device_data); in aoa_snd_device_new()
/sound/pci/hda/
Dhda_beep.c163 struct hda_beep *beep = device->device_data; in beep_dev_register()
174 struct hda_beep *beep = device->device_data; in beep_dev_disconnect()
187 struct hda_beep *beep = device->device_data; in beep_dev_free()
Dhda_tegra.c213 struct azx *chip = device->device_data; in hda_tegra_dev_disconnect()
224 struct azx *chip = device->device_data; in hda_tegra_dev_free()
/sound/aoa/
Daoa.h119 void *device_data, const struct snd_device_ops *ops);
/sound/pcmcia/pdaudiocf/
Dpdaudiocf.c72 struct snd_pdacf *chip = device->device_data; in snd_pdacf_dev_free()
/sound/drivers/opl4/
Dopl4_lib.c174 struct snd_opl4 *opl4 = device->device_data; in snd_opl4_dev_free()
/sound/i2c/
Di2c.c61 struct snd_i2c_bus *bus = device->device_data; in snd_i2c_bus_dev_free()
/sound/sh/
Dsh_dac_audio.c278 struct snd_sh_dac *chip = device->device_data; in snd_sh_dac_dev_free()
/sound/drivers/opl3/
Dopl3_lib.c329 struct snd_opl3 *opl3 = device->device_data; in snd_opl3_dev_free()
/sound/isa/gus/
Dgus_main.c113 struct snd_gus_card *gus = device->device_data; in snd_gus_dev_free()
/sound/i2c/other/
Dak4117.c56 struct ak4117 *chip = device->device_data; in snd_ak4117_dev_free()
Dak4113.c51 struct ak4113 *chip = device->device_data; in snd_ak4113_dev_free()
Dak4114.c61 struct ak4114 *chip = device->device_data; in snd_ak4114_dev_free()
/sound/pci/
Dak4531_codec.c334 struct snd_ak4531 *ak4531 = device->device_data; in snd_ak4531_dev_free()
/sound/pci/ac97/
Dac97_codec.c998 struct snd_ac97_bus *bus = device->device_data; in snd_ac97_bus_dev_free()
1020 struct snd_ac97 *ac97 = device->device_data; in snd_ac97_dev_free()
2000 struct snd_ac97 *ac97 = device->device_data; in snd_ac97_dev_register()
2022 struct snd_ac97 *ac97 = device->device_data; in snd_ac97_dev_disconnect()
/sound/sparc/
Damd7930.c909 struct snd_amd7930 *amd = device->device_data; in snd_amd7930_dev_free()

12