Lines Matching defs:module

116 	struct skl_module_iface *iface = &mcfg->module->formats[mcfg->fmt_idx];
189 * outfix and then apply that for a module
198 in_fmt = &m_cfg->module->formats[m_cfg->fmt_idx].inputs[0].fmt;
199 out_fmt = &m_cfg->module->formats[m_cfg->fmt_idx].outputs[0].fmt;
228 * A module needs input and output buffers, which are dependent upon pcm
242 res = &mcfg->module->resources[mcfg->res_idx];
243 in_fmt = &mcfg->module->formats[mcfg->fmt_idx].inputs[0].fmt;
244 out_fmt = &mcfg->module->formats[mcfg->fmt_idx].outputs[0].fmt;
292 struct skl_module_iface *m_iface = &m_cfg->module->formats[fmt_idx];
376 * need to be set after module is initialized. If set_param flag is
377 * set module params will be done after module is initialised.
419 * some module param can set from user control and this is required as
420 * when module is initailzed. if module param is required in init it is
422 * parameter needs to set as part of module init.
484 /* check if module ids are populated */
487 "module %pUL id not populated\n",
496 if (mconfig->module->loadable && skl->dsp->fw_ops.load_mod) {
505 /* prepare the DMA if the module is gateway cpr */
514 * apply fix/conversion to module params based on
561 if (mconfig->module->loadable && skl->dsp->fw_ops.unload_mod &&
617 * The config index is then used to select proper module resources.
681 * Mixer module represents a pipeline. So in the Pre-PMU event of mixer we
694 struct skl_module_cfg *src_module = NULL, *dst_module, *module;
731 * When the destination module is initialized, check for these modules
739 module = w_module->w->priv;
740 if (modules->dst == module)
773 * Some modules require params to be set after the module is bound to
776 * The module provider initializes set_param flag for such modules and we
792 * if so set the module param
794 for (i = 0; i < mcfg->module->max_output_pins; i++) {
799 for (i = 0; i < mcfg->module->max_input_pins; i++) {
843 struct uuid_module *module;
845 list_for_each_entry(module, &skl->uuid_list, list) {
846 if (guid_equal(uuid, &module->uuid))
847 return module->id;
894 * Retrieve the module id from UUID mentioned in the
927 /* only supported for module with static pin connection */
928 for (i = 0; i < dst->module->max_input_pins; i++) {
995 * directly or via switch to a module in another
997 * when the path is enabled, the dst module that needs
998 * to be bound may not be initialized. if the module is
1000 * bind list and when the dst module is initialised,
1001 * bind this module to the dst_module in deferred list.
1024 /* set module params after bind */
1049 * A PGA represents a module in a pipeline. So in the Pre-PMU event of PGA
1157 /* set module params after bind */
1187 for (i = 0; i < sink_mconfig->module->max_input_pins; i++) {
1227 * When the destination module is deleted, Unbind the
1236 * When the source module is deleted, remove this entry
1283 /* Stop the pipe since this is a mixin module */
1288 for (i = 0; i < src_mconfig->module->max_output_pins; i++) {
1572 "Invalid channel %d for mic_select module\n",
1626 * On hw_params, the params are stored in Gateway module of the FE and we
1627 * need to calculate the format in DSP module configuration, that
1639 res = &mconfig->module->resources[mconfig->res_idx];
1648 format = &mconfig->module->formats[mconfig->fmt_idx].inputs[0].fmt;
1650 format = &mconfig->module->formats[mconfig->fmt_idx].outputs[0].fmt;
1691 * Query the module config for the FE DAI
2143 * module private data
2178 * Fill up input/output module config format based
2303 * Fill module specific resources from the manifest's resource
2361 * Parse tokens to fill up the module private data
2378 * the module data to 0th index.
2382 res = &mconfig->module->resources[res_idx];
2383 iface = &mconfig->module->formats[fmt_idx];
2391 mconfig->module->max_input_pins = tkn_elem->value;
2395 mconfig->module->max_output_pins = tkn_elem->value;
2612 * module private data
2802 mconfig->module->resources[0].cpc = dfw->max_mcps / 1000;
2803 mconfig->module->resources[0].ibs = dfw->ibs;
2804 mconfig->module->resources[0].obs = dfw->obs;
2806 mconfig->module->max_input_pins = dfw->max_in_queue;
2807 mconfig->module->max_output_pins = dfw->max_out_queue;
2808 mconfig->module->loadable = dfw->is_loadable;
2809 skl_tplg_fill_fmt_v4(mconfig->module->formats[0].inputs, dfw->in_fmt,
2811 skl_tplg_fill_fmt_v4(mconfig->module->formats[0].outputs, dfw->out_fmt,
2818 mconfig->module->resources[0].is_pages = dfw->mem_pages;
2843 mconfig->module->max_input_pins);
2846 mconfig->module->max_output_pins);
2952 for (i = 0; i < mconfig->module->max_input_pins; i++) {
2956 for (i = 0; i < mconfig->module->max_output_pins; i++) {
2990 * information to the driver about module and pipeline parameters which DSP
3011 mconfig->module = devm_kzalloc(bus->dev,
3012 sizeof(*mconfig->module), GFP_KERNEL);
3013 if (!mconfig->module)
3020 * module binary can be loaded later, so set it to query when
3021 * module is load for a use case