Home
last modified time | relevance | path

Searched refs:component (Results 201 – 225 of 1336) sorted by relevance

12345678910>>...54

/openbmc/linux/sound/soc/codecs/
H A Drt700.c528 struct snd_soc_component *component = in rt700_mux_get() local
557 struct snd_soc_component *component = in rt700_mux_put() local
639 struct snd_soc_component *component = in rt700_dac_front_event() local
659 struct snd_soc_component *component = in rt700_dac_surround_event() local
679 struct snd_soc_component *component = in rt700_adc_09_event() local
699 struct snd_soc_component *component = in rt700_adc_08_event() local
719 struct snd_soc_component *component = in rt700_hpo_mux_event() local
744 struct snd_soc_component *component = in rt700_spk_pga_event() local
828 rt700->component = component; in rt700_probe()
900 struct snd_soc_component *component = dai->component; in rt700_pcm_hw_params() local
[all …]
H A Dtfa9879.c27 struct snd_soc_component *component = dai->component; in tfa9879_hw_params() local
28 struct tfa9879_priv *tfa9879 = snd_soc_component_get_drvdata(component); in tfa9879_hw_params()
85 snd_soc_component_update_bits(component, in tfa9879_hw_params()
90 snd_soc_component_update_bits(component, TFA9879_SERIAL_INTERFACE_1, in tfa9879_hw_params()
98 struct snd_soc_component *component = dai->component; in tfa9879_mute_stream() local
100 snd_soc_component_update_bits(component, TFA9879_MISC_CONTROL, in tfa9879_mute_stream()
109 struct snd_soc_component *component = dai->component; in tfa9879_set_fmt() local
110 struct tfa9879_priv *tfa9879 = snd_soc_component_get_drvdata(component); in tfa9879_set_fmt()
149 snd_soc_component_update_bits(component, TFA9879_SERIAL_INTERFACE_1, in tfa9879_set_fmt()
152 snd_soc_component_update_bits(component, TFA9879_SERIAL_INTERFACE_1, in tfa9879_set_fmt()
H A Dmax98927.c142 struct snd_soc_component *component = codec_dai->component; in max98927_dai_set_fmt() local
260 struct snd_soc_component *component = max98927->component; in max98927_set_clock() local
302 struct snd_soc_component *component = dai->component; in max98927_dai_hw_params() local
319 dev_err(component->dev, "format unsupported %d\n", in max98927_dai_hw_params()
329 dev_dbg(component->dev, "format supported %d", in max98927_dai_hw_params()
362 dev_err(component->dev, "rate %d not supported\n", in max98927_dai_hw_params()
394 struct snd_soc_component *component = dai->component; in max98927_dai_tdm_slot() local
404 dev_err(component->dev, "BCLK %d not supported\n", in max98927_dai_tdm_slot()
424 dev_err(component->dev, "format unsupported %d\n", in max98927_dai_tdm_slot()
461 struct snd_soc_component *component = dai->component; in max98927_dai_set_sysclk() local
[all …]
H A Dak5558.c41 struct snd_soc_component component; member
165 static int ak5558_set_mcki(struct snd_soc_component *component) in ak5558_set_mcki() argument
175 struct snd_soc_component *component = dai->component; in ak5558_hw_params() local
176 struct ak5558_priv *ak5558 = snd_soc_component_get_drvdata(component); in ak5558_hw_params()
198 struct snd_soc_component *component = dai->component; in ak5558_set_dai_fmt() local
237 struct snd_soc_component *component = dai->component; in ak5558_set_tdm_slot() local
238 struct ak5558_priv *ak5558 = snd_soc_component_get_drvdata(component); in ak5558_set_tdm_slot()
330 static int ak5558_probe(struct snd_soc_component *component) in ak5558_probe() argument
332 struct ak5558_priv *ak5558 = snd_soc_component_get_drvdata(component); in ak5558_probe()
335 return ak5558_set_mcki(component); in ak5558_probe()
[all …]
H A Dsrc4xxx.c156 struct snd_soc_component *component = dai->component; in src4xxx_set_dai_fmt() local
206 struct snd_soc_component *component = codec_dai->component; in src4xxx_set_mclk_hz() local
220 struct snd_soc_component *component = dai->component; in src4xxx_hw_params() local
239 dev_err(component->dev, in src4xxx_hw_params()
247 dev_err(component->dev, in src4xxx_hw_params()
250 dev_err(component->dev, in src4xxx_hw_params()
261 dev_err(component->dev, in src4xxx_hw_params()
295 dev_err(component->dev, in src4xxx_hw_params()
300 dev_err(component->dev, in src4xxx_hw_params()
305 dev_err(component->dev, in src4xxx_hw_params()
[all …]
H A Dbd28623.c73 struct snd_soc_component *component = in bd28623_get_switch_spk() local
75 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); in bd28623_get_switch_spk()
85 struct snd_soc_component *component = in bd28623_set_switch_spk() local
87 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); in bd28623_set_switch_spk()
104 static int bd28623_codec_probe(struct snd_soc_component *component) in bd28623_codec_probe() argument
106 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); in bd28623_codec_probe()
120 static void bd28623_codec_remove(struct snd_soc_component *component) in bd28623_codec_remove() argument
122 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); in bd28623_codec_remove()
129 struct bd28623_priv *bd = snd_soc_component_get_drvdata(component); in bd28623_codec_suspend()
136 static int bd28623_codec_resume(struct snd_soc_component *component) in bd28623_codec_resume() argument
[all …]
H A Dwm2200.c79 struct snd_soc_component *component; member
1549 wm2200->component = component; in wm2200_probe()
1556 struct snd_soc_component *component = dai->component; in wm2200_set_fmt() local
1688 struct snd_soc_component *component = dai->component; in wm2200_hw_params() local
1736 dev_err(component->dev, in wm2200_hw_params()
1934 pm_runtime_put(component->dev); in wm2200_set_fll()
1992 pm_runtime_get_sync(component->dev); in wm2200_set_fll()
2017 ret = snd_soc_component_read(component, in wm2200_set_fll()
2020 dev_err(component->dev, in wm2200_set_fll()
2030 pm_runtime_put(component->dev); in wm2200_set_fll()
[all …]
H A Dpcm179x.c71 struct snd_soc_component *component = codec_dai->component; in pcm179x_set_dai_fmt() local
72 struct pcm179x_private *priv = snd_soc_component_get_drvdata(component); in pcm179x_set_dai_fmt()
81 struct snd_soc_component *component = dai->component; in pcm179x_mute() local
82 struct pcm179x_private *priv = snd_soc_component_get_drvdata(component); in pcm179x_mute()
97 struct snd_soc_component *component = dai->component; in pcm179x_hw_params() local
98 struct pcm179x_private *priv = snd_soc_component_get_drvdata(component); in pcm179x_hw_params()
131 dev_err(component->dev, "Invalid DAI format\n"); in pcm179x_hw_params()
H A Dsta350.c419 sta350_sync_coef_shadow(component); in sta350_cache_sync()
609 struct snd_soc_component *component = codec_dai->component; in sta350_set_dai_sysclk() local
629 struct snd_soc_component *component = codec_dai->component; in sta350_set_dai_fmt() local
678 struct snd_soc_component *component = dai->component; in sta350_hw_params() local
686 dev_err(component->dev, in sta350_hw_params()
725 dev_dbg(component->dev, "24bit\n"); in sta350_hw_params()
743 dev_dbg(component->dev, "20bit\n"); in sta350_hw_params()
758 dev_dbg(component->dev, "18bit\n"); in sta350_hw_params()
773 dev_dbg(component->dev, "16bit\n"); in sta350_hw_params()
854 dev_err(component->dev, in sta350_set_bias_level()
[all …]
H A Drt722-sdca.c190 if (!rt722->component->card || !rt722->component->card->instantiated) in rt722_sdca_jack_detect_handler()
747 struct snd_soc_component *component = in rt722_sdca_adc_mux_get() local
772 struct snd_soc_component *component = in rt722_sdca_adc_mux_put() local
850 struct snd_soc_component *component = in rt722_sdca_fu42_event() local
879 struct snd_soc_component *component = in rt722_sdca_fu21_event() local
908 struct snd_soc_component *component = in rt722_sdca_fu113_event() local
928 struct snd_soc_component *component = in rt722_sdca_fu36_event() local
948 struct snd_soc_component *component = in rt722_sdca_pde47_event() local
1122 rt722->component = component; in rt722_sdca_probe()
1161 struct snd_soc_component *component = dai->component; in rt722_sdca_pcm_hw_params() local
[all …]
H A Dhdac_hda.c188 struct snd_soc_component *component = dai->component; in hdac_hda_dai_set_stream() local
196 hda_pvt = snd_soc_component_get_drvdata(component); in hdac_hda_dai_set_stream()
209 struct snd_soc_component *component = dai->component; in hdac_hda_dai_hw_params() local
219 hda_pvt = snd_soc_component_get_drvdata(component); in hdac_hda_dai_hw_params()
241 struct snd_soc_component *component = dai->component; in hdac_hda_dai_hw_free() local
260 struct snd_soc_component *component = dai->component; in hdac_hda_dai_prepare() local
291 struct snd_soc_component *component = dai->component; in hdac_hda_dai_open() local
311 struct snd_soc_component *component = dai->component; in hdac_hda_dai_close() local
397 snd_soc_component_get_drvdata(component); in hdac_hda_codec_probe()
399 snd_soc_component_get_dapm(component); in hdac_hda_codec_probe()
[all …]
H A Dsi476x.c134 err = snd_soc_component_update_bits(codec_dai->component, SI476X_DIGITAL_IO_OUTPUT_FORMAT, in si476x_codec_set_dai_fmt()
141 dev_err(codec_dai->component->dev, "Failed to set output format\n"); in si476x_codec_set_dai_fmt()
157 dev_err(dai->component->dev, "Rate: %d is not supported\n", rate); in si476x_codec_hw_params()
180 err = snd_soc_component_write(dai->component, SI476X_DIGITAL_IO_OUTPUT_SAMPLE_RATE, in si476x_codec_hw_params()
183 dev_err(dai->component->dev, "Failed to set sample rate\n"); in si476x_codec_hw_params()
187 err = snd_soc_component_update_bits(dai->component, SI476X_DIGITAL_IO_OUTPUT_FORMAT, in si476x_codec_hw_params()
192 dev_err(dai->component->dev, "Failed to set output width\n"); in si476x_codec_hw_params()
225 static int si476x_probe(struct snd_soc_component *component) in si476x_probe() argument
227 snd_soc_component_init_regmap(component, in si476x_probe()
228 dev_get_regmap(component->dev->parent, NULL)); in si476x_probe()
H A Dadau1761.c383 struct adau *adau = snd_soc_component_get_drvdata(component); in adau1761_dejitter_fixup()
623 struct adau *adau = snd_soc_component_get_drvdata(component); in adau1761_set_bias_level()
649 struct snd_soc_component *component) in adau1761_get_lineout_mode() argument
688 ret = snd_soc_add_component_controls(component, in adau1761_setup_digmic_jackdetect()
827 ret = adau17x1_add_widgets(component); in adau1761_component_probe()
838 ret = snd_soc_add_component_controls(component, in adau1761_component_probe()
844 ret = snd_soc_add_component_controls(component, in adau1761_component_probe()
851 switch (adau1761_get_lineout_mode(component)) { in adau1761_component_probe()
866 ret = adau1761_setup_headphone_mode(component); in adau1761_component_probe()
870 ret = adau1761_setup_digmic_jackdetect(component); in adau1761_component_probe()
[all …]
H A Drt712-sdca.c262 if (!rt712->component->card || !rt712->component->card->instantiated) in rt712_sdca_jack_detect_handler()
681 struct snd_soc_component *component = in rt712_sdca_mux_get() local
706 struct snd_soc_component *component = in rt712_sdca_mux_put() local
757 struct snd_soc_component *component = in rt712_sdca_fu05_event() local
790 struct snd_soc_component *component = in rt712_sdca_fu0f_event() local
810 struct snd_soc_component *component = in rt712_sdca_pde40_event() local
835 struct snd_soc_component *component = in rt712_sdca_pde12_event() local
860 struct snd_soc_component *component = in rt712_sdca_classd_event() local
964 rt712->component = component; in rt712_sdca_probe()
1016 struct snd_soc_component *component = dai->component; in rt712_sdca_pcm_hw_params() local
[all …]
H A Dwm8782.c60 static int wm8782_soc_probe(struct snd_soc_component *component) in wm8782_soc_probe() argument
62 struct wm8782_priv *priv = snd_soc_component_get_drvdata(component); in wm8782_soc_probe()
66 static void wm8782_soc_remove(struct snd_soc_component *component) in wm8782_soc_remove() argument
68 struct wm8782_priv *priv = snd_soc_component_get_drvdata(component); in wm8782_soc_remove()
73 static int wm8782_soc_suspend(struct snd_soc_component *component) in wm8782_soc_suspend() argument
75 struct wm8782_priv *priv = snd_soc_component_get_drvdata(component); in wm8782_soc_suspend()
80 static int wm8782_soc_resume(struct snd_soc_component *component) in wm8782_soc_resume() argument
82 struct wm8782_priv *priv = snd_soc_component_get_drvdata(component); in wm8782_soc_resume()
H A Dtwl6040.h23 int twl6040_get_dl1_gain(struct snd_soc_component *component);
24 void twl6040_hs_jack_detect(struct snd_soc_component *component,
26 int twl6040_get_clk_id(struct snd_soc_component *component);
27 int twl6040_get_trim_value(struct snd_soc_component *component, enum twl6040_trim trim);
28 int twl6040_get_hs_step_size(struct snd_soc_component *component);
H A Dcs42xx8.c205 struct snd_soc_component *component = codec_dai->component; in cs42xx8_set_dai_sysclk() local
216 struct snd_soc_component *component = codec_dai->component; in cs42xx8_set_dai_fmt() local
235 dev_err(component->dev, "unsupported dai format\n"); in cs42xx8_set_dai_fmt()
252 dev_err(component->dev, "unsupported master/slave mode\n"); in cs42xx8_set_dai_fmt()
263 struct snd_soc_component *component = dai->component; in cs42xx8_hw_params() local
293 dev_err(component->dev, in cs42xx8_hw_params()
332 dev_err(component->dev, "unsupported sysclk ratio\n"); in cs42xx8_hw_params()
351 struct snd_soc_component *component = dai->component; in cs42xx8_hw_free() local
366 struct snd_soc_component *component = dai->component; in cs42xx8_mute() local
465 static int cs42xx8_component_probe(struct snd_soc_component *component) in cs42xx8_component_probe() argument
[all …]
H A Dnau8821.c287 if (!component->regmap) in nau8821_biq_coeff_get()
303 if (!component->regmap) in nau8821_biq_coeff_put()
469 struct snd_soc_component *component = in dmic_clock_control() local
508 struct snd_soc_component *component = in nau8821_left_adc_event() local
532 struct snd_soc_component *component = in nau8821_right_adc_event() local
556 struct snd_soc_component *component = in nau8821_pump_event() local
582 struct snd_soc_component *component = in nau8821_output_dac_event() local
832 struct snd_soc_component *component = dai->component; in nau8821_dai_startup() local
848 struct snd_soc_component *component = dai->component; in nau8821_hw_params() local
918 struct snd_soc_component *component = codec_dai->component; in nau8821_set_dai_fmt() local
[all …]
/openbmc/linux/lib/pldmfw/
H A Dpldmfw.c450 struct pldmfw_component *component; in pldm_parse_components() local
468 component = kzalloc(sizeof(*component), GFP_KERNEL); in pldm_parse_components()
469 if (!component) in pldm_parse_components()
472 component->index = i; in pldm_parse_components()
482 component->component_size = size; in pldm_parse_components()
550 list_del(&component->entry); in pldmfw_free_priv()
551 kfree(component); in pldmfw_free_priv()
740 struct pldmfw_component *component; in pldm_send_component_tables() local
761 component, in pldm_send_component_tables()
782 struct pldmfw_component *component; in pldm_flash_components() local
[all …]
/openbmc/linux/sound/soc/au1x/
H A Ddbdma2.c186 struct snd_soc_component *component) in to_dmadata() argument
201 pcd = to_dmadata(substream, component); in au1xpsc_pcm_hw_params()
231 static int au1xpsc_pcm_prepare(struct snd_soc_component *component, in au1xpsc_pcm_prepare() argument
249 static int au1xpsc_pcm_trigger(struct snd_soc_component *component, in au1xpsc_pcm_trigger() argument
252 u32 c = to_dmadata(substream, component)->ddma_chan; in au1xpsc_pcm_trigger()
270 au1xpsc_pcm_pointer(struct snd_soc_component *component, in au1xpsc_pcm_pointer() argument
274 to_dmadata(substream, component)->pos); in au1xpsc_pcm_pointer()
277 static int au1xpsc_pcm_open(struct snd_soc_component *component, in au1xpsc_pcm_open() argument
294 static int au1xpsc_pcm_close(struct snd_soc_component *component, in au1xpsc_pcm_close() argument
297 au1x_pcm_dbdma_free(to_dmadata(substream, component)); in au1xpsc_pcm_close()
[all …]
H A Ddma.c178 struct snd_soc_component *component) in ss_to_ctx() argument
180 return snd_soc_component_get_drvdata(component); in ss_to_ctx()
184 struct snd_soc_component *component) in ss_to_as() argument
186 struct alchemy_pcm_ctx *ctx = ss_to_ctx(ss, component); in ss_to_as()
193 struct alchemy_pcm_ctx *ctx = ss_to_ctx(substream, component); in alchemy_pcm_open()
220 struct alchemy_pcm_ctx *ctx = ss_to_ctx(substream, component); in alchemy_pcm_close()
233 struct audio_stream *stream = ss_to_as(substream, component); in alchemy_pcm_hw_params()
243 struct audio_stream *stream = ss_to_as(substream, component); in alchemy_pcm_hw_free()
251 struct audio_stream *stream = ss_to_as(substream, component); in alchemy_pcm_trigger()
271 struct audio_stream *stream = ss_to_as(ss, component); in alchemy_pcm_pointer()
[all …]
/openbmc/webui-vue/docs/guide/components/file-upload/
H A Dreadme.md3 `FormFile` is a custom component wrapper around the Bootstrap-vue Form File
4 component. The purpose of this component is to upload files to the BMC.
6 To use this component:
8 1. Import it into the single file component (SFC)
12 [Learn more about the Bootstrap-vue Form File component](https://bootstrap-vue.org/docs/components/…
18 - `disabled` - When set to `true`, disables the component's functionality and
21 - `state` - Controls the validation state appearance of the component. `true`
/openbmc/linux/sound/soc/intel/avs/
H A Dpcm.c720 struct snd_soc_card *card = component->card; in topology_name_read()
772 struct snd_soc_card *card = component->card; in avs_component_probe()
781 acomp = to_avs_soc_component(component); in avs_component_probe()
782 adev = to_avs_dev(component->dev); in avs_component_probe()
784 acomp->tplg = avs_tplg_new(component); in avs_component_probe()
831 debugfs_create_file("topology_name", 0444, component->debugfs_root, component, in avs_component_probe()
841 avs_remove_topology(component); in avs_component_probe()
859 ret = avs_remove_topology(component); in avs_component_remove()
964 for_each_component_dais(component, dai) { in avs_component_pm_op()
1416 ret = avs_component_probe(component); in avs_component_hda_probe()
[all …]
/openbmc/linux/tools/counter/
H A Dcounter_example.c22 .component.type = COUNTER_COMPONENT_COUNT,
23 .component.scope = COUNTER_SCOPE_COUNT,
24 .component.parent = 0,
32 .component.type = COUNTER_COMPONENT_COUNT,
33 .component.scope = COUNTER_SCOPE_COUNT,
34 .component.parent = 1,
/openbmc/linux/sound/soc/meson/
H A Daxg-fifo.h77 int axg_fifo_pcm_open(struct snd_soc_component *component,
79 int axg_fifo_pcm_close(struct snd_soc_component *component,
81 int axg_fifo_pcm_hw_params(struct snd_soc_component *component,
84 int g12a_fifo_pcm_hw_params(struct snd_soc_component *component,
87 int axg_fifo_pcm_hw_free(struct snd_soc_component *component,
89 snd_pcm_uframes_t axg_fifo_pcm_pointer(struct snd_soc_component *component,
91 int axg_fifo_pcm_trigger(struct snd_soc_component *component,

12345678910>>...54