Home
last modified time | relevance | path

Searched refs:private (Results 1 – 25 of 58) sorted by relevance

123

/sound/usb/
Dmixer_scarlett_gen2.c1025 static void scarlett2_fill_request_header(struct scarlett2_data *private, in scarlett2_fill_request_header() argument
1030 u16 seq = private->scarlett2_seq++; in scarlett2_fill_request_header()
1062 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb() local
1081 mutex_lock(&private->usb_mutex); in scarlett2_usb()
1085 scarlett2_fill_request_header(private, req, cmd, req_size); in scarlett2_usb()
1090 err = scarlett2_usb_tx(dev, private->bInterfaceNumber, in scarlett2_usb()
1104 err = scarlett2_usb_rx(dev, private->bInterfaceNumber, in scarlett2_usb()
1147 mutex_unlock(&private->usb_mutex); in scarlett2_usb()
1175 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_get_config() local
1176 const struct scarlett2_device_info *info = private->info; in scarlett2_usb_get_config()
[all …]
Dmixer_s1810c.c338 struct s1810_mixer_state *private = mixer->private_data; in snd_s1810c_get_switch_state() local
343 mutex_lock(&private->usb_mutex); in snd_s1810c_get_switch_state()
345 ctl_idx, &private->seqnum); in snd_s1810c_get_switch_state()
351 mutex_unlock(&private->usb_mutex); in snd_s1810c_get_switch_state()
365 struct s1810_mixer_state *private = mixer->private_data; in snd_s1810c_set_switch_state() local
371 mutex_lock(&private->usb_mutex); in snd_s1810c_set_switch_state()
373 mutex_unlock(&private->usb_mutex); in snd_s1810c_set_switch_state()
385 struct s1810_mixer_state *private = mixer->private_data; in snd_s1810c_switch_get() local
391 mutex_lock(&private->data_mutex); in snd_s1810c_switch_get()
406 mutex_unlock(&private->data_mutex); in snd_s1810c_switch_get()
[all …]
Dpcm.c776 struct snd_usb_substream *subs = rule->private; in hw_rule_rate()
818 struct snd_usb_substream *subs = rule->private; in hw_rule_channels()
857 struct snd_usb_substream *subs = rule->private; in hw_rule_format()
875 struct snd_usb_substream *subs = rule->private; in hw_rule_period_time()
936 struct snd_usb_substream *subs = rule->private; in hw_rule_format_implicit_fb()
951 struct snd_usb_substream *subs = rule->private; in hw_rule_rate_implicit_fb()
967 struct snd_usb_substream *subs = rule->private; in hw_rule_period_size_implicit_fb()
984 struct snd_usb_substream *subs = rule->private; in hw_rule_periods_implicit_fb()
/sound/soc/sof/
Dtopology.c144 struct snd_sof_widget *swidget = w->dobj.private; in sof_keyword_dapm_event()
1294 dobj->private = scontrol; in sof_control_load()
1304 struct snd_sof_control *scontrol = dobj->private; in sof_control_unload()
1373 pipeline = swidget->private; in sof_pipeline_core_enable()
1519 struct snd_soc_tplg_private *private = &tw->priv; in sof_widget_load_dai() local
1534 ARRAY_SIZE(dai_tokens), private->array, in sof_widget_load_dai()
1535 le32_to_cpu(private->size)); in sof_widget_load_dai()
1538 le32_to_cpu(private->size)); in sof_widget_load_dai()
1543 ARRAY_SIZE(comp_tokens), private->array, in sof_widget_load_dai()
1544 le32_to_cpu(private->size)); in sof_widget_load_dai()
[all …]
Dcontrol.c73 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_get()
91 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_put()
120 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_volume_info()
144 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_switch_get()
160 struct snd_sof_control *scontrol = sm->dobj.private; in snd_sof_switch_put()
194 struct snd_sof_control *scontrol = se->dobj.private; in snd_sof_enum_get()
210 struct snd_sof_control *scontrol = se->dobj.private; in snd_sof_enum_put()
241 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_get()
275 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_put()
318 struct snd_sof_control *scontrol = be->dobj.private; in snd_sof_bytes_ext_put()
[all …]
Dsof-audio.c153 swidget->private; in snd_sof_pipeline_find()
178 if (!swidget->private) in sof_restore_pipelines()
199 dai = swidget->private; in sof_restore_pipelines()
220 pipeline = swidget->private; in sof_restore_pipelines()
224 hdr = swidget->private; in sof_restore_pipelines()
226 swidget->private, hdr->size, in sof_restore_pipelines()
245 if (!sroute->private) in sof_restore_pipelines()
248 connect = sroute->private; in sof_restore_pipelines()
Dsof-audio.h95 void *private; /* core does not touch this */ member
105 void *private; member
/sound/synth/emux/
Demux_effect.c89 struct snd_emux_effect_table *fx = chan->private; in effect_set_byte()
110 struct snd_emux_effect_table *fx = chan->private; in effect_set_word()
127 struct snd_emux_effect_table *fx = chan->private; in effect_get_offset()
174 fx = chan->private; in snd_emux_send_effect()
229 fx = chan->private; in snd_emux_setup_effect()
280 p->chset.channels[i].private = p->effect + i; in snd_emux_create_effect()
283 p->chset.channels[i].private = NULL; in snd_emux_create_effect()
Demux_synth.c132 struct snd_emux_effect_table *fx = chan->private; in snd_emux_note_on()
777 if (chan->private) { in calc_volume()
778 struct snd_emux_effect_table *fx = chan->private; in calc_volume()
839 if (chan->private) { in calc_pitch()
840 struct snd_emux_effect_table *fx = chan->private; in calc_pitch()
Demux_voice.h24 int snd_emux_event_input(struct snd_seq_event *ev, int direct, void *private,
/sound/soc/fsl/
Dfsl_easrc.c51 struct fsl_easrc_priv *easrc_priv = easrc->private; in fsl_easrc_iec958_put_bits()
66 struct fsl_easrc_priv *easrc_priv = easrc->private; in fsl_easrc_iec958_get_bits()
175 struct fsl_easrc_priv *easrc_priv = easrc->private; in fsl_easrc_set_rs_ratio()
176 struct fsl_easrc_ctx_priv *ctx_priv = ctx->private; in fsl_easrc_set_rs_ratio()
226 ctx_priv = ctx->private; in fsl_easrc_normalize_rates()
302 struct fsl_easrc_priv *easrc_priv = easrc->private; in fsl_easrc_resampler_config()
493 easrc_priv = easrc->private; in fsl_easrc_prefilter_config()
496 ctx_priv = ctx->private; in fsl_easrc_prefilter_config()
713 struct fsl_easrc_ctx_priv *ctx_priv = ctx->private; in fsl_easrc_max_ch_for_slot()
751 struct fsl_easrc_ctx_priv *ctx_priv = ctx->private; in fsl_easrc_config_one_slot()
[all …]
Dfsl_asrc_common.h51 void *private; member
102 void *private; member
Dfsl_asrc.c375 struct fsl_asrc_pair_priv *pair_priv = pair->private; in fsl_asrc_config_pair()
378 struct fsl_asrc_priv *asrc_priv = asrc->private; in fsl_asrc_config_pair()
639 struct fsl_asrc_priv *asrc_priv = asrc->private; in fsl_asrc_dai_startup()
657 struct fsl_asrc_pair_priv *pair_priv = pair->private; in fsl_asrc_select_clk()
694 struct fsl_asrc_priv *asrc_priv = asrc->private; in fsl_asrc_dai_hw_params()
697 struct fsl_asrc_pair_priv *pair_priv = pair->private; in fsl_asrc_dai_hw_params()
1083 asrc->private = asrc_priv; in fsl_asrc_probe()
1261 struct fsl_asrc_priv *asrc_priv = asrc->private; in fsl_asrc_runtime_resume()
1317 struct fsl_asrc_priv *asrc_priv = asrc->private; in fsl_asrc_runtime_suspend()
Dfsl_asrc_dma.c37 chan->private = param; in filter()
227 tmp_data = tmp_chan->private; in fsl_asrc_dma_hw_params()
234 tmp_data = tmp_chan->private; in fsl_asrc_dma_hw_params()
343 pair->private = (void *)pair + sizeof(struct fsl_asrc_pair); in fsl_asrc_dma_startup()
Dimx-pcm-dma.c27 chan->private = param; in filter()
/sound/pci/ice1712/
Dquartet.c676 struct qtet_kcontrol_private private = in qtet_enum_info() local
678 return snd_ctl_enum_info(uinfo, 1, ARRAY_SIZE(private.texts), in qtet_enum_info()
679 private.texts); in qtet_enum_info()
685 struct qtet_kcontrol_private private = in qtet_sw_get() local
689 (private.get_register(ice) & private.bit) ? 1 : 0; in qtet_sw_get()
696 struct qtet_kcontrol_private private = in qtet_sw_put() local
700 old = private.get_register(ice); in qtet_sw_put()
702 new = old | private.bit; in qtet_sw_put()
704 new = old & ~private.bit; in qtet_sw_put()
706 private.set_register(ice, new); in qtet_sw_put()
/sound/core/seq/oss/
Dseq_oss_init.c40 static int receive_announce(struct snd_seq_event *ev, int direct, void *private, int atomic, int ho…
46 static void free_devinfo(void *private);
123 receive_announce(struct snd_seq_event *ev, int direct, void *private, int atomic, int hop) in receive_announce() argument
388 free_devinfo(void *private) in free_devinfo() argument
390 struct seq_oss_devinfo *dp = (struct seq_oss_devinfo *)private; in free_devinfo()
Dseq_oss_midi.h30 int snd_seq_oss_midi_input(struct snd_seq_event *ev, int direct, void *private);
/sound/core/seq/
Dseq_midi_emul.c36 static void do_control(const struct snd_midi_op *ops, void *private,
46 static void sysex(const struct snd_midi_op *ops, void *private,
49 static void all_sounds_off(const struct snd_midi_op *ops, void *private,
51 static void all_notes_off(const struct snd_midi_op *ops, void *private,
478 sysex(const struct snd_midi_op *ops, void *private, unsigned char *buf, int len, in sysex() argument
585 ops->sysex(private, buf - 1, len + 1, parsed, chset); in sysex()
633 p->private = NULL; in snd_midi_channel_init()
/sound/core/
Dpcm_drm_eld.c31 const u8 *sad, *eld = rule->private; in eld_limit_rates()
60 const u8 *sad, *eld = rule->private; in eld_limit_channels()
Dpcm_lib.c1121 snd_pcm_hw_rule_func_t func, void *private, in snd_pcm_hw_rule_add() argument
1145 c->private = private; in snd_pcm_hw_rule_add()
1254 struct snd_pcm_hw_constraint_list *list = rule->private; in snd_pcm_hw_rule_list()
1284 struct snd_pcm_hw_constraint_ranges *r = rule->private; in snd_pcm_hw_rule_ranges()
1315 const struct snd_pcm_hw_constraint_ratnums *r = rule->private; in snd_pcm_hw_rule_ratnums()
1350 const struct snd_pcm_hw_constraint_ratdens *r = rule->private; in snd_pcm_hw_rule_ratdens()
1384 unsigned int l = (unsigned long) rule->private; in snd_pcm_hw_rule_msbits()
1430 unsigned long step = (unsigned long) rule->private; in snd_pcm_hw_rule_step()
1487 unsigned int base_rate = (unsigned int)(uintptr_t)rule->private; in snd_pcm_hw_rule_noresample_func()
/sound/soc/stm/
Dstm32_adfsdm.c166 static int stm32_afsdm_pcm_cb(const void *data, size_t size, void *private) in stm32_afsdm_pcm_cb() argument
168 struct stm32_adfsdm_priv *priv = private; in stm32_afsdm_pcm_cb()
296 static int stm32_adfsdm_dummy_cb(const void *data, void *private) in stm32_adfsdm_dummy_cb() argument
/sound/soc/cirrus/
Dep93xx-pcm.c43 chan->private = data; in ep93xx_pcm_dma_filter()
/sound/soc/sh/rcar/
Ddebugfs.c19 struct rsnd_dai_stream *io = m->private; in rsnd_debugfs_show()
/sound/firewire/motu/
Dmotu-pcm.c14 struct snd_motu_packet_format *formats = rule->private; in motu_rate_constraint()
43 struct snd_motu_packet_format *formats = rule->private; in motu_channels_constraint()

123