Home
last modified time | relevance | path

Searched refs:priv_size (Results 1 – 8 of 8) sorted by relevance

/sound/soc/mediatek/mt8192/
Dmt8192-afe-control.c146 int priv_size, const void *priv_data) in mt8192_dai_set_priv() argument
152 priv_size, in mt8192_dai_set_priv()
158 memcpy(temp_data, priv_data, priv_size); in mt8192_dai_set_priv()
Dmt8192-afe-common.h171 int priv_size, const void *priv_data);
/sound/soc/mediatek/mt8186/
Dmt8186-afe-control.c238 int mt8186_dai_set_priv(struct mtk_base_afe *afe, int id, int priv_size, const void *priv_data) in mt8186_dai_set_priv() argument
244 priv_size, in mt8186_dai_set_priv()
250 memcpy(temp_data, priv_data, priv_size); in mt8186_dai_set_priv()
Dmt8186-afe-common.h196 int priv_size, const void *priv_data);
/sound/soc/sof/
Dtopology.c876 size_t priv_size = le32_to_cpu(control->priv.size); in sof_control_load_bytes() local
884 if (priv_size > 0) { in sof_control_load_bytes()
885 scontrol->priv = kmemdup(control->priv.data, priv_size, GFP_KERNEL); in sof_control_load_bytes()
889 scontrol->priv_size = priv_size; in sof_control_load_bytes()
Dipc3-topology.c1642 if (scontrol->priv_size > scontrol->max_size - sizeof(*cdata)) { in sof_ipc3_control_load_bytes()
1645 scontrol->priv_size, scontrol->max_size - sizeof(*cdata)); in sof_ipc3_control_load_bytes()
1653 scontrol->size = sizeof(struct sof_ipc_ctrl_data) + scontrol->priv_size; in sof_ipc3_control_load_bytes()
1659 if (scontrol->priv_size > 0) { in sof_ipc3_control_load_bytes()
1660 memcpy(cdata->data, scontrol->priv, scontrol->priv_size); in sof_ipc3_control_load_bytes()
1677 if (cdata->data->size + sizeof(struct sof_abi_hdr) != scontrol->priv_size) { in sof_ipc3_control_load_bytes()
Dsof-audio.h310 size_t priv_size; /* size of private data */ member
/sound/soc/intel/avs/
Dtopology.c279 struct snd_soc_tplg_vendor_array *tuples, int priv_size) in avs_parse_tokens() argument
283 while (priv_size > 0) { in avs_parse_tokens()
292 priv_size -= array_size; in avs_parse_tokens()
293 if (priv_size < 0) { in avs_parse_tokens()