Searched refs:component (Results 1 - 25 of 891) sorted by last modified time

1234567891011>>

/linux-master/sound/usb/
H A Dcard.c609 char component[14]; local
663 sprintf(component, "USB%04x:%04x",
665 snd_component_add(card, component);
/linux-master/sound/soc/xilinx/
H A Dxlnx_formatter_pcm.c318 static int xlnx_formatter_set_sysclk(struct snd_soc_component *component, argument
321 struct xlnx_pcm_drv_data *adata = dev_get_drvdata(component->dev);
327 static int xlnx_formatter_pcm_open(struct snd_soc_component *component, argument
335 struct xlnx_pcm_drv_data *adata = dev_get_drvdata(component->dev);
374 dev_info(component->dev,
387 dev_err(component->dev,
397 dev_err(component->dev,
406 dev_err(component->dev,
419 static int xlnx_formatter_pcm_close(struct snd_soc_component *component, argument
428 dev_err(component
439 xlnx_formatter_pcm_pointer(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
454 xlnx_formatter_pcm_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
539 xlnx_formatter_pcm_trigger(struct snd_soc_component *component, struct snd_pcm_substream *substream, int cmd) argument
567 xlnx_formatter_pcm_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) argument
[all...]
/linux-master/sound/soc/uniphier/
H A Daio-dma.c96 static int uniphier_aiodma_open(struct snd_soc_component *component, argument
107 static int uniphier_aiodma_prepare(struct snd_soc_component *component, argument
134 static int uniphier_aiodma_trigger(struct snd_soc_component *component, argument
170 struct snd_soc_component *component,
194 static int uniphier_aiodma_mmap(struct snd_soc_component *component, argument
205 static int uniphier_aiodma_new(struct snd_soc_component *component, argument
169 uniphier_aiodma_pointer( struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
/linux-master/sound/soc/tegra/
H A Dtegra_pcm.c76 int tegra_pcm_open(struct snd_soc_component *component, argument
127 int tegra_pcm_close(struct snd_soc_component *component, argument
141 int tegra_pcm_hw_params(struct snd_soc_component *component, argument
187 snd_pcm_uframes_t tegra_pcm_pointer(struct snd_soc_component *component, argument
207 int tegra_pcm_construct(struct snd_soc_component *component, argument
210 struct device *dev = component->dev;
/linux-master/sound/soc/sunxi/
H A Dsun8i-codec.c225 struct snd_soc_component *component; member in struct:sun8i_codec
818 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); local
819 struct sun8i_codec *scodec = snd_soc_component_get_drvdata(component);
1291 static int sun8i_codec_component_probe(struct snd_soc_component *component) argument
1293 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component);
1294 struct sun8i_codec *scodec = snd_soc_component_get_drvdata(component);
1297 scodec->component = component;
1337 struct snd_soc_dapm_context *dapm = &scodec->component->card->dapm;
1502 static int sun8i_codec_enable_jack_detect(struct snd_soc_component *component, argument
1547 sun8i_codec_disable_jack_detect(struct snd_soc_component *component) argument
1566 sun8i_codec_component_set_jack(struct snd_soc_component *component, struct snd_soc_jack *jack, void *data) argument
[all...]
H A Dsun50i-codec-analog.c309 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); local
312 regmap_update_bits(component->regmap, SUN50I_ADDA_JACK_MIC_CTRL,
331 * Due to this component and the codec belonging to separate DAPM
495 static int sun50i_a64_codec_set_bias_level(struct snd_soc_component *component, argument
498 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component);
503 regmap_clear_bits(component->regmap, SUN50I_ADDA_JACK_MIC_CTRL,
507 regmap_set_bits(component->regmap, SUN50I_ADDA_HP_CTRL,
511 regmap_clear_bits(component->regmap, SUN50I_ADDA_HP_CTRL,
515 regmap_update_bits(component->regmap, SUN50I_ADDA_JACK_MIC_CTRL,
/linux-master/sound/soc/sof/
H A Dsof-priv.h272 struct snd_soc_component *component,
282 struct snd_soc_component *component,
635 struct snd_soc_component *component; member in struct:snd_sof_dev
H A Dsof-client-probes.c36 struct snd_soc_card *card = snd_soc_component_get_drvdata(dai->component);
62 struct snd_soc_card *card = snd_soc_component_get_drvdata(dai->component);
101 struct snd_soc_card *card = snd_soc_component_get_drvdata(dai->component);
131 struct snd_soc_card *card = snd_soc_component_get_drvdata(dai->component);
143 struct snd_soc_card *card = snd_soc_component_get_drvdata(dai->component);
159 static int sof_probes_compr_copy(struct snd_soc_component *component, argument
378 .name = "sof-probes-component",
441 /* register probes component driver and dai */
H A Dsof-audio.h24 #define SOF_AUDIO_PCM_DRV_NAME "sof-audio-component"
123 int (*hw_params)(struct snd_soc_component *component, struct snd_pcm_substream *substream,
126 int (*hw_free)(struct snd_soc_component *component, struct snd_pcm_substream *substream);
127 int (*trigger)(struct snd_soc_component *component, struct snd_pcm_substream *substream,
132 int (*pointer)(struct snd_soc_component *component,
135 snd_pcm_sframes_t (*delay)(struct snd_soc_component *component,
324 /* PCM stream, mapped to FW component */
H A Dsof-audio.c846 ret = pcm_ops->hw_free(sdev->component, substream);
983 struct snd_soc_component *component = local
986 snd_sof_find_dai(component, (char *)rtd->dai_link->name);
987 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
H A Dpcm.c24 static int create_page_table(struct snd_soc_component *component, argument
33 spcm = snd_sof_find_spcm_dai(component, rtd);
37 return snd_sof_create_page_table(component->dev, dmab,
64 struct snd_soc_component *component = local
68 spcm = snd_sof_find_spcm_dai(component, rtd);
70 dev_err(component->dev,
122 static int sof_pcm_hw_params(struct snd_soc_component *component, argument
126 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
138 spcm = snd_sof_find_spcm_dai(component, rtd);
147 ret = pcm_ops->hw_free(component, substrea
194 sof_pcm_hw_free(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
220 sof_pcm_prepare(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
268 sof_pcm_trigger(struct snd_soc_component *component, struct snd_pcm_substream *substream, int cmd) argument
381 sof_pcm_pointer(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
420 sof_pcm_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
485 sof_pcm_close(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
522 sof_pcm_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) argument
594 struct snd_soc_component *component = local
627 sof_pcm_probe(struct snd_soc_component *component) argument
666 sof_pcm_remove(struct snd_soc_component *component) argument
672 sof_pcm_ack(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
680 sof_pcm_delay(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
[all...]
H A Dops.h528 struct snd_soc_component *component,
532 return sof_ops(sdev)->get_dai_frame_counter(sdev, component,
540 struct snd_soc_component *component,
544 return sof_ops(sdev)->get_host_byte_counter(sdev, component,
527 snd_sof_pcm_get_dai_frame_counter(struct snd_sof_dev *sdev, struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
539 snd_sof_pcm_get_host_byte_counter(struct snd_sof_dev *sdev, struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
H A Dipc4-pcm.c376 static int sof_ipc4_trigger_pipelines(struct snd_soc_component *component, argument
379 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
394 spcm = snd_sof_find_spcm_dai(component, rtd);
525 static int sof_ipc4_pcm_trigger(struct snd_soc_component *component, argument
543 dev_err(component->dev, "%s: unhandled trigger cmd %d\n", __func__, cmd);
548 return sof_ipc4_trigger_pipelines(component, substream, state, cmd);
551 static int sof_ipc4_pcm_hw_free(struct snd_soc_component *component, argument
555 return sof_ipc4_trigger_pipelines(component, substream, SOF_IPC4_PIPE_RESET, 0);
646 struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, SOF_AUDIO_PCM_DRV_NAME); local
647 struct snd_sof_dai *dai = snd_sof_find_dai(component, rt
883 sof_ipc4_pcm_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_sof_platform_stream_params *platform_params) argument
957 sof_ipc4_pcm_pointer(struct snd_soc_component *component, struct snd_pcm_substream *substream, snd_pcm_uframes_t *pointer) argument
1073 sof_ipc4_pcm_delay(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
[all...]
H A Dipc3.c872 struct snd_soc_component *scomp = sdev->component;
907 struct snd_soc_component *scomp = sdev->component;
958 /* component notifications from firmware */
970 dev_err(sdev->dev, "unhandled component message %#x\n", msg_type);
H A Dipc3-pcm.c16 static int sof_ipc3_pcm_hw_free(struct snd_soc_component *component, argument
19 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
24 spcm = snd_sof_find_spcm_dai(component, rtd);
39 static int sof_ipc3_pcm_hw_params(struct snd_soc_component *component, argument
44 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
53 spcm = snd_sof_find_spcm_dai(component, rtd);
120 dev_dbg(component->dev, "stream_tag %d", pcm.params.stream_tag);
126 dev_err(component->dev, "HW params ipc failed for stream %d\n",
134 dev_err(component->dev, "%s: invalid stream data offset for PCM %d\n",
142 static int sof_ipc3_pcm_trigger(struct snd_soc_component *component, argument
212 struct snd_soc_component *component = snd_soc_rtdcom_lookup(rtd, SOF_AUDIO_PCM_DRV_NAME); local
[all...]
/linux-master/sound/soc/sof/mediatek/mt8195/
H A Dmt8195.c427 struct snd_soc_component *scomp = sdev->component;
/linux-master/sound/soc/sof/mediatek/mt8186/
H A Dmt8186.c408 struct snd_soc_component *scomp = sdev->component;
/linux-master/sound/soc/sof/intel/
H A Dhda.h672 struct snd_soc_component *component,
675 struct snd_soc_component *component,
1036 struct snd_soc_component *component = swidget->scomp; local
1038 return snd_soc_component_get_drvdata(component);
H A Dhda-stream.c1099 * @component: ASoC component
1105 struct snd_soc_component *component,
1137 * @component: ASoC component
1143 struct snd_soc_component *component,
1104 hda_dsp_get_stream_llp(struct snd_sof_dev *sdev, struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
1142 hda_dsp_get_stream_ldp(struct snd_sof_dev *sdev, struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
H A Dhda-pcm.c184 struct snd_soc_component *scomp = sdev->component;
217 struct snd_soc_component *scomp = sdev->component;
H A Dhda-dai-ops.c223 return snd_hdac_ext_bus_get_hlink_by_name(bus, codec_dai->component->name);
/linux-master/sound/soc/
H A Dsoc-topology.c21 // firmware topology data is passed to component drivers for bespoke handling.
37 * and process objects in the following order. This guarantees the component
62 /* component caller */
75 /* optional fw loading callbacks to component drivers */
241 /* pass vendor data to component driver for processing */
264 /* optionally pass new dynamic widget to component driver. This is mainly for
276 /* optionally pass new dynamic widget to component driver. This is mainly for
288 /* pass DAI configurations to component driver for extra initialization */
300 /* pass link configurations to component driver for extra initialization */
310 /* tell the component drive
[all...]
H A Dsoc-topology-test.c41 * helper struct we use when registering component, as we load topology during
42 * component probe, we need to pass struct kunit somehow to probe function, so
53 static int d_probe(struct snd_soc_component *component) argument
56 container_of(component, struct kunit_soc_component, comp);
59 ret = snd_soc_tplg_component_load(component, NULL, &kunit_comp->fw);
66 static void d_remove(struct snd_soc_component *component) argument
69 container_of(component, struct kunit_soc_component, comp);
72 ret = snd_soc_tplg_component_remove(component);
210 // Test passing NULL component as parameter to snd_soc_tplg_component_load
214 * topology load during component initializatio
217 d_probe_null_comp(struct snd_soc_component *component) argument
321 d_probe_null_fw(struct snd_soc_component *component) argument
[all...]
H A Dsoc-pcm.c295 struct snd_soc_component *component; local
305 for_each_rtd_components(rtd, i, component) {
306 if (component->num_dai)
308 component->active += action;
324 struct snd_soc_component *component; local
330 for_each_rtd_components(rtd, i, component)
331 if (component->driver->use_pmdown_time)
673 struct snd_soc_component *component; local
676 for_each_rtd_components(rtd, i, component) {
677 ret = snd_soc_component_module_get_when_open(component, substrea
693 struct snd_soc_component *component; local
710 struct snd_soc_component *component; local
811 struct snd_soc_component *component; local
1142 struct snd_soc_component *component; local
2932 struct snd_soc_component *component; local
[all...]
H A Dsoc-generic-dmaengine-pcm.c76 static int dmaengine_pcm_hw_params(struct snd_soc_component *component, argument
80 struct dmaengine_pcm *pcm = soc_component_to_pcm(component);
98 dmaengine_pcm_set_runtime_hwparams(struct snd_soc_component *component, argument
102 struct dmaengine_pcm *pcm = soc_component_to_pcm(component);
148 static int dmaengine_pcm_open(struct snd_soc_component *component, argument
151 struct dmaengine_pcm *pcm = soc_component_to_pcm(component);
155 ret = dmaengine_pcm_set_runtime_hwparams(component, substream);
162 static int dmaengine_pcm_close(struct snd_soc_component *component, argument
168 static int dmaengine_pcm_trigger(struct snd_soc_component *component, argument
175 struct snd_soc_component *component,
174 dmaengine_pcm_compat_request_channel( struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream) argument
219 dmaengine_pcm_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) argument
278 dmaengine_pcm_pointer( struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
290 dmaengine_copy(struct snd_soc_component *component, struct snd_pcm_substream *substream, int channel, unsigned long hwoff, struct iov_iter *iter, unsigned long bytes) argument
482 struct snd_soc_component *component; local
[all...]

Completed in 472 milliseconds

1234567891011>>