Home
last modified time | relevance | path

Searched refs:mconfig (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/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->max_out_queue, in module_read()
94 mconfig->is_loadable ? "loadable" : "inbuilt"); in module_read()
96 ret += skl_print_fmt(mconfig->in_fmt, buf, ret, true); in module_read()
[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
[all …]
H A Dskl-messages.c443 struct skl_module_cfg *mconfig, in skl_set_base_module_format() argument
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() argument
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->formats_config[SKL_PARAM_INIT].caps, in skl_set_base_ext_module_format()
[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->pipe); in skl_pcm_prepare()
[all …]
H A Dskl.h191 struct skl_module_cfg *mconfig);
203 struct skl_module_cfg *mconfig) in 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);
/openbmc/linux/drivers/i3c/master/
H A Dsvc-i3c-master.c155 u32 mconfig; member
539 u32 ppbaud, odbaud, odhpp, mconfig; in svc_i3c_master_set_speed() local
562 mconfig = master->mctrl_config; in svc_i3c_master_set_speed()
563 ppbaud = FIELD_GET(GENMASK(11, 8), mconfig); in svc_i3c_master_set_speed()
566 mconfig &= ~GENMASK(24, 16); in svc_i3c_master_set_speed()
567 mconfig |= SVC_I3C_MCONFIG_ODBAUD(odbaud) | SVC_I3C_MCONFIG_ODHPP(odhpp); in svc_i3c_master_set_speed()
568 writel(mconfig, master->regs + SVC_I3C_MCONFIG); in svc_i3c_master_set_speed()
1829 master->saved_regs.mconfig = readl(master->regs + SVC_I3C_MCONFIG); in svc_i3c_save_regs()
1837 writel(master->saved_regs.mconfig, in svc_i3c_restore_regs()
/openbmc/linux/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