Lines Matching defs:module

437  * Each module in DSP expects a base module configuration, which consists of
440 * This is send when we create a module with INIT_INSTANCE IPC msg
446 struct skl_module *module = mconfig->module;
447 struct skl_module_res *res = &module->resources[mconfig->res_idx];
448 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx];
487 * Any module configuration begins with a base module configuration but
489 * module's pins that are in use.
495 struct skl_module *module = mconfig->module;
497 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx];
498 struct skl_module_res *res = &module->resources[mconfig->res_idx];
543 * Copies copier capabilities into copier module and updates copier module
562 * Calculate the gatewat settings required for copier module, type of
638 res = &mconfig->module->resources[mconfig->res_idx];
642 res = &mconfig->module->resources[res_idx];
731 struct skl_module *module = mconfig->module;
732 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx];
750 * DSP needs SRC module for frequency conversion, SRC takes base module
758 struct skl_module *module = mconfig->module;
759 struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx];
769 * DSP needs updown module to do channel conversion. updown module take base
770 * module configuration and channel configuration
777 struct skl_module *module = mconfig->module;
778 struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx];
788 * 'copier' is DSP internal module which copies data from Host DMA (HDA host
790 * Here we calculate the copier module parameters, like PCM format, output
808 * Mic select module allows selecting one or many input channels, thus
811 * Mic select module take base module configuration and out-format
830 struct skl_module *module = mconfig->module;
855 res = &module->resources[mconfig->res_idx];
871 * the module initialization to DSP. By default a generic module needs only
872 * base module format configuration
945 * Allocates queue for each module.
956 * otherwise find match module and instance id pin as topology will
1019 * A module needs to be instanataited in DSP. A mdoule is present in a
1020 * collection of module referred as a PIPE.
1021 * We first calculate the module format, based on module type and then
1044 dev_err(skl->dev, "Failed to set module format ret=%d\n", ret);
1074 dev_dbg(skl->dev, "src_module state = %d dst module state = %d\n",
1079 * On module freeup, we need to unbind the module with modules
1091 int in_max = dst_mcfg->module->max_input_pins;
1092 int out_max = src_mcfg->module->max_output_pins;
1131 * check only if src module bind state, bind is
1143 * Once a module is instantiated it need to be 'bind' with other modules in
1144 * the pipeline. For binding we need to find the module pins which are bind
1155 int in_max = dst_mcfg->module->max_input_pins;
1156 int out_max = src_mcfg->module->max_output_pins;
1160 struct skl_module *module;
1181 * Copier module requires the separate large_config_set_ipc to
1186 module = src_mcfg->module;
1187 fmt = &module->formats[src_mcfg->fmt_idx];
1189 /* Input fmt is same as that of src module input cfg */
1239 * A pipeline is a collection of modules. Before a module in instantiated a