Home
last modified time | relevance | path

Searched refs:scomp (Results 1 – 24 of 24) sorted by relevance

/Linux-v6.6/sound/soc/sof/
Dcontrol.c23 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_volume_get() local
24 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_volume_get()
38 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_volume_put() local
39 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_volume_put()
75 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_switch_get() local
76 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_switch_get()
90 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_switch_put() local
91 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_switch_put()
105 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_enum_get() local
106 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_enum_get()
[all …]
Dtopology.c52 int sof_update_ipc_object(struct snd_soc_component *scomp, void *object, enum sof_tokens token_id, in sof_update_ipc_object() argument
56 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_update_ipc_object()
68 dev_err(scomp->dev, "Invalid token count for token ID: %d\n", token_id); in sof_update_ipc_object()
78 dev_err(scomp->dev, "Invalid tokens for token id: %d\n", token_id); in sof_update_ipc_object()
109 dev_err(scomp->dev, in sof_update_ipc_object()
269 struct snd_soc_component *scomp = scontrol->scomp; in set_up_volume_table() local
270 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in set_up_volume_table()
276 dev_err(scomp->dev, "Mandatory op %s not set\n", __func__); in set_up_volume_table()
446 static int sof_parse_uuid_tokens(struct snd_soc_component *scomp, in sof_parse_uuid_tokens() argument
613 static int sof_parse_string_tokens(struct snd_soc_component *scomp, in sof_parse_string_tokens() argument
[all …]
Dipc3-control.c18 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scontrol->scomp); in sof_ipc3_set_get_kcontrol_data()
130 struct snd_soc_component *scomp = scontrol->scomp; in sof_ipc3_refresh_control() local
136 if (!pm_runtime_active(scomp->dev)) in sof_ipc3_refresh_control()
147 dev_err(scomp->dev, "Failed to get control data: %d\n", ret); in sof_ipc3_refresh_control()
176 struct snd_soc_component *scomp = scontrol->scomp; in sof_ipc3_volume_put() local
192 if (pm_runtime_active(scomp->dev)) { in sof_ipc3_volume_put()
196 dev_err(scomp->dev, "Failed to set mixer updates for %s\n", in sof_ipc3_volume_put()
225 struct snd_soc_component *scomp = scontrol->scomp; in sof_ipc3_switch_put() local
240 if (pm_runtime_active(scomp->dev)) { in sof_ipc3_switch_put()
244 dev_err(scomp->dev, "Failed to set mixer updates for %s\n", in sof_ipc3_switch_put()
[all …]
Dipc3-topology.c370 static void sof_dbg_comp_config(struct snd_soc_component *scomp, struct sof_ipc_comp_config *config) in sof_dbg_comp_config() argument
372 dev_dbg(scomp->dev, " config: periods snk %d src %d fmt %d\n", in sof_dbg_comp_config()
379 struct snd_soc_component *scomp = swidget->scomp; in sof_ipc3_widget_setup_comp_host() local
399 ret = sof_update_ipc_object(scomp, host, SOF_PCM_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_host()
405 ret = sof_update_ipc_object(scomp, &host->config, SOF_COMP_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_host()
410 dev_dbg(scomp->dev, "loaded host %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_host()
411 sof_dbg_comp_config(scomp, &host->config); in sof_ipc3_widget_setup_comp_host()
428 struct snd_soc_component *scomp = swidget->scomp; in sof_ipc3_widget_setup_comp_tone() local
444 ret = sof_update_ipc_object(scomp, &tone->config, SOF_COMP_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_tone()
452 dev_dbg(scomp->dev, "tone %s: frequency %d amplitude %d\n", in sof_ipc3_widget_setup_comp_tone()
[all …]
Dipc4-control.c19 struct snd_soc_component *scomp = scontrol->scomp; in sof_ipc4_set_get_kcontrol_data() local
20 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_set_get_kcontrol_data()
36 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); in sof_ipc4_set_get_kcontrol_data()
147 struct snd_soc_component *scomp = scontrol->scomp; in sof_ipc4_volume_put() local
148 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_volume_put()
166 if (!pm_runtime_active(scomp->dev)) in sof_ipc4_volume_put()
178 dev_err(scomp->dev, "Failed to find widget for kcontrol %s\n", scontrol->name); in sof_ipc4_volume_put()
238 struct snd_soc_component *scomp = scontrol->scomp; in sof_ipc4_bytes_put() local
239 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_bytes_put()
244 dev_err_ratelimited(scomp->dev, in sof_ipc4_bytes_put()
[all …]
Dipc4-topology.c223 static int sof_ipc4_get_audio_fmt(struct snd_soc_component *scomp, in sof_ipc4_get_audio_fmt() argument
232 ret = sof_update_ipc_object(scomp, available_fmt, in sof_ipc4_get_audio_fmt()
236 dev_err(scomp->dev, "Failed to parse audio format token count\n"); in sof_ipc4_get_audio_fmt()
241 dev_err(scomp->dev, "No input/output pin formats set in topology\n"); in sof_ipc4_get_audio_fmt()
245 dev_dbg(scomp->dev, in sof_ipc4_get_audio_fmt()
250 ret = sof_update_ipc_object(scomp, module_base_cfg, SOF_COMP_TOKENS, swidget->tuples, in sof_ipc4_get_audio_fmt()
253 dev_err(scomp->dev, "parse comp tokens for %s failed, error: %d\n", in sof_ipc4_get_audio_fmt()
258 dev_dbg(scomp->dev, "widget %s: is_pages: %d\n", swidget->widget->name, in sof_ipc4_get_audio_fmt()
268 ret = sof_update_ipc_object(scomp, in_format, in sof_ipc4_get_audio_fmt()
273 dev_err(scomp->dev, "parse input audio fmt tokens failed %d\n", ret); in sof_ipc4_get_audio_fmt()
[all …]
Dsof-audio.h176 int (*bind_event)(struct snd_soc_component *scomp, struct snd_sof_widget *swidget,
226 int (*parse_manifest)(struct snd_soc_component *scomp, int index,
336 struct snd_soc_component *scomp; member
352 struct snd_soc_component *scomp; member
401 struct snd_soc_component *scomp; member
495 struct snd_soc_component *scomp; member
511 struct snd_soc_component *scomp; member
560 int snd_sof_load_topology(struct snd_soc_component *scomp, const char *file);
565 int snd_sof_ipc_stream_posn(struct snd_soc_component *scomp,
569 struct snd_sof_widget *snd_sof_find_swidget(struct snd_soc_component *scomp,
[all …]
Dsof-audio.c858 struct snd_sof_pcm *snd_sof_find_spcm_name(struct snd_soc_component *scomp, in snd_sof_find_spcm_name() argument
861 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_name()
883 struct snd_sof_pcm *snd_sof_find_spcm_comp(struct snd_soc_component *scomp, in snd_sof_find_spcm_comp() argument
887 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_comp()
903 struct snd_sof_widget *snd_sof_find_swidget(struct snd_soc_component *scomp, in snd_sof_find_swidget() argument
906 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_swidget()
919 snd_sof_find_swidget_sname(struct snd_soc_component *scomp, in snd_sof_find_swidget_sname() argument
922 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_swidget_sname()
940 struct snd_sof_dai *snd_sof_find_dai(struct snd_soc_component *scomp, in snd_sof_find_dai() argument
943 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_dai()
Dipc3.c872 struct snd_soc_component *scomp = sdev->component; in ipc3_period_elapsed() local
878 spcm = snd_sof_find_spcm_comp(scomp, msg_id, &direction); in ipc3_period_elapsed()
907 struct snd_soc_component *scomp = sdev->component; in ipc3_xrun() local
913 spcm = snd_sof_find_spcm_comp(scomp, msg_id, &direction); in ipc3_xrun()
/Linux-v6.6/crypto/
Dscompress.c117 struct crypto_scomp *scomp = *tfm_ctx; in scomp_acomp_comp_decomp() local
136 ret = crypto_scomp_compress(scomp, scratch->src, req->slen, in scomp_acomp_comp_decomp()
139 ret = crypto_scomp_decompress(scomp, scratch->src, req->slen, in scomp_acomp_comp_decomp()
184 struct crypto_scomp *scomp; in crypto_init_scomp_ops_async() local
189 scomp = crypto_create_tfm(calg, &crypto_scomp_type); in crypto_init_scomp_ops_async()
190 if (IS_ERR(scomp)) { in crypto_init_scomp_ops_async()
192 return PTR_ERR(scomp); in crypto_init_scomp_ops_async()
195 *ctx = scomp; in crypto_init_scomp_ops_async()
211 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_alloc_ctx() local
214 ctx = crypto_scomp_alloc_ctx(scomp); in crypto_acomp_scomp_alloc_ctx()
[all …]
D842.c109 static struct scomp_alg scomp = { variable
130 ret = crypto_register_scomp(&scomp); in crypto842_mod_init()
143 crypto_unregister_scomp(&scomp); in crypto842_mod_exit()
Ddeflate.c289 static struct scomp_alg scomp[] = { { variable
319 ret = crypto_register_scomps(scomp, ARRAY_SIZE(scomp)); in deflate_mod_init()
331 crypto_unregister_scomps(scomp, ARRAY_SIZE(scomp)); in deflate_mod_fini()
Dlz4hc.c121 static struct scomp_alg scomp = { variable
141 ret = crypto_register_scomp(&scomp); in lz4hc_mod_init()
153 crypto_unregister_scomp(&scomp); in lz4hc_mod_fini()
Dlz4.c120 static struct scomp_alg scomp = { variable
140 ret = crypto_register_scomp(&scomp); in lz4_mod_init()
152 crypto_unregister_scomp(&scomp); in lz4_mod_fini()
Dlzo-rle.c123 static struct scomp_alg scomp = { variable
143 ret = crypto_register_scomp(&scomp); in lzorle_mod_init()
155 crypto_unregister_scomp(&scomp); in lzorle_mod_fini()
Dlzo.c123 static struct scomp_alg scomp = { variable
143 ret = crypto_register_scomp(&scomp); in lzo_mod_init()
155 crypto_unregister_scomp(&scomp); in lzo_mod_fini()
Dzstd.c220 static struct scomp_alg scomp = { variable
240 ret = crypto_register_scomp(&scomp); in zstd_mod_init()
250 crypto_unregister_scomp(&scomp); in zstd_mod_fini()
/Linux-v6.6/sound/soc/qcom/qdsp6/
Dtopology.c24 struct snd_soc_component *scomp; member
786 scontrol->scomp = component; in audioreach_widget_load_mixer()
897 static int audioreach_widget_unload(struct snd_soc_component *scomp, in audioreach_widget_unload() argument
901 struct q6apm *apm = dev_get_drvdata(scomp->dev); in audioreach_widget_unload()
981 static int audioreach_route_load(struct snd_soc_component *scomp, int index, in audioreach_route_load() argument
990 src_module = audioreach_find_module(scomp, route->source); in audioreach_route_load()
991 sink_module = audioreach_find_module(scomp, route->sink); in audioreach_route_load()
994 control = audioreach_find_widget(scomp, route->source); in audioreach_route_load()
1000 control = audioreach_find_widget(scomp, route->sink); in audioreach_route_load()
1024 static int audioreach_route_unload(struct snd_soc_component *scomp, in audioreach_route_unload() argument
[all …]
/Linux-v6.6/drivers/scsi/
Dses.c450 struct ses_component *scomp = ecomp->scratch; in ses_process_descriptor() local
495 scomp->addr = addr; in ses_process_descriptor()
510 struct ses_component *scomp; in ses_enclosure_find_by_addr() local
513 scomp = edev->component[i].scratch; in ses_enclosure_find_by_addr()
514 if (scomp->addr != efd->addr) in ses_enclosure_find_by_addr()
676 struct ses_component *scomp = NULL; in ses_intf_add() local
777 scomp = kcalloc(components, sizeof(struct ses_component), GFP_KERNEL); in ses_intf_add()
778 if (!scomp) in ses_intf_add()
793 edev->component[i].scratch = scomp + i; in ses_intf_add()
813 kfree(scomp); in ses_intf_add()
/Linux-v6.6/sound/soc/sof/intel/
Dhda-pcm.c181 struct snd_soc_component *scomp = sdev->component; in hda_dsp_pcm_pointer() local
187 spcm = snd_sof_find_spcm_dai(scomp, rtd); in hda_dsp_pcm_pointer()
213 struct snd_soc_component *scomp = sdev->component; in hda_dsp_pcm_open() local
219 spcm = snd_sof_find_spcm_dai(scomp, rtd); in hda_dsp_pcm_open()
Dhda-dai.c35 struct snd_soc_component *component = swidget->scomp; in widget_to_sdev()
/Linux-v6.6/sound/soc/sof/amd/
Dacp-pcm.c93 struct snd_soc_component *scomp = sdev->component; in acp_pcm_pointer() local
100 spcm = snd_sof_find_spcm_dai(scomp, rtd); in acp_pcm_pointer()
/Linux-v6.6/sound/soc/sof/mediatek/mt8195/
Dmt8195.c478 struct snd_soc_component *scomp = sdev->component; in mt8195_pcm_pointer() local
481 spcm = snd_sof_find_spcm_dai(scomp, rtd); in mt8195_pcm_pointer()
/Linux-v6.6/sound/soc/sof/mediatek/mt8186/
Dmt8186.c459 struct snd_soc_component *scomp = sdev->component; in mt8186_pcm_pointer() local
462 spcm = snd_sof_find_spcm_dai(scomp, rtd); in mt8186_pcm_pointer()