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];
380 * need to be set after module is initialized. If set_param flag is
381 * set module params will be done after module is initialised.
423 * some module param can set from user control and this is required as
424 * when module is initailzed. if module param is required in init it is
426 * parameter needs to set as part of module init.
490 /* check if module ids are populated */
493 "module %pUL id not populated\n",
502 if (mconfig->module->loadable && skl->dsp->fw_ops.load_mod) {
509 /* prepare the DMA if the module is gateway cpr */
518 * apply fix/conversion to module params based on
565 if (mconfig->module->loadable && skl->dsp->fw_ops.unload_mod) {
594 * The config index is then used to select proper module resources.
647 * Mixer module represents a pipeline. So in the Pre-PMU event of mixer we
660 struct skl_module_cfg *src_module = NULL, *dst_module, *module;
697 * When the destination module is initialized, check for these modules
705 module = w_module->w->priv;
706 if (modules->dst == module)
739 * Some modules require params to be set after the module is bound to
742 * The module provider initializes set_param flag for such modules and we
758 * if so set the module param
760 for (i = 0; i < mcfg->module->max_output_pins; i++) {
765 for (i = 0; i < mcfg->module->max_input_pins; i++) {
810 struct uuid_module *module;
812 list_for_each_entry(module, &skl->uuid_list, list) {
813 if (guid_equal(uuid, &module->uuid))
814 return module->id;
861 * Retrieve the module id from UUID mentioned in the
894 /* only supported for module with static pin connection */
895 for (i = 0; i < dst->module->max_input_pins; i++) {
962 * directly or via switch to a module in another
964 * when the path is enabled, the dst module that needs
965 * to be bound may not be initialized. if the module is
967 * bind list and when the dst module is initialised,
968 * bind this module to the dst_module in deferred list.
991 /* set module params after bind */
1016 * A PGA represents a module in a pipeline. So in the Pre-PMU event of PGA
1124 /* set module params after bind */
1154 for (i = 0; i < sink_mconfig->module->max_input_pins; i++) {
1194 * When the destination module is deleted, Unbind the
1203 * When the source module is deleted, remove this entry
1250 /* Stop the pipe since this is a mixin module */
1255 for (i = 0; i < src_mconfig->module->max_output_pins; i++) {
1540 "Invalid channel %d for mic_select module\n",
1594 * On hw_params, the params are stored in Gateway module of the FE and we
1595 * need to calculate the format in DSP module configuration, that
1607 res = &mconfig->module->resources[mconfig->res_idx];
1616 format = &mconfig->module->formats[mconfig->fmt_idx].inputs[0].fmt;
1618 format = &mconfig->module->formats[mconfig->fmt_idx].outputs[0].fmt;
1659 * Query the module config for the FE DAI
2119 * module private data
2154 * Fill up input/output module config format based
2279 * Fill module specific resources from the manifest's resource
2337 * Parse tokens to fill up the module private data
2354 * the module data to 0th index.
2358 res = &mconfig->module->resources[res_idx];
2359 iface = &mconfig->module->formats[fmt_idx];
2367 mconfig->module->max_input_pins = tkn_elem->value;
2371 mconfig->module->max_output_pins = tkn_elem->value;
2595 * module private data
2786 mconfig->module->resources[0].cpc = dfw->max_mcps / 1000;
2787 mconfig->module->resources[0].ibs = dfw->ibs;
2788 mconfig->module->resources[0].obs = dfw->obs;
2790 mconfig->module->max_input_pins = dfw->max_in_queue;
2791 mconfig->module->max_output_pins = dfw->max_out_queue;
2792 mconfig->module->loadable = dfw->is_loadable;
2793 skl_tplg_fill_fmt_v4(mconfig->module->formats[0].inputs, dfw->in_fmt,
2795 skl_tplg_fill_fmt_v4(mconfig->module->formats[0].outputs, dfw->out_fmt,
2802 mconfig->module->resources[0].is_pages = dfw->mem_pages;
2827 mconfig->module->max_input_pins);
2830 mconfig->module->max_output_pins);
2947 for (i = 0; i < mconfig->module->max_input_pins; i++) {
2951 for (i = 0; i < mconfig->module->max_output_pins; i++) {
2985 * information to the driver about module and pipeline parameters which DSP
3006 mconfig->module = devm_kzalloc(bus->dev,
3007 sizeof(*mconfig->module), GFP_KERNEL);
3008 if (!mconfig->module)
3015 * module binary can be loaded later, so set it to query when
3016 * module is load for a use case