Home
last modified time | relevance | path

Searched refs:mconfig (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/intel/skylake/
H A Dskl-debug.c70 struct skl_module_cfg *mconfig = file->private_data; in module_read() local
71 struct skl_module *module = mconfig->module; in module_read()
72 struct skl_module_res *res = &module->resources[mconfig->res_idx]; in module_read()
81 "\tInstance id %d\n\tPvt_id %d\n", mconfig->guid, in module_read()
82 mconfig->id.module_id, mconfig->id.instance_id, in module_read()
83 mconfig->id.pvt_id); in module_read()
92 mconfig->core_id, mconfig->max_in_queue, in module_read()
93 mconfig in module_read()
165 skl_debug_init_module(struct skl_debug *d, struct snd_soc_dapm_widget *w, struct skl_module_cfg *mconfig) skl_debug_init_module() argument
[all...]
H A Dskl-topology.c383 struct skl_module_cfg *mconfig = w->priv; in skl_tplg_set_module_params() local
389 if (mconfig->formats_config.caps_size > 0 && in skl_tplg_set_module_params()
390 mconfig->formats_config.set_params == SKL_PARAM_SET) { in skl_tplg_set_module_params()
391 sp_cfg = &mconfig->formats_config; in skl_tplg_set_module_params()
394 sp_cfg->param_id, mconfig); in skl_tplg_set_module_params()
408 bc->param_id, mconfig); in skl_tplg_set_module_params()
429 struct skl_module_cfg *mconfig = w->priv; in skl_tplg_set_module_init_data() local
441 mconfig->formats_config.caps = (u32 *)bc->params; in skl_tplg_set_module_init_data()
442 mconfig->formats_config.caps_size = bc->size; in skl_tplg_set_module_init_data()
475 struct skl_module_cfg *mconfig; in skl_tplg_init_pipe_modules() local
554 struct skl_module_cfg *mconfig; skl_tplg_unload_pipe_modules() local
622 skl_tplg_get_pipe_config(struct skl_dev *skl, struct skl_module_cfg *mconfig) skl_tplg_get_pipe_config() argument
691 struct skl_module_cfg *mconfig = w->priv; skl_tplg_mixer_dapm_pre_pmu_event() local
783 struct skl_module_cfg *mconfig = w->priv; skl_tplg_set_module_bind_params() local
900 struct skl_module_cfg *mconfig = w->priv; skl_tplg_add_moduleid_in_bind_params() local
1210 struct skl_module_cfg *mconfig = w->priv; skl_tplg_mixer_dapm_post_pmd_event() local
1427 struct skl_module_cfg *mconfig = w->priv; skl_tplg_tlv_control_get() local
1432 bc->size, bc->param_id, mconfig); skl_tplg_tlv_control_get() local
1459 struct skl_module_cfg *mconfig = w->priv; skl_tplg_tlv_control_set() local
1486 struct skl_module_cfg *mconfig = w->priv; skl_tplg_mic_control_get() local
1499 skl_fill_mic_sel_params(struct skl_module_cfg *mconfig, struct skl_mic_sel_config *mic_cfg, struct device *dev) skl_fill_mic_sel_params() argument
1524 struct skl_module_cfg *mconfig = w->priv; skl_tplg_mic_control_set() local
1630 skl_tplg_update_pipe_params(struct device *dev, struct skl_module_cfg *mconfig, struct skl_pipe_params *params) skl_tplg_update_pipe_params() argument
1736 struct skl_module_cfg *mconfig = NULL; skl_get_mconfig_pb_cpr() local
1758 struct skl_module_cfg *mconfig = NULL; skl_get_mconfig_cap_cpr() local
1780 struct skl_module_cfg *mconfig; skl_tplg_be_get_cpr_module() local
1828 skl_tplg_be_fill_pipe_params(struct snd_soc_dai *dai, struct skl_module_cfg *mconfig, struct skl_pipe_params *params) skl_tplg_be_fill_pipe_params() argument
2056 skl_tplg_add_pipe(struct device *dev, struct skl_module_cfg *mconfig, struct skl_dev *skl, struct snd_soc_tplg_vendor_value_elem *tkn_elem) skl_tplg_add_pipe() argument
2145 skl_tplg_fill_pins_info(struct device *dev, struct skl_module_cfg *mconfig, struct snd_soc_tplg_vendor_value_elem *tkn_elem, int dir, int pin_count) skl_tplg_fill_pins_info() argument
2363 skl_tplg_get_token(struct device *dev, struct snd_soc_tplg_vendor_value_elem *tkn_elem, struct skl_dev *skl, struct skl_module_cfg *mconfig) skl_tplg_get_token() argument
2614 skl_tplg_get_tokens(struct device *dev, char *pvt_data, struct skl_dev *skl, struct skl_module_cfg *mconfig, int block_size) skl_tplg_get_tokens() argument
2710 skl_tplg_add_pipe_v4(struct device *dev, struct skl_module_cfg *mconfig, struct skl_dev *skl, struct skl_dfw_v4_pipe *dfw_pipe) skl_tplg_add_pipe_v4() argument
2787 skl_tplg_get_pvt_data_v4(struct snd_soc_tplg_dapm_widget *tplg_w, struct skl_dev *skl, struct device *dev, struct skl_module_cfg *mconfig) skl_tplg_get_pvt_data_v4() argument
2869 skl_tplg_get_pvt_data(struct snd_soc_tplg_dapm_widget *tplg_w, struct skl_dev *skl, struct device *dev, struct skl_module_cfg *mconfig) skl_tplg_get_pvt_data() argument
2945 struct skl_module_cfg *mconfig; skl_clear_pin_config() local
3000 struct skl_module_cfg *mconfig; skl_tplg_widget_load() local
3687 struct skl_module_cfg *mconfig; skl_tplg_set_pipe_type() local
[all...]
H A Dskl-messages.c445 struct skl_module_cfg *mconfig, in skl_set_base_module_format()
448 struct skl_module *module = mconfig->module; in skl_set_base_module_format()
449 struct skl_module_res *res = &module->resources[mconfig->res_idx]; in skl_set_base_module_format()
450 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_set_base_module_format()
479 static void skl_copy_copier_caps(struct skl_module_cfg *mconfig, in skl_copy_copier_caps() argument
482 if (mconfig->formats_config.caps_size == 0) in skl_copy_copier_caps()
486 mconfig->formats_config.caps, in skl_copy_copier_caps()
487 mconfig->formats_config.caps_size); in skl_copy_copier_caps()
490 (mconfig->formats_config.caps_size) / 4; in skl_copy_copier_caps()
499 struct skl_module_cfg *mconfig) in skl_get_node_id()
444 skl_set_base_module_format(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_base_cfg *base_cfg) skl_set_base_module_format() argument
498 skl_get_node_id(struct skl_dev *skl, struct skl_module_cfg *mconfig) skl_get_node_id() argument
555 skl_setup_cpr_gateway_cfg(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_cpr_cfg *cpr_mconfig) skl_setup_cpr_gateway_cfg() argument
660 skl_setup_out_format(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_audio_data_format *out_fmt) skl_setup_out_format() argument
687 skl_set_src_format(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_src_module_cfg *src_mconfig) skl_set_src_format() argument
706 skl_set_updown_mixer_format(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_up_down_mixer_cfg *mixer_mconfig) skl_set_updown_mixer_format() argument
727 skl_set_copier_format(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_cpr_cfg *cpr_mconfig) skl_set_copier_format() argument
745 skl_set_algo_format(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_algo_cfg *algo_mcfg) skl_set_algo_format() argument
769 skl_set_base_outfmt_format(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_base_outfmt_cfg *base_outfmt_mcfg) skl_set_base_outfmt_format() argument
781 skl_get_module_param_size(struct skl_dev *skl, struct skl_module_cfg *mconfig) skl_get_module_param_size() argument
979 skl_init_module(struct skl_dev *skl, struct skl_module_cfg *mconfig) skl_init_module() argument
[all...]
H A Dskl-pcm.c219 struct skl_module_cfg *mconfig; in skl_pcm_open() local
253 mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); in skl_pcm_open()
254 if (!mconfig) { in skl_pcm_open()
259 skl_tplg_d0i3_get(skl, mconfig->d0i3_caps); in skl_pcm_open()
268 struct skl_module_cfg *mconfig; in skl_pcm_prepare() local
273 mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); in skl_pcm_prepare()
279 if (mconfig && in skl_pcm_prepare()
281 mconfig->pipe->state == SKL_PIPE_CREATED || in skl_pcm_prepare()
282 mconfig->pipe->state == SKL_PIPE_PAUSED)) { in skl_pcm_prepare()
284 ret = skl_reset_pipe(skl, mconfig in skl_pcm_prepare()
347 struct skl_module_cfg *mconfig; skl_pcm_close() local
383 struct skl_module_cfg *mconfig; skl_pcm_hw_free() local
467 struct skl_module_cfg *mconfig; skl_pcm_trigger() local
591 struct skl_module_cfg *mconfig = NULL; skl_link_pcm_prepare() local
1304 skl_get_module_info(struct skl_dev *skl, struct skl_module_cfg *mconfig) skl_get_module_info() argument
1362 struct skl_module_cfg *mconfig; skl_populate_modules() local
[all...]
H A Dskl.h195 struct skl_module_cfg *mconfig);
207 struct skl_module_cfg *mconfig) in skl_debug_init_module()
205 skl_debug_init_module(struct skl_debug *d, struct snd_soc_dapm_widget *w, struct skl_module_cfg *mconfig) skl_debug_init_module() argument
H A Dskl-topology.h462 struct skl_module_cfg *mconfig, struct skl_pipe_params *params);
479 int skl_init_module(struct skl_dev *skl, struct skl_module_cfg *mconfig);
/kernel/linux/linux-6.6/sound/soc/intel/skylake/
H A Dskl-debug.c70 struct skl_module_cfg *mconfig = file->private_data; in module_read() local
71 struct skl_module *module = mconfig->module; in module_read()
72 struct skl_module_res *res = &module->resources[mconfig->res_idx]; in module_read()
81 "\tInstance id %d\n\tPvt_id %d\n", mconfig->guid, in module_read()
82 mconfig->id.module_id, mconfig->id.instance_id, in module_read()
83 mconfig->id.pvt_id); in module_read()
92 mconfig->core_id, mconfig->max_in_queue, in module_read()
93 mconfig in module_read()
165 skl_debug_init_module(struct skl_debug *d, struct snd_soc_dapm_widget *w, struct skl_module_cfg *mconfig) skl_debug_init_module() argument
[all...]
H A Dskl-topology.c387 struct skl_module_cfg *mconfig = w->priv; in skl_tplg_set_module_params() local
393 if (mconfig->formats_config[SKL_PARAM_SET].caps_size > 0 && in skl_tplg_set_module_params()
394 mconfig->formats_config[SKL_PARAM_SET].set_params == SKL_PARAM_SET) { in skl_tplg_set_module_params()
395 sp_cfg = &mconfig->formats_config[SKL_PARAM_SET]; in skl_tplg_set_module_params()
398 sp_cfg->param_id, mconfig); in skl_tplg_set_module_params()
412 bc->param_id, mconfig); in skl_tplg_set_module_params()
433 struct skl_module_cfg *mconfig = w->priv; in skl_tplg_set_module_init_data() local
445 mconfig->formats_config[SKL_PARAM_INIT].caps = in skl_tplg_set_module_init_data()
447 mconfig->formats_config[SKL_PARAM_INIT].caps_size = in skl_tplg_set_module_init_data()
481 struct skl_module_cfg *mconfig; in skl_tplg_init_pipe_modules() local
558 struct skl_module_cfg *mconfig; skl_tplg_unload_pipe_modules() local
599 skl_tplg_get_pipe_config(struct skl_dev *skl, struct skl_module_cfg *mconfig) skl_tplg_get_pipe_config() argument
657 struct skl_module_cfg *mconfig = w->priv; skl_tplg_mixer_dapm_pre_pmu_event() local
749 struct skl_module_cfg *mconfig = w->priv; skl_tplg_set_module_bind_params() local
867 struct skl_module_cfg *mconfig = w->priv; skl_tplg_add_moduleid_in_bind_params() local
1177 struct skl_module_cfg *mconfig = w->priv; skl_tplg_mixer_dapm_post_pmd_event() local
1394 struct skl_module_cfg *mconfig = w->priv; skl_tplg_tlv_control_get() local
1399 bc->size, bc->param_id, mconfig); skl_tplg_tlv_control_get() local
1426 struct skl_module_cfg *mconfig = w->priv; skl_tplg_tlv_control_set() local
1453 struct skl_module_cfg *mconfig = w->priv; skl_tplg_mic_control_get() local
1466 skl_fill_mic_sel_params(struct skl_module_cfg *mconfig, struct skl_mic_sel_config *mic_cfg, struct device *dev) skl_fill_mic_sel_params() argument
1492 struct skl_module_cfg *mconfig = w->priv; skl_tplg_mic_control_set() local
1598 skl_tplg_update_pipe_params(struct device *dev, struct skl_module_cfg *mconfig, struct skl_pipe_params *params) skl_tplg_update_pipe_params() argument
1702 struct skl_module_cfg *mconfig = NULL; skl_get_mconfig_pb_cpr() local
1724 struct skl_module_cfg *mconfig = NULL; skl_get_mconfig_cap_cpr() local
1746 struct skl_module_cfg *mconfig; skl_tplg_be_get_cpr_module() local
1792 skl_tplg_be_fill_pipe_params(struct snd_soc_dai *dai, struct skl_module_cfg *mconfig, struct skl_pipe_params *params) skl_tplg_be_fill_pipe_params() argument
2032 skl_tplg_add_pipe(struct device *dev, struct skl_module_cfg *mconfig, struct skl_dev *skl, struct snd_soc_tplg_vendor_value_elem *tkn_elem) skl_tplg_add_pipe() argument
2121 skl_tplg_fill_pins_info(struct device *dev, struct skl_module_cfg *mconfig, struct snd_soc_tplg_vendor_value_elem *tkn_elem, int dir, int pin_count) skl_tplg_fill_pins_info() argument
2339 skl_tplg_get_token(struct device *dev, struct snd_soc_tplg_vendor_value_elem *tkn_elem, struct skl_dev *skl, struct skl_module_cfg *mconfig) skl_tplg_get_token() argument
2597 skl_tplg_get_tokens(struct device *dev, char *pvt_data, struct skl_dev *skl, struct skl_module_cfg *mconfig, int block_size) skl_tplg_get_tokens() argument
2693 skl_tplg_add_pipe_v4(struct device *dev, struct skl_module_cfg *mconfig, struct skl_dev *skl, struct skl_dfw_v4_pipe *dfw_pipe) skl_tplg_add_pipe_v4() argument
2770 skl_tplg_get_pvt_data_v4(struct snd_soc_tplg_dapm_widget *tplg_w, struct skl_dev *skl, struct device *dev, struct skl_module_cfg *mconfig) skl_tplg_get_pvt_data_v4() argument
2847 skl_tplg_get_caps_data(struct device *dev, char *data, struct skl_module_cfg *mconfig) skl_tplg_get_caps_data() argument
2871 skl_tplg_get_pvt_data(struct snd_soc_tplg_dapm_widget *tplg_w, struct skl_dev *skl, struct device *dev, struct skl_module_cfg *mconfig) skl_tplg_get_pvt_data() argument
2940 struct skl_module_cfg *mconfig; skl_clear_pin_config() local
2995 struct skl_module_cfg *mconfig; skl_tplg_widget_load() local
3689 struct skl_module_cfg *mconfig; skl_tplg_set_pipe_type() local
[all...]
H A Dskl-messages.c443 struct skl_module_cfg *mconfig, in skl_set_base_module_format()
446 struct skl_module *module = mconfig->module; in skl_set_base_module_format()
447 struct skl_module_res *res = &module->resources[mconfig->res_idx]; in skl_set_base_module_format()
448 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_set_base_module_format()
492 struct skl_module_cfg *mconfig, in skl_set_base_ext_module_format()
495 struct skl_module *module = mconfig->module; in skl_set_base_ext_module_format()
497 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_set_base_ext_module_format()
498 struct skl_module_res *res = &module->resources[mconfig->res_idx]; in skl_set_base_ext_module_format()
507 mconfig->formats_config[SKL_PARAM_INIT].caps_size; in skl_set_base_ext_module_format()
538 memcpy(params, mconfig in skl_set_base_ext_module_format()
442 skl_set_base_module_format(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_base_cfg *base_cfg) skl_set_base_module_format() argument
491 skl_set_base_ext_module_format(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_base_cfg_ext *base_cfg_ext) skl_set_base_ext_module_format() argument
546 skl_copy_copier_caps(struct skl_module_cfg *mconfig, struct skl_cpr_cfg *cpr_mconfig) skl_copy_copier_caps() argument
565 skl_get_node_id(struct skl_dev *skl, struct skl_module_cfg *mconfig) skl_get_node_id() argument
622 skl_setup_cpr_gateway_cfg(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_cpr_cfg *cpr_mconfig) skl_setup_cpr_gateway_cfg() argument
727 skl_setup_out_format(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_audio_data_format *out_fmt) skl_setup_out_format() argument
754 skl_set_src_format(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_src_module_cfg *src_mconfig) skl_set_src_format() argument
773 skl_set_updown_mixer_format(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_up_down_mixer_cfg *mixer_mconfig) skl_set_updown_mixer_format() argument
794 skl_set_copier_format(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_cpr_cfg *cpr_mconfig) skl_set_copier_format() argument
814 skl_set_base_outfmt_format(struct skl_dev *skl, struct skl_module_cfg *mconfig, struct skl_base_outfmt_cfg *base_outfmt_mcfg) skl_set_base_outfmt_format() argument
826 skl_get_module_param_size(struct skl_dev *skl, struct skl_module_cfg *mconfig) skl_get_module_param_size() argument
1024 skl_init_module(struct skl_dev *skl, struct skl_module_cfg *mconfig) skl_init_module() argument
[all...]
H A Dskl-pcm.c220 struct skl_module_cfg *mconfig; in skl_pcm_open() local
254 mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); in skl_pcm_open()
255 if (!mconfig) { in skl_pcm_open()
260 skl_tplg_d0i3_get(skl, mconfig->d0i3_caps); in skl_pcm_open()
269 struct skl_module_cfg *mconfig; in skl_pcm_prepare() local
274 mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); in skl_pcm_prepare()
280 if (mconfig && in skl_pcm_prepare()
282 mconfig->pipe->state == SKL_PIPE_CREATED || in skl_pcm_prepare()
283 mconfig->pipe->state == SKL_PIPE_PAUSED)) { in skl_pcm_prepare()
285 ret = skl_reset_pipe(skl, mconfig in skl_pcm_prepare()
349 struct skl_module_cfg *mconfig; skl_pcm_close() local
385 struct skl_module_cfg *mconfig; skl_pcm_hw_free() local
470 struct skl_module_cfg *mconfig; skl_pcm_trigger() local
593 struct skl_module_cfg *mconfig = NULL; skl_link_pcm_prepare() local
1298 skl_get_module_info(struct skl_dev *skl, struct skl_module_cfg *mconfig) skl_get_module_info() argument
1356 struct skl_module_cfg *mconfig; skl_populate_modules() local
[all...]
H A Dskl.h191 struct skl_module_cfg *mconfig);
203 struct skl_module_cfg *mconfig) in skl_debug_init_module()
201 skl_debug_init_module(struct skl_debug *d, struct snd_soc_dapm_widget *w, struct skl_module_cfg *mconfig) skl_debug_init_module() argument
H A Dskl-topology.h481 struct skl_module_cfg *mconfig, struct skl_pipe_params *params);
498 int skl_init_module(struct skl_dev *skl, struct skl_module_cfg *mconfig);
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
H A Dsunqe.c515 qep->mconfig = (MREGS_MCONFIG_TXENAB | in qe_open()
628 u8 new_mconfig = qep->mconfig; in qe_set_multicast()
673 qep->mconfig = new_mconfig; in qe_set_multicast()
674 sbus_writeb(qep->mconfig, qep->mregs + MREGS_MCONFIG); in qe_set_multicast()
H A Dsunqe.h345 u8 mconfig; /* Base MACE mconfig value */ member
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/
H A Dsunqe.c515 qep->mconfig = (MREGS_MCONFIG_TXENAB | in qe_open()
628 u8 new_mconfig = qep->mconfig; in qe_set_multicast()
673 qep->mconfig = new_mconfig; in qe_set_multicast()
674 sbus_writeb(qep->mconfig, qep->mregs + MREGS_MCONFIG); in qe_set_multicast()
H A Dsunqe.h345 u8 mconfig; /* Base MACE mconfig value */ member
/kernel/linux/linux-6.6/drivers/i3c/master/
H A Dsvc-i3c-master.c151 u32 mconfig; member
1660 master->saved_regs.mconfig = readl(master->regs + SVC_I3C_MCONFIG); in svc_i3c_save_regs()
1668 writel(master->saved_regs.mconfig, in svc_i3c_restore_regs()

Completed in 22 milliseconds