Home
last modified time | relevance | path

Searched refs:private_data (Results 1 – 25 of 531) sorted by relevance

12345678910>>...22

/sound/core/seq/
Dseq_virmidi.c102 void *private_data, int atomic, int hop) in snd_virmidi_event_input() argument
106 rdev = private_data; in snd_virmidi_event_input()
117 struct snd_virmidi *vmidi = substream->runtime->private_data; in snd_virmidi_input_trigger()
166 struct snd_virmidi *vmidi = substream->runtime->private_data; in snd_virmidi_output_trigger()
178 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; in snd_virmidi_input_open()
193 runtime->private_data = vmidi; in snd_virmidi_input_open()
208 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; in snd_virmidi_output_open()
226 runtime->private_data = vmidi; in snd_virmidi_output_open()
235 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; in snd_virmidi_input_close()
236 struct snd_virmidi *vmidi = substream->runtime->private_data; in snd_virmidi_input_close()
[all …]
Dseq_midi.c72 msynth = runtime->private_data; in snd_midi_input_event()
115 void *private_data, int atomic, int hop) in event_process_midi() argument
117 struct seq_midisynth *msynth = private_data; in event_process_midi()
162 static int midisynth_subscribe(void *private_data, struct snd_seq_port_subscribe *info) in midisynth_subscribe() argument
165 struct seq_midisynth *msynth = private_data; in midisynth_subscribe()
187 runtime->private_data = msynth; in midisynth_subscribe()
193 static int midisynth_unsubscribe(void *private_data, struct snd_seq_port_subscribe *info) in midisynth_unsubscribe() argument
196 struct seq_midisynth *msynth = private_data; in midisynth_unsubscribe()
205 static int midisynth_use(void *private_data, struct snd_seq_port_subscribe *info) in midisynth_use() argument
208 struct seq_midisynth *msynth = private_data; in midisynth_use()
[all …]
Dseq_ports.h41 int (*open)(void *private_data, struct snd_seq_port_subscribe *info);
42 int (*close)(void *private_data, struct snd_seq_port_subscribe *info);
57 int (*event_input)(struct snd_seq_event *ev, int direct, void *private_data,
59 void (*private_free)(void *private_data);
60 void *private_data; member
/sound/drivers/opl4/
Dopl4_seq.c61 static int snd_opl4_seq_use(void *private_data, struct snd_seq_port_subscribe *info) in snd_opl4_seq_use() argument
63 struct snd_opl4 *opl4 = private_data; in snd_opl4_seq_use()
88 static int snd_opl4_seq_unuse(void *private_data, struct snd_seq_port_subscribe *info) in snd_opl4_seq_unuse() argument
90 struct snd_opl4 *opl4 = private_data; in snd_opl4_seq_unuse()
112 void *private_data, int atomic, int hop) in snd_opl4_seq_event_input() argument
114 struct snd_opl4 *opl4 = private_data; in snd_opl4_seq_event_input()
120 static void snd_opl4_seq_free_port(void *private_data) in snd_opl4_seq_free_port() argument
122 struct snd_opl4 *opl4 = private_data; in snd_opl4_seq_free_port()
144 opl4->chset->private_data = opl4; in snd_opl4_seq_probe()
163 pcallbacks.private_data = opl4; in snd_opl4_seq_probe()
/sound/firewire/tascam/
Dtascam-pcm.c45 struct snd_tscm *tscm = substream->private_data; in pcm_open()
82 struct snd_tscm *tscm = substream->private_data; in pcm_close()
92 struct snd_tscm *tscm = substream->private_data; in pcm_hw_params()
115 struct snd_tscm *tscm = substream->private_data; in pcm_hw_free()
131 struct snd_tscm *tscm = substream->private_data; in pcm_capture_prepare()
148 struct snd_tscm *tscm = substream->private_data; in pcm_playback_prepare()
165 struct snd_tscm *tscm = substream->private_data; in pcm_capture_trigger()
183 struct snd_tscm *tscm = substream->private_data; in pcm_playback_trigger()
201 struct snd_tscm *tscm = sbstrm->private_data; in pcm_capture_pointer()
208 struct snd_tscm *tscm = sbstrm->private_data; in pcm_playback_pointer()
[all …]
/sound/firewire/oxfw/
Doxfw-pcm.c148 struct snd_oxfw *oxfw = substream->private_data; in limit_to_current_params()
172 struct snd_oxfw *oxfw = substream->private_data; in pcm_open()
204 struct snd_oxfw *oxfw = substream->private_data; in pcm_close()
213 struct snd_oxfw *oxfw = substream->private_data; in pcm_capture_hw_params()
238 struct snd_oxfw *oxfw = substream->private_data; in pcm_playback_hw_params()
263 struct snd_oxfw *oxfw = substream->private_data; in pcm_capture_hw_free()
278 struct snd_oxfw *oxfw = substream->private_data; in pcm_playback_hw_free()
294 struct snd_oxfw *oxfw = substream->private_data; in pcm_capture_prepare()
309 struct snd_oxfw *oxfw = substream->private_data; in pcm_playback_prepare()
325 struct snd_oxfw *oxfw = substream->private_data; in pcm_capture_trigger()
[all …]
Doxfw-midi.c12 struct snd_oxfw *oxfw = substream->rmidi->private_data; in midi_capture_open()
39 struct snd_oxfw *oxfw = substream->rmidi->private_data; in midi_playback_open()
64 struct snd_oxfw *oxfw = substream->rmidi->private_data; in midi_capture_close()
79 struct snd_oxfw *oxfw = substream->rmidi->private_data; in midi_playback_close()
94 struct snd_oxfw *oxfw = substrm->rmidi->private_data; in midi_capture_trigger()
111 struct snd_oxfw *oxfw = substrm->rmidi->private_data; in midi_playback_trigger()
166 rmidi->private_data = oxfw; in snd_oxfw_create_midi()
/sound/firewire/digi00x/
Ddigi00x-pcm.c102 struct snd_dg00x *dg00x = substream->private_data; in pcm_open()
150 struct snd_dg00x *dg00x = substream->private_data; in pcm_close()
160 struct snd_dg00x *dg00x = substream->private_data; in pcm_hw_params()
183 struct snd_dg00x *dg00x = substream->private_data; in pcm_hw_free()
199 struct snd_dg00x *dg00x = substream->private_data; in pcm_capture_prepare()
215 struct snd_dg00x *dg00x = substream->private_data; in pcm_playback_prepare()
233 struct snd_dg00x *dg00x = substream->private_data; in pcm_capture_trigger()
251 struct snd_dg00x *dg00x = substream->private_data; in pcm_playback_trigger()
269 struct snd_dg00x *dg00x = sbstrm->private_data; in pcm_capture_pointer()
276 struct snd_dg00x *dg00x = sbstrm->private_data; in pcm_playback_pointer()
[all …]
/sound/drivers/opl3/
Dopl3_oss.c29 void *private_data, int atomic, int hop) in snd_opl3_oss_event_input() argument
31 struct snd_opl3 *opl3 = private_data; in snd_opl3_oss_event_input()
40 static void snd_opl3_oss_free_port(void *private_data) in snd_opl3_oss_free_port() argument
42 struct snd_opl3 *opl3 = private_data; in snd_opl3_oss_free_port()
58 opl3->oss_chset->private_data = opl3; in snd_opl3_oss_create_port()
64 callbacks.private_data = opl3; in snd_opl3_oss_create_port()
111 arg->private_data = opl3; in snd_opl3_init_seq_oss()
143 arg->private_data = opl3; in snd_opl3_open_seq_oss()
161 opl3 = arg->private_data; in snd_opl3_close_seq_oss()
184 opl3 = arg->private_data; in snd_opl3_load_patch_seq_oss()
Dopl3_seq.c90 static int snd_opl3_synth_use(void *private_data, struct snd_seq_port_subscribe * info) in snd_opl3_synth_use() argument
92 struct snd_opl3 *opl3 = private_data; in snd_opl3_synth_use()
117 static int snd_opl3_synth_unuse(void *private_data, struct snd_seq_port_subscribe * info) in snd_opl3_synth_unuse() argument
119 struct snd_opl3 *opl3 = private_data; in snd_opl3_synth_unuse()
142 void *private_data, int atomic, int hop) in snd_opl3_synth_event_input() argument
144 struct snd_opl3 *opl3 = private_data; in snd_opl3_synth_event_input()
152 static void snd_opl3_synth_free_port(void *private_data) in snd_opl3_synth_free_port() argument
154 struct snd_opl3 *opl3 = private_data; in snd_opl3_synth_free_port()
170 opl3->chset->private_data = opl3; in snd_opl3_synth_create_port()
178 callbacks.private_data = opl3; in snd_opl3_synth_create_port()
/sound/usb/
Dmixer_scarlett_gen2.c590 struct scarlett2_mixer_data *private = mixer->private_data; in scarlett2_usb()
722 struct scarlett2_mixer_data *private = mixer->private_data; in scarlett2_usb_set_config()
793 struct scarlett2_mixer_data *private = mixer->private_data; in scarlett2_usb_set_mix()
838 struct scarlett2_mixer_data *private = mixer->private_data; in scarlett2_usb_set_mux()
983 struct scarlett2_mixer_data *private = mixer->private_data; in scarlett2_update_volumes()
1014 struct usb_mixer_elem_info *elem = kctl->private_data; in scarlett2_volume_ctl_info()
1027 struct usb_mixer_elem_info *elem = kctl->private_data; in scarlett2_master_volume_ctl_get()
1029 struct scarlett2_mixer_data *private = mixer->private_data; in scarlett2_master_volume_ctl_get()
1044 struct usb_mixer_elem_info *elem = kctl->private_data; in scarlett2_volume_ctl_get()
1046 struct scarlett2_mixer_data *private = mixer->private_data; in scarlett2_volume_ctl_get()
[all …]
/sound/firewire/bebob/
Dbebob_pcm.c135 struct snd_bebob *bebob = substream->private_data; in pcm_open()
182 struct snd_bebob *bebob = substream->private_data; in pcm_close()
190 struct snd_bebob *bebob = substream->private_data; in pcm_hw_params()
213 struct snd_bebob *bebob = substream->private_data; in pcm_hw_free()
230 struct snd_bebob *bebob = substream->private_data; in pcm_capture_prepare()
242 struct snd_bebob *bebob = substream->private_data; in pcm_playback_prepare()
255 struct snd_bebob *bebob = substream->private_data; in pcm_capture_trigger()
273 struct snd_bebob *bebob = substream->private_data; in pcm_playback_trigger()
292 struct snd_bebob *bebob = sbstrm->private_data; in pcm_capture_pointer()
298 struct snd_bebob *bebob = sbstrm->private_data; in pcm_playback_pointer()
[all …]
/sound/synth/emux/
Demux_seq.c16 static int snd_emux_use(void *private_data, struct snd_seq_port_subscribe *info);
17 static int snd_emux_unuse(void *private_data, struct snd_seq_port_subscribe *info);
146 p->chset.private_data = p; in snd_emux_create_port()
154 callback->private_data = p; in snd_emux_create_port()
176 free_port(void *private_data) in free_port() argument
180 p = private_data; in free_port()
239 snd_emux_event_input(struct snd_seq_event *ev, int direct, void *private_data, in snd_emux_event_input() argument
244 port = private_data; in snd_emux_event_input()
306 snd_emux_use(void *private_data, struct snd_seq_port_subscribe *info) in snd_emux_use() argument
311 p = private_data; in snd_emux_use()
[all …]
Demux.c54 static int sf_sample_new(void *private_data, struct snd_sf_sample *sp, in sf_sample_new() argument
58 struct snd_emux *emu = private_data; in sf_sample_new()
63 static int sf_sample_free(void *private_data, struct snd_sf_sample *sp, in sf_sample_free() argument
66 struct snd_emux *emu = private_data; in sf_sample_free()
71 static void sf_sample_reset(void *private_data) in sf_sample_reset() argument
73 struct snd_emux *emu = private_data; in sf_sample_reset()
96 sf_cb.private_data = emu; in snd_emux_register()
/sound/firewire/fireworks/
Dfireworks_pcm.c175 struct snd_efw *efw = substream->private_data; in pcm_open()
216 struct snd_efw *efw = substream->private_data; in pcm_close()
224 struct snd_efw *efw = substream->private_data; in pcm_hw_params()
247 struct snd_efw *efw = substream->private_data; in pcm_hw_free()
263 struct snd_efw *efw = substream->private_data; in pcm_capture_prepare()
274 struct snd_efw *efw = substream->private_data; in pcm_playback_prepare()
286 struct snd_efw *efw = substream->private_data; in pcm_capture_trigger()
303 struct snd_efw *efw = substream->private_data; in pcm_playback_trigger()
321 struct snd_efw *efw = sbstrm->private_data; in pcm_capture_pointer()
326 struct snd_efw *efw = sbstrm->private_data; in pcm_playback_pointer()
[all …]
/sound/firewire/dice/
Ddice-pcm.c15 struct snd_dice *dice = substream->private_data; in dice_rate_constraint()
53 struct snd_dice *dice = substream->private_data; in dice_channels_constraint()
166 struct snd_dice *dice = substream->private_data; in pcm_open()
226 struct snd_dice *dice = substream->private_data; in pcm_close()
236 struct snd_dice *dice = substream->private_data; in pcm_hw_params()
259 struct snd_dice *dice = substream->private_data; in pcm_hw_free()
275 struct snd_dice *dice = substream->private_data; in capture_prepare()
289 struct snd_dice *dice = substream->private_data; in playback_prepare()
304 struct snd_dice *dice = substream->private_data; in capture_trigger()
322 struct snd_dice *dice = substream->private_data; in playback_trigger()
[all …]
/sound/isa/wavefront/
Dwavefront_midi.c104 if (card->private_data == NULL) in get_wavefront_midi()
107 acard = card->private_data; in get_wavefront_midi()
237 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_input_open()
240 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); in snd_wavefront_midi_input_open()
261 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_output_open()
264 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); in snd_wavefront_midi_output_open()
285 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_input_close()
288 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); in snd_wavefront_midi_input_close()
308 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_output_close()
311 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); in snd_wavefront_midi_output_close()
[all …]
/sound/firewire/fireface/
Dff-pcm.c141 struct snd_ff *ff = substream->private_data; in pcm_open()
194 struct snd_ff *ff = substream->private_data; in pcm_close()
204 struct snd_ff *ff = substream->private_data; in pcm_hw_params()
227 struct snd_ff *ff = substream->private_data; in pcm_hw_free()
243 struct snd_ff *ff = substream->private_data; in pcm_capture_prepare()
260 struct snd_ff *ff = substream->private_data; in pcm_playback_prepare()
277 struct snd_ff *ff = substream->private_data; in pcm_capture_trigger()
295 struct snd_ff *ff = substream->private_data; in pcm_playback_trigger()
313 struct snd_ff *ff = sbstrm->private_data; in pcm_capture_pointer()
320 struct snd_ff *ff = sbstrm->private_data; in pcm_playback_pointer()
[all …]
/sound/firewire/motu/
Dmotu-pcm.c135 struct snd_motu *motu = substream->private_data; in pcm_open()
185 struct snd_motu *motu = substream->private_data; in pcm_close()
195 struct snd_motu *motu = substream->private_data; in pcm_hw_params()
218 struct snd_motu *motu = substream->private_data; in pcm_hw_free()
234 struct snd_motu *motu = substream->private_data; in capture_prepare()
247 struct snd_motu *motu = substream->private_data; in playback_prepare()
261 struct snd_motu *motu = substream->private_data; in capture_trigger()
278 struct snd_motu *motu = substream->private_data; in playback_trigger()
296 struct snd_motu *motu = substream->private_data; in capture_pointer()
302 struct snd_motu *motu = substream->private_data; in playback_pointer()
[all …]
/sound/core/
Dsound_oss.c28 void *private_data; in snd_lookup_oss_minor_data() local
35 private_data = mreg->private_data; in snd_lookup_oss_minor_data()
36 if (private_data && mreg->card_ptr) in snd_lookup_oss_minor_data()
39 private_data = NULL; in snd_lookup_oss_minor_data()
41 return private_data; in snd_lookup_oss_minor_data()
86 const struct file_operations *f_ops, void *private_data) in snd_register_oss_device() argument
107 preg->private_data = private_data; in snd_register_oss_device()
Dsound.c96 void *private_data; in snd_lookup_minor_data() local
103 private_data = mreg->private_data; in snd_lookup_minor_data()
104 if (private_data && mreg->card_ptr) in snd_lookup_minor_data()
107 private_data = NULL; in snd_lookup_minor_data()
109 return private_data; in snd_lookup_minor_data()
248 void *private_data, struct device *device) in snd_register_device() argument
264 preg->private_data = private_data; in snd_register_device()
/sound/soc/sof/intel/
Dintel-ipc.c35 struct intel_stream *stream = substream->runtime->private_data; in intel_ipc_msg_data()
48 struct intel_stream *stream = substream->runtime->private_data; in intel_ipc_pcm_params()
74 substream->runtime->private_data = stream; in intel_pcm_open()
83 struct intel_stream *stream = substream->runtime->private_data; in intel_pcm_close()
85 substream->runtime->private_data = NULL; in intel_pcm_close()
/sound/pci/ctxfi/
Dctpcm.c105 struct ct_atc_pcm *apcm = runtime->private_data; in ct_atc_pcm_free_substream()
111 runtime->private_data = NULL; in ct_atc_pcm_free_substream()
153 runtime->private_data = apcm; in ct_pcm_playback_open()
180 struct ct_atc_pcm *apcm = substream->runtime->private_data; in ct_pcm_hw_params()
195 struct ct_atc_pcm *apcm = substream->runtime->private_data; in ct_pcm_hw_free()
209 struct ct_atc_pcm *apcm = runtime->private_data; in ct_pcm_playback_prepare()
230 struct ct_atc_pcm *apcm = runtime->private_data; in ct_pcm_playback_trigger()
256 struct ct_atc_pcm *apcm = runtime->private_data; in ct_pcm_playback_pointer()
300 runtime->private_data = apcm; in ct_pcm_capture_open()
322 struct ct_atc_pcm *apcm = runtime->private_data; in ct_pcm_capture_prepare()
[all …]
/sound/soc/intel/atom/
Dsst-mfld-platform-compress.c68 runtime->private_data = stream; in sst_platform_compr_open()
80 stream = cstream->runtime->private_data; in sst_platform_compr_free()
101 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in sst_platform_compr_set_params()
105 stream = cstream->runtime->private_data; in sst_platform_compr_set_params()
171 struct sst_runtime_stream *stream = cstream->runtime->private_data; in sst_platform_compr_trigger()
207 stream = cstream->runtime->private_data; in sst_platform_compr_pointer()
220 stream = cstream->runtime->private_data; in sst_platform_compr_ack()
231 cstream->runtime->private_data; in sst_platform_compr_get_caps()
240 cstream->runtime->private_data; in sst_platform_compr_get_codec_caps()
249 cstream->runtime->private_data; in sst_platform_compr_set_metadata()
/sound/ac97/
Dsnd_ac97_compat.c22 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_reset()
31 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_warm_reset()
41 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_write()
50 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_read()
76 ac97->private_data = adev; in snd_ac97_compat_alloc()
101 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in snd_ac97_reset()

12345678910>>...22