Home
last modified time | relevance | path

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

/Linux-v4.19/sound/soc/intel/skylake/
Dskl-debug.c76 struct skl_module_cfg *mconfig = file->private_data; in module_read() local
85 "\tInstance id %d\n\tPvt_id %d\n", mconfig->guid, in module_read()
86 mconfig->id.module_id, mconfig->id.instance_id, in module_read()
87 mconfig->id.pvt_id); in module_read()
91 mconfig->mcps, mconfig->ibs, mconfig->obs); in module_read()
96 mconfig->core_id, mconfig->max_in_queue, in module_read()
97 mconfig->max_out_queue, in module_read()
98 mconfig->is_loadable ? "loadable" : "inbuilt"); in module_read()
100 ret += skl_print_fmt(mconfig->in_fmt, buf, ret, true); in module_read()
101 ret += skl_print_fmt(mconfig->out_fmt, buf, ret, false); in module_read()
[all …]
Dskl-topology.c125 struct skl_module_cfg *mconfig) in skl_is_pipe_mem_avail() argument
129 if (skl->resource.mem + mconfig->pipe->memory_pages > in skl_is_pipe_mem_avail()
133 mconfig->id.module_id, in skl_is_pipe_mem_avail()
134 mconfig->id.instance_id); in skl_is_pipe_mem_avail()
150 struct skl_module_cfg *mconfig) in skl_tplg_alloc_pipe_mem() argument
152 skl->resource.mem += mconfig->pipe->memory_pages; in skl_tplg_alloc_pipe_mem()
164 struct skl_module_cfg *mconfig) in skl_is_pipe_mcps_avail() argument
167 u8 res_idx = mconfig->res_idx; in skl_is_pipe_mcps_avail()
168 struct skl_module_res *res = &mconfig->module->resources[res_idx]; in skl_is_pipe_mcps_avail()
173 mconfig->id.module_id, mconfig->id.instance_id); in skl_is_pipe_mcps_avail()
[all …]
Dskl-messages.c464 struct skl_module_cfg *mconfig, in skl_set_base_module_format() argument
467 struct skl_module *module = mconfig->module; in skl_set_base_module_format()
468 struct skl_module_res *res = &module->resources[mconfig->res_idx]; in skl_set_base_module_format()
469 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_set_base_module_format()
497 static void skl_copy_copier_caps(struct skl_module_cfg *mconfig, in skl_copy_copier_caps() argument
500 if (mconfig->formats_config.caps_size == 0) in skl_copy_copier_caps()
504 mconfig->formats_config.caps, in skl_copy_copier_caps()
505 mconfig->formats_config.caps_size); in skl_copy_copier_caps()
508 (mconfig->formats_config.caps_size) / 4; in skl_copy_copier_caps()
517 struct skl_module_cfg *mconfig) in skl_get_node_id() argument
[all …]
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()
258 skl_tplg_d0i3_get(skl, mconfig->d0i3_caps); in skl_pcm_open()
267 struct skl_module_cfg *mconfig; in skl_pcm_prepare() local
272 mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); in skl_pcm_prepare()
278 if (mconfig && in skl_pcm_prepare()
280 mconfig->pipe->state == SKL_PIPE_CREATED || in skl_pcm_prepare()
281 mconfig->pipe->state == SKL_PIPE_PAUSED)) { in skl_pcm_prepare()
283 ret = skl_reset_pipe(skl->skl_sst, mconfig->pipe); in skl_pcm_prepare()
[all …]
Dskl.h166 struct skl_module_cfg *mconfig);
174 struct skl_module_cfg *mconfig) in skl_debug_init_module() argument
Dskl-topology.h477 struct skl_module_cfg *mconfig, struct skl_pipe_params *params);
/Linux-v4.19/drivers/net/ethernet/sun/
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()
Dsunqe.h345 u8 mconfig; /* Base MACE mconfig value */ member