Lines Matching defs:module
439 * Each module in DSP expects a base module configuration, which consists of
442 * This is send when we create a module with INIT_INSTANCE IPC msg
448 struct skl_module *module = mconfig->module;
449 struct skl_module_res *res = &module->resources[mconfig->res_idx];
450 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx];
476 * Copies copier capabilities into copier module and updates copier module
495 * Calculate the gatewat settings required for copier module, type of
571 res = &mconfig->module->resources[mconfig->res_idx];
575 res = &mconfig->module->resources[res_idx];
664 struct skl_module *module = mconfig->module;
665 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx];
683 * DSP needs SRC module for frequency conversion, SRC takes base module
691 struct skl_module *module = mconfig->module;
692 struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx];
702 * DSP needs updown module to do channel conversion. updown module take base
703 * module configuration and channel configuration
710 struct skl_module *module = mconfig->module;
711 struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx];
721 * 'copier' is DSP internal module which copies data from Host DMA (HDA host
723 * Here we calculate the copier module parameters, like PCM format, output
741 * Algo module are DSP pre processing modules. Algo module take base module
763 * Mic select module allows selecting one or many input channels, thus
766 * Mic select module take base module configuration and out-format
813 * return only base cfg when no specific module type is
825 * the module initialization to DSP. By default a generic module needs only
826 * base module format configuration
900 * Allocates queue for each module.
911 * otherwise find match module and instance id pin as topology will
974 * A module needs to be instanataited in DSP. A mdoule is present in a
975 * collection of module referred as a PIPE.
976 * We first calculate the module format, based on module type and then
999 dev_err(skl->dev, "Failed to set module format ret=%d\n", ret);
1029 dev_dbg(skl->dev, "src_module state = %d dst module state = %d\n",
1034 * On module freeup, we need to unbind the module with modules
1046 int in_max = dst_mcfg->module->max_input_pins;
1047 int out_max = src_mcfg->module->max_output_pins;
1086 * check only if src module bind state, bind is
1111 * Once a module is instantiated it need to be 'bind' with other modules in
1112 * the pipeline. For binding we need to find the module pins which are bind
1123 int in_max = dst_mcfg->module->max_input_pins;
1124 int out_max = src_mcfg->module->max_output_pins;
1128 struct skl_module *module;
1149 * Copier module requires the separate large_config_set_ipc to
1154 module = src_mcfg->module;
1155 fmt = &module->formats[src_mcfg->fmt_idx];
1157 /* Input fmt is same as that of src module input cfg */
1207 * A pipeline is a collection of modules. Before a module in instantiated a