mconfig 515 drivers/net/ethernet/sun/sunqe.c qep->mconfig = (MREGS_MCONFIG_TXENAB | mconfig 628 drivers/net/ethernet/sun/sunqe.c u8 new_mconfig = qep->mconfig; mconfig 673 drivers/net/ethernet/sun/sunqe.c qep->mconfig = new_mconfig; mconfig 674 drivers/net/ethernet/sun/sunqe.c sbus_writeb(qep->mconfig, qep->mregs + MREGS_MCONFIG); mconfig 345 drivers/net/ethernet/sun/sunqe.h u8 mconfig; /* Base MACE mconfig value */ mconfig 70 sound/soc/intel/skylake/skl-debug.c struct skl_module_cfg *mconfig = file->private_data; mconfig 71 sound/soc/intel/skylake/skl-debug.c struct skl_module *module = mconfig->module; mconfig 72 sound/soc/intel/skylake/skl-debug.c struct skl_module_res *res = &module->resources[mconfig->res_idx]; mconfig 81 sound/soc/intel/skylake/skl-debug.c "\tInstance id %d\n\tPvt_id %d\n", mconfig->guid, mconfig 82 sound/soc/intel/skylake/skl-debug.c mconfig->id.module_id, mconfig->id.instance_id, mconfig 83 sound/soc/intel/skylake/skl-debug.c mconfig->id.pvt_id); mconfig 92 sound/soc/intel/skylake/skl-debug.c mconfig->core_id, mconfig->max_in_queue, mconfig 93 sound/soc/intel/skylake/skl-debug.c mconfig->max_out_queue, mconfig 94 sound/soc/intel/skylake/skl-debug.c mconfig->is_loadable ? "loadable" : "inbuilt"); mconfig 96 sound/soc/intel/skylake/skl-debug.c ret += skl_print_fmt(mconfig->in_fmt, buf, ret, true); mconfig 97 sound/soc/intel/skylake/skl-debug.c ret += skl_print_fmt(mconfig->out_fmt, buf, ret, false); mconfig 101 sound/soc/intel/skylake/skl-debug.c mconfig->params_fixup, mconfig->converter); mconfig 105 sound/soc/intel/skylake/skl-debug.c mconfig->dev_type, mconfig->vbus_id, mconfig 106 sound/soc/intel/skylake/skl-debug.c mconfig->hw_conn_type, mconfig->time_slot); mconfig 110 sound/soc/intel/skylake/skl-debug.c "Pages %#x\n", mconfig->pipe->ppl_id, mconfig 111 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->pipe_priority, mconfig->pipe->conn_type, mconfig 112 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->memory_pages); mconfig 116 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->p_params->host_dma_id, mconfig 117 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->p_params->link_dma_id); mconfig 121 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->p_params->ch, mconfig 122 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->p_params->s_freq, mconfig 123 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->p_params->s_fmt); mconfig 127 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->p_params->linktype, mconfig 128 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->p_params->stream); mconfig 132 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->state, mconfig 133 sound/soc/intel/skylake/skl-debug.c mconfig->pipe->passthru ? "true" : "false"); mconfig 135 sound/soc/intel/skylake/skl-debug.c ret += skl_print_pins(mconfig->m_in_pin, buf, mconfig 136 sound/soc/intel/skylake/skl-debug.c mconfig->max_in_queue, ret, true); mconfig 137 sound/soc/intel/skylake/skl-debug.c ret += skl_print_pins(mconfig->m_out_pin, buf, mconfig 138 sound/soc/intel/skylake/skl-debug.c mconfig->max_out_queue, ret, false); mconfig 145 sound/soc/intel/skylake/skl-debug.c mconfig->domain, mconfig 146 sound/soc/intel/skylake/skl-debug.c mconfig->homogenous_inputs ? "true" : "false", mconfig 147 sound/soc/intel/skylake/skl-debug.c mconfig->homogenous_outputs ? "true" : "false", mconfig 148 sound/soc/intel/skylake/skl-debug.c mconfig->in_queue_mask, mconfig->out_queue_mask, mconfig 149 sound/soc/intel/skylake/skl-debug.c mconfig->dma_id, mconfig->mem_pages, mconfig->m_state, mconfig 150 sound/soc/intel/skylake/skl-debug.c mconfig->m_type); mconfig 167 sound/soc/intel/skylake/skl-debug.c struct skl_module_cfg *mconfig) mconfig 169 sound/soc/intel/skylake/skl-debug.c debugfs_create_file(w->name, 0444, d->modules, mconfig, mconfig 445 sound/soc/intel/skylake/skl-messages.c struct skl_module_cfg *mconfig, mconfig 448 sound/soc/intel/skylake/skl-messages.c struct skl_module *module = mconfig->module; mconfig 449 sound/soc/intel/skylake/skl-messages.c struct skl_module_res *res = &module->resources[mconfig->res_idx]; mconfig 450 sound/soc/intel/skylake/skl-messages.c struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; mconfig 479 sound/soc/intel/skylake/skl-messages.c static void skl_copy_copier_caps(struct skl_module_cfg *mconfig, mconfig 482 sound/soc/intel/skylake/skl-messages.c if (mconfig->formats_config.caps_size == 0) mconfig 486 sound/soc/intel/skylake/skl-messages.c mconfig->formats_config.caps, mconfig 487 sound/soc/intel/skylake/skl-messages.c mconfig->formats_config.caps_size); mconfig 490 sound/soc/intel/skylake/skl-messages.c (mconfig->formats_config.caps_size) / 4; mconfig 499 sound/soc/intel/skylake/skl-messages.c struct skl_module_cfg *mconfig) mconfig 503 sound/soc/intel/skylake/skl-messages.c struct skl_pipe_params *params = mconfig->pipe->p_params; mconfig 505 sound/soc/intel/skylake/skl-messages.c switch (mconfig->dev_type) { mconfig 508 sound/soc/intel/skylake/skl-messages.c (SKL_CONN_SOURCE == mconfig->hw_conn_type) ? mconfig 512 sound/soc/intel/skylake/skl-messages.c (mconfig->vbus_id << 3); mconfig 517 sound/soc/intel/skylake/skl-messages.c (SKL_CONN_SOURCE == mconfig->hw_conn_type) ? mconfig 520 sound/soc/intel/skylake/skl-messages.c ssp_node.dma_node.time_slot_index = mconfig->time_slot; mconfig 521 sound/soc/intel/skylake/skl-messages.c ssp_node.dma_node.i2s_instance = mconfig->vbus_id; mconfig 527 sound/soc/intel/skylake/skl-messages.c node_id.node.vindex = mconfig->vbus_id + mconfig 528 sound/soc/intel/skylake/skl-messages.c (mconfig->time_slot); mconfig 533 sound/soc/intel/skylake/skl-messages.c (SKL_CONN_SOURCE == mconfig->hw_conn_type) ? mconfig 541 sound/soc/intel/skylake/skl-messages.c (SKL_CONN_SOURCE == mconfig->hw_conn_type) ? mconfig 556 sound/soc/intel/skylake/skl-messages.c struct skl_module_cfg *mconfig, mconfig 561 sound/soc/intel/skylake/skl-messages.c int res_idx = mconfig->res_idx; mconfig 563 sound/soc/intel/skylake/skl-messages.c cpr_mconfig->gtw_cfg.node_id = skl_get_node_id(skl, mconfig); mconfig 571 sound/soc/intel/skylake/skl-messages.c res = &mconfig->module->resources[mconfig->res_idx]; mconfig 575 sound/soc/intel/skylake/skl-messages.c res = &mconfig->module->resources[res_idx]; mconfig 578 sound/soc/intel/skylake/skl-messages.c switch (mconfig->hw_conn_type) { mconfig 580 sound/soc/intel/skylake/skl-messages.c if (mconfig->dev_type == SKL_DEVICE_HDAHOST) mconfig 587 sound/soc/intel/skylake/skl-messages.c if (mconfig->dev_type == SKL_DEVICE_HDAHOST) mconfig 595 sound/soc/intel/skylake/skl-messages.c mconfig->hw_conn_type); mconfig 600 sound/soc/intel/skylake/skl-messages.c mconfig->dma_buffer_size * dma_io_buf; mconfig 604 sound/soc/intel/skylake/skl-messages.c if (mconfig->hw_conn_type == SKL_CONN_SOURCE) mconfig 614 sound/soc/intel/skylake/skl-messages.c skl_copy_copier_caps(mconfig, cpr_mconfig); mconfig 661 sound/soc/intel/skylake/skl-messages.c struct skl_module_cfg *mconfig, mconfig 664 sound/soc/intel/skylake/skl-messages.c struct skl_module *module = mconfig->module; mconfig 665 sound/soc/intel/skylake/skl-messages.c struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; mconfig 688 sound/soc/intel/skylake/skl-messages.c struct skl_module_cfg *mconfig, mconfig 691 sound/soc/intel/skylake/skl-messages.c struct skl_module *module = mconfig->module; mconfig 692 sound/soc/intel/skylake/skl-messages.c struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx]; mconfig 695 sound/soc/intel/skylake/skl-messages.c skl_set_base_module_format(skl, mconfig, mconfig 707 sound/soc/intel/skylake/skl-messages.c struct skl_module_cfg *mconfig, mconfig 710 sound/soc/intel/skylake/skl-messages.c struct skl_module *module = mconfig->module; mconfig 711 sound/soc/intel/skylake/skl-messages.c struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx]; mconfig 714 sound/soc/intel/skylake/skl-messages.c skl_set_base_module_format(skl, mconfig, mconfig 728 sound/soc/intel/skylake/skl-messages.c struct skl_module_cfg *mconfig, mconfig 734 sound/soc/intel/skylake/skl-messages.c skl_set_base_module_format(skl, mconfig, base_cfg); mconfig 736 sound/soc/intel/skylake/skl-messages.c skl_setup_out_format(skl, mconfig, out_fmt); mconfig 737 sound/soc/intel/skylake/skl-messages.c skl_setup_cpr_gateway_cfg(skl, mconfig, cpr_mconfig); mconfig 746 sound/soc/intel/skylake/skl-messages.c struct skl_module_cfg *mconfig, mconfig 751 sound/soc/intel/skylake/skl-messages.c skl_set_base_module_format(skl, mconfig, base_cfg); mconfig 753 sound/soc/intel/skylake/skl-messages.c if (mconfig->formats_config.caps_size == 0) mconfig 757 sound/soc/intel/skylake/skl-messages.c mconfig->formats_config.caps, mconfig 758 sound/soc/intel/skylake/skl-messages.c mconfig->formats_config.caps_size); mconfig 770 sound/soc/intel/skylake/skl-messages.c struct skl_module_cfg *mconfig, mconfig 777 sound/soc/intel/skylake/skl-messages.c skl_set_base_module_format(skl, mconfig, base_cfg); mconfig 778 sound/soc/intel/skylake/skl-messages.c skl_setup_out_format(skl, mconfig, out_fmt); mconfig 782 sound/soc/intel/skylake/skl-messages.c struct skl_module_cfg *mconfig) mconfig 786 sound/soc/intel/skylake/skl-messages.c switch (mconfig->m_type) { mconfig 789 sound/soc/intel/skylake/skl-messages.c param_size += mconfig->formats_config.caps_size; mconfig 800 sound/soc/intel/skylake/skl-messages.c param_size += mconfig->formats_config.caps_size; mconfig 973 sound/soc/intel/skylake/skl-messages.c struct skl_module_cfg *mconfig) mconfig 981 sound/soc/intel/skylake/skl-messages.c mconfig->id.module_id, mconfig->id.pvt_id); mconfig 983 sound/soc/intel/skylake/skl-messages.c if (mconfig->pipe->state != SKL_PIPE_CREATED) { mconfig 985 sound/soc/intel/skylake/skl-messages.c mconfig->pipe->state, mconfig->pipe->ppl_id); mconfig 989 sound/soc/intel/skylake/skl-messages.c ret = skl_set_module_format(skl, mconfig, mconfig 996 sound/soc/intel/skylake/skl-messages.c msg.module_id = mconfig->id.module_id; mconfig 997 sound/soc/intel/skylake/skl-messages.c msg.instance_id = mconfig->id.pvt_id; mconfig 998 sound/soc/intel/skylake/skl-messages.c msg.ppl_instance_id = mconfig->pipe->ppl_id; mconfig 1000 sound/soc/intel/skylake/skl-messages.c msg.core_id = mconfig->core_id; mconfig 1001 sound/soc/intel/skylake/skl-messages.c msg.domain = mconfig->domain; mconfig 1009 sound/soc/intel/skylake/skl-messages.c mconfig->m_state = SKL_MODULE_INIT_DONE; mconfig 228 sound/soc/intel/skylake/skl-pcm.c struct skl_module_cfg *mconfig; mconfig 262 sound/soc/intel/skylake/skl-pcm.c mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); mconfig 263 sound/soc/intel/skylake/skl-pcm.c if (!mconfig) mconfig 266 sound/soc/intel/skylake/skl-pcm.c skl_tplg_d0i3_get(skl, mconfig->d0i3_caps); mconfig 275 sound/soc/intel/skylake/skl-pcm.c struct skl_module_cfg *mconfig; mconfig 280 sound/soc/intel/skylake/skl-pcm.c mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); mconfig 286 sound/soc/intel/skylake/skl-pcm.c if (mconfig && mconfig 288 sound/soc/intel/skylake/skl-pcm.c mconfig->pipe->state == SKL_PIPE_CREATED || mconfig 289 sound/soc/intel/skylake/skl-pcm.c mconfig->pipe->state == SKL_PIPE_PAUSED)) { mconfig 291 sound/soc/intel/skylake/skl-pcm.c ret = skl_reset_pipe(skl, mconfig->pipe); mconfig 297 sound/soc/intel/skylake/skl-pcm.c mconfig->pipe->p_params); mconfig 354 sound/soc/intel/skylake/skl-pcm.c struct skl_module_cfg *mconfig; mconfig 378 sound/soc/intel/skylake/skl-pcm.c mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); mconfig 379 sound/soc/intel/skylake/skl-pcm.c if (mconfig) mconfig 380 sound/soc/intel/skylake/skl-pcm.c skl_tplg_d0i3_put(skl, mconfig->d0i3_caps); mconfig 391 sound/soc/intel/skylake/skl-pcm.c struct skl_module_cfg *mconfig; mconfig 396 sound/soc/intel/skylake/skl-pcm.c mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); mconfig 398 sound/soc/intel/skylake/skl-pcm.c if (mconfig) { mconfig 399 sound/soc/intel/skylake/skl-pcm.c ret = skl_reset_pipe(skl, mconfig->pipe); mconfig 475 sound/soc/intel/skylake/skl-pcm.c struct skl_module_cfg *mconfig; mconfig 481 sound/soc/intel/skylake/skl-pcm.c mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); mconfig 482 sound/soc/intel/skylake/skl-pcm.c if (!mconfig) mconfig 517 sound/soc/intel/skylake/skl-pcm.c return skl_run_pipe(skl, mconfig->pipe); mconfig 528 sound/soc/intel/skylake/skl-pcm.c ret = skl_stop_pipe(skl, mconfig->pipe); mconfig 605 sound/soc/intel/skylake/skl-pcm.c struct skl_module_cfg *mconfig = NULL; mconfig 608 sound/soc/intel/skylake/skl-pcm.c mconfig = skl_tplg_be_get_cpr_module(dai, substream->stream); mconfig 609 sound/soc/intel/skylake/skl-pcm.c if (mconfig && !mconfig->pipe->passthru && mconfig 611 sound/soc/intel/skylake/skl-pcm.c skl_reset_pipe(skl, mconfig->pipe); mconfig 1321 sound/soc/intel/skylake/skl-pcm.c struct skl_module_cfg *mconfig) mconfig 1329 sound/soc/intel/skylake/skl-pcm.c uuid_mod = (guid_t *)mconfig->guid; mconfig 1338 sound/soc/intel/skylake/skl-pcm.c mconfig->id.module_id = module->id; mconfig 1339 sound/soc/intel/skylake/skl-pcm.c if (mconfig->module) mconfig 1340 sound/soc/intel/skylake/skl-pcm.c mconfig->module->loadable = module->is_loadable; mconfig 1355 sound/soc/intel/skylake/skl-pcm.c mconfig->module = skl_module; mconfig 1365 sound/soc/intel/skylake/skl-pcm.c pin_id = &mconfig->m_in_pin[i].id; mconfig 1371 sound/soc/intel/skylake/skl-pcm.c pin_id = &mconfig->m_out_pin[i].id; mconfig 1385 sound/soc/intel/skylake/skl-pcm.c struct skl_module_cfg *mconfig; mconfig 1391 sound/soc/intel/skylake/skl-pcm.c mconfig = w->priv; mconfig 1393 sound/soc/intel/skylake/skl-pcm.c ret = skl_get_module_info(skl, mconfig); mconfig 382 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; mconfig 388 sound/soc/intel/skylake/skl-topology.c if (mconfig->formats_config.caps_size > 0 && mconfig 389 sound/soc/intel/skylake/skl-topology.c mconfig->formats_config.set_params == SKL_PARAM_SET) { mconfig 390 sound/soc/intel/skylake/skl-topology.c sp_cfg = &mconfig->formats_config; mconfig 393 sound/soc/intel/skylake/skl-topology.c sp_cfg->param_id, mconfig); mconfig 407 sound/soc/intel/skylake/skl-topology.c bc->param_id, mconfig); mconfig 428 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; mconfig 440 sound/soc/intel/skylake/skl-topology.c mconfig->formats_config.caps = (u32 *)bc->params; mconfig 441 sound/soc/intel/skylake/skl-topology.c mconfig->formats_config.caps_size = bc->size; mconfig 474 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig; mconfig 481 sound/soc/intel/skylake/skl-topology.c mconfig = w->priv; mconfig 484 sound/soc/intel/skylake/skl-topology.c if (mconfig->id.module_id < 0) { mconfig 487 sound/soc/intel/skylake/skl-topology.c (guid_t *)mconfig->guid); mconfig 491 sound/soc/intel/skylake/skl-topology.c cfg_idx = mconfig->pipe->cur_config_idx; mconfig 492 sound/soc/intel/skylake/skl-topology.c mconfig->fmt_idx = mconfig->mod_cfg[cfg_idx].fmt_idx; mconfig 493 sound/soc/intel/skylake/skl-topology.c mconfig->res_idx = mconfig->mod_cfg[cfg_idx].res_idx; mconfig 495 sound/soc/intel/skylake/skl-topology.c if (mconfig->module->loadable && skl->dsp->fw_ops.load_mod) { mconfig 497 sound/soc/intel/skylake/skl-topology.c mconfig->id.module_id, mconfig->guid); mconfig 501 sound/soc/intel/skylake/skl-topology.c mconfig->m_state = SKL_MODULE_LOADED; mconfig 505 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_module_prepare(skl, pipe, w, mconfig); mconfig 517 sound/soc/intel/skylake/skl-topology.c uuid_mod = (guid_t *)mconfig->guid; mconfig 518 sound/soc/intel/skylake/skl-topology.c mconfig->id.pvt_id = skl_get_pvt_id(skl, uuid_mod, mconfig 519 sound/soc/intel/skylake/skl-topology.c mconfig->id.instance_id); mconfig 520 sound/soc/intel/skylake/skl-topology.c if (mconfig->id.pvt_id < 0) mconfig 524 sound/soc/intel/skylake/skl-topology.c ret = skl_dsp_get_core(skl->dsp, mconfig->core_id); mconfig 527 sound/soc/intel/skylake/skl-topology.c mconfig->core_id, ret); mconfig 531 sound/soc/intel/skylake/skl-topology.c ret = skl_init_module(skl, mconfig); mconfig 533 sound/soc/intel/skylake/skl-topology.c skl_put_pvt_id(skl, uuid_mod, &mconfig->id.pvt_id); mconfig 544 sound/soc/intel/skylake/skl-topology.c skl_dsp_put_core(skl->dsp, mconfig->core_id); mconfig 553 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = NULL; mconfig 557 sound/soc/intel/skylake/skl-topology.c mconfig = w_module->w->priv; mconfig 558 sound/soc/intel/skylake/skl-topology.c uuid_mod = (guid_t *)mconfig->guid; mconfig 560 sound/soc/intel/skylake/skl-topology.c if (mconfig->module->loadable && skl->dsp->fw_ops.unload_mod && mconfig 561 sound/soc/intel/skylake/skl-topology.c mconfig->m_state > SKL_MODULE_UNINIT) { mconfig 563 sound/soc/intel/skylake/skl-topology.c mconfig->id.module_id); mconfig 567 sound/soc/intel/skylake/skl-topology.c skl_put_pvt_id(skl, uuid_mod, &mconfig->id.pvt_id); mconfig 569 sound/soc/intel/skylake/skl-topology.c ret = skl_dsp_put_core(skl->dsp, mconfig->core_id); mconfig 573 sound/soc/intel/skylake/skl-topology.c mconfig->core_id, ret); mconfig 589 sound/soc/intel/skylake/skl-topology.c skl_tplg_get_pipe_config(struct skl_dev *skl, struct skl_module_cfg *mconfig) mconfig 591 sound/soc/intel/skylake/skl-topology.c struct skl_pipe *pipe = mconfig->pipe; mconfig 650 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; mconfig 652 sound/soc/intel/skylake/skl-topology.c struct skl_pipe *s_pipe = mconfig->pipe; mconfig 656 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_get_pipe_config(skl, mconfig); mconfig 664 sound/soc/intel/skylake/skl-topology.c ret = skl_create_pipeline(skl, mconfig->pipe); mconfig 742 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; mconfig 763 sound/soc/intel/skylake/skl-topology.c if (mconfig->formats_config.caps_size > 0 && mconfig 764 sound/soc/intel/skylake/skl-topology.c mconfig->formats_config.set_params == SKL_PARAM_BIND) { mconfig 765 sound/soc/intel/skylake/skl-topology.c sp_cfg = &mconfig->formats_config; mconfig 768 sound/soc/intel/skylake/skl-topology.c sp_cfg->param_id, mconfig); mconfig 785 sound/soc/intel/skylake/skl-topology.c mconfig); mconfig 788 sound/soc/intel/skylake/skl-topology.c bc->max, bc->param_id, mconfig); mconfig 859 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; mconfig 867 sound/soc/intel/skylake/skl-topology.c if (mconfig->m_type != SKL_MODULE_TYPE_KPB) mconfig 1169 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; mconfig 1172 sound/soc/intel/skylake/skl-topology.c struct skl_pipe *s_pipe = mconfig->pipe; mconfig 1219 sound/soc/intel/skylake/skl-topology.c skl_delete_pipe(skl, mconfig->pipe); mconfig 1324 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; mconfig 1329 sound/soc/intel/skylake/skl-topology.c bc->size, bc->param_id, mconfig); mconfig 1356 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; mconfig 1379 sound/soc/intel/skylake/skl-topology.c ac->param_id, mconfig); mconfig 1389 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; mconfig 1393 sound/soc/intel/skylake/skl-topology.c if (mconfig->dmic_ch_type == ch_type) mconfig 1395 sound/soc/intel/skylake/skl-topology.c mconfig->dmic_ch_combo_index; mconfig 1402 sound/soc/intel/skylake/skl-topology.c static int skl_fill_mic_sel_params(struct skl_module_cfg *mconfig, mconfig 1405 sound/soc/intel/skylake/skl-topology.c struct skl_specific_cfg *sp_cfg = &mconfig->formats_config; mconfig 1427 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; mconfig 1434 sound/soc/intel/skylake/skl-topology.c mconfig->dmic_ch_type = ch_type; mconfig 1435 sound/soc/intel/skylake/skl-topology.c mconfig->dmic_ch_combo_index = ucontrol->value.enumerated.item[0]; mconfig 1438 sound/soc/intel/skylake/skl-topology.c if (mconfig->dmic_ch_combo_index == 0) mconfig 1442 sound/soc/intel/skylake/skl-topology.c index = mconfig->dmic_ch_combo_index - 1; mconfig 1446 sound/soc/intel/skylake/skl-topology.c if (mconfig->dmic_ch_combo_index > ARRAY_SIZE(mic_mono_list)) mconfig 1453 sound/soc/intel/skylake/skl-topology.c if (mconfig->dmic_ch_combo_index > ARRAY_SIZE(mic_stereo_list)) mconfig 1460 sound/soc/intel/skylake/skl-topology.c if (mconfig->dmic_ch_combo_index > ARRAY_SIZE(mic_trio_list)) mconfig 1467 sound/soc/intel/skylake/skl-topology.c if (mconfig->dmic_ch_combo_index > ARRAY_SIZE(mic_quatro_list)) mconfig 1487 sound/soc/intel/skylake/skl-topology.c return skl_fill_mic_sel_params(mconfig, &mic_cfg, w->dapm->dev); mconfig 1534 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig, mconfig 1537 sound/soc/intel/skylake/skl-topology.c struct skl_module_res *res = &mconfig->module->resources[0]; mconfig 1540 sound/soc/intel/skylake/skl-topology.c u8 cfg_idx = mconfig->pipe->cur_config_idx; mconfig 1542 sound/soc/intel/skylake/skl-topology.c skl_tplg_fill_dma_id(mconfig, params); mconfig 1543 sound/soc/intel/skylake/skl-topology.c mconfig->fmt_idx = mconfig->mod_cfg[cfg_idx].fmt_idx; mconfig 1544 sound/soc/intel/skylake/skl-topology.c mconfig->res_idx = mconfig->mod_cfg[cfg_idx].res_idx; mconfig 1550 sound/soc/intel/skylake/skl-topology.c format = &mconfig->module->formats[0].inputs[0].fmt; mconfig 1552 sound/soc/intel/skylake/skl-topology.c format = &mconfig->module->formats[0].outputs[0].fmt; mconfig 1638 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = NULL; mconfig 1645 sound/soc/intel/skylake/skl-topology.c mconfig = p->source->priv; mconfig 1646 sound/soc/intel/skylake/skl-topology.c return mconfig; mconfig 1648 sound/soc/intel/skylake/skl-topology.c mconfig = skl_get_mconfig_pb_cpr(dai, p->source); mconfig 1649 sound/soc/intel/skylake/skl-topology.c if (mconfig) mconfig 1650 sound/soc/intel/skylake/skl-topology.c return mconfig; mconfig 1653 sound/soc/intel/skylake/skl-topology.c return mconfig; mconfig 1660 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = NULL; mconfig 1667 sound/soc/intel/skylake/skl-topology.c mconfig = p->sink->priv; mconfig 1668 sound/soc/intel/skylake/skl-topology.c return mconfig; mconfig 1670 sound/soc/intel/skylake/skl-topology.c mconfig = skl_get_mconfig_cap_cpr(dai, p->sink); mconfig 1671 sound/soc/intel/skylake/skl-topology.c if (mconfig) mconfig 1672 sound/soc/intel/skylake/skl-topology.c return mconfig; mconfig 1675 sound/soc/intel/skylake/skl-topology.c return mconfig; mconfig 1682 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig; mconfig 1686 sound/soc/intel/skylake/skl-topology.c mconfig = skl_get_mconfig_pb_cpr(dai, w); mconfig 1689 sound/soc/intel/skylake/skl-topology.c mconfig = skl_get_mconfig_cap_cpr(dai, w); mconfig 1691 sound/soc/intel/skylake/skl-topology.c return mconfig; mconfig 1731 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig, mconfig 1736 sound/soc/intel/skylake/skl-topology.c int link_type = skl_tplg_be_link_type(mconfig->dev_type); mconfig 1737 sound/soc/intel/skylake/skl-topology.c u8 dev_type = skl_tplg_be_dev_type(mconfig->dev_type); mconfig 1739 sound/soc/intel/skylake/skl-topology.c skl_tplg_fill_dma_id(mconfig, params); mconfig 1745 sound/soc/intel/skylake/skl-topology.c cfg = skl_get_ep_blob(skl, mconfig->vbus_id, link_type, mconfig 1750 sound/soc/intel/skylake/skl-topology.c mconfig->formats_config.caps_size = cfg->size; mconfig 1751 sound/soc/intel/skylake/skl-topology.c mconfig->formats_config.caps = (u32 *) &cfg->caps; mconfig 1754 sound/soc/intel/skylake/skl-topology.c mconfig->vbus_id, link_type, mconfig 1949 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig, struct skl_dev *skl, mconfig 1958 sound/soc/intel/skylake/skl-topology.c mconfig->pipe = ppl->pipe; mconfig 1982 sound/soc/intel/skylake/skl-topology.c mconfig->pipe = pipe; mconfig 1983 sound/soc/intel/skylake/skl-topology.c mconfig->pipe->state = SKL_PIPE_INVALID; mconfig 2038 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig, mconfig 2047 sound/soc/intel/skylake/skl-topology.c m_pin = mconfig->m_in_pin; mconfig 2051 sound/soc/intel/skylake/skl-topology.c m_pin = mconfig->m_out_pin; mconfig 2257 sound/soc/intel/skylake/skl-topology.c struct skl_dev *skl, struct skl_module_cfg *mconfig) mconfig 2265 sound/soc/intel/skylake/skl-topology.c int res_idx = mconfig->res_idx; mconfig 2266 sound/soc/intel/skylake/skl-topology.c int fmt_idx = mconfig->fmt_idx; mconfig 2274 sound/soc/intel/skylake/skl-topology.c res = &mconfig->module->resources[res_idx]; mconfig 2275 sound/soc/intel/skylake/skl-topology.c iface = &mconfig->module->formats[fmt_idx]; mconfig 2283 sound/soc/intel/skylake/skl-topology.c mconfig->module->max_input_pins = tkn_elem->value; mconfig 2287 sound/soc/intel/skylake/skl-topology.c mconfig->module->max_output_pins = tkn_elem->value; mconfig 2291 sound/soc/intel/skylake/skl-topology.c if (!mconfig->m_in_pin) mconfig 2292 sound/soc/intel/skylake/skl-topology.c mconfig->m_in_pin = mconfig 2294 sound/soc/intel/skylake/skl-topology.c sizeof(*mconfig->m_in_pin), mconfig 2296 sound/soc/intel/skylake/skl-topology.c if (!mconfig->m_in_pin) mconfig 2299 sound/soc/intel/skylake/skl-topology.c skl_tplg_fill_pin_dynamic_val(mconfig->m_in_pin, MAX_IN_QUEUE, mconfig 2304 sound/soc/intel/skylake/skl-topology.c if (!mconfig->m_out_pin) mconfig 2305 sound/soc/intel/skylake/skl-topology.c mconfig->m_out_pin = mconfig 2307 sound/soc/intel/skylake/skl-topology.c sizeof(*mconfig->m_in_pin), mconfig 2309 sound/soc/intel/skylake/skl-topology.c if (!mconfig->m_out_pin) mconfig 2312 sound/soc/intel/skylake/skl-topology.c skl_tplg_fill_pin_dynamic_val(mconfig->m_out_pin, MAX_OUT_QUEUE, mconfig 2317 sound/soc/intel/skylake/skl-topology.c mconfig->time_slot = tkn_elem->value; mconfig 2321 sound/soc/intel/skylake/skl-topology.c mconfig->core_id = tkn_elem->value; mconfig 2325 sound/soc/intel/skylake/skl-topology.c mconfig->m_type = tkn_elem->value; mconfig 2329 sound/soc/intel/skylake/skl-topology.c mconfig->dev_type = tkn_elem->value; mconfig 2333 sound/soc/intel/skylake/skl-topology.c mconfig->hw_conn_type = tkn_elem->value; mconfig 2337 sound/soc/intel/skylake/skl-topology.c mconfig->id.instance_id = mconfig 2352 sound/soc/intel/skylake/skl-topology.c mconfig->vbus_id = tkn_elem->value; mconfig 2356 sound/soc/intel/skylake/skl-topology.c mconfig->params_fixup = tkn_elem->value; mconfig 2360 sound/soc/intel/skylake/skl-topology.c mconfig->converter = tkn_elem->value; mconfig 2364 sound/soc/intel/skylake/skl-topology.c mconfig->d0i3_caps = tkn_elem->value; mconfig 2369 sound/soc/intel/skylake/skl-topology.c mconfig, skl, tkn_elem); mconfig 2392 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_fill_pipe_tkn(dev, mconfig->pipe, mconfig 2404 sound/soc/intel/skylake/skl-topology.c if (mconfig->pipe->nr_cfgs) { mconfig 2405 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_fill_pipe_cfg(dev, mconfig->pipe, mconfig 2414 sound/soc/intel/skylake/skl-topology.c mconfig->mod_cfg[conf_idx].res_idx = tkn_elem->value; mconfig 2418 sound/soc/intel/skylake/skl-topology.c mconfig->mod_cfg[conf_idx].fmt_idx = tkn_elem->value; mconfig 2453 sound/soc/intel/skylake/skl-topology.c mconfig, tkn_elem, dir, mconfig 2461 sound/soc/intel/skylake/skl-topology.c mconfig->formats_config.caps_size = mconfig 2467 sound/soc/intel/skylake/skl-topology.c mconfig->formats_config.set_params = mconfig 2472 sound/soc/intel/skylake/skl-topology.c mconfig->formats_config.param_id = mconfig 2477 sound/soc/intel/skylake/skl-topology.c mconfig->domain = mconfig 2483 sound/soc/intel/skylake/skl-topology.c mconfig->dma_buffer_size = tkn_elem->value; mconfig 2508 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig, int block_size) mconfig 2531 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_get_uuid(dev, (guid_t *)mconfig->guid, mconfig 2536 sound/soc/intel/skylake/skl-topology.c mconfig); mconfig 2554 sound/soc/intel/skylake/skl-topology.c skl, mconfig); mconfig 2603 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig, struct skl_dev *skl, mconfig 2612 sound/soc/intel/skylake/skl-topology.c mconfig->pipe = ppl->pipe; mconfig 2640 sound/soc/intel/skylake/skl-topology.c mconfig->pipe = pipe; mconfig 2681 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig) mconfig 2689 sound/soc/intel/skylake/skl-topology.c ret = guid_parse(dfw->uuid, (guid_t *)mconfig->guid); mconfig 2692 sound/soc/intel/skylake/skl-topology.c mconfig->id.module_id = -1; mconfig 2693 sound/soc/intel/skylake/skl-topology.c mconfig->id.instance_id = dfw->instance_id; mconfig 2694 sound/soc/intel/skylake/skl-topology.c mconfig->module->resources[0].cpc = dfw->max_mcps / 1000; mconfig 2695 sound/soc/intel/skylake/skl-topology.c mconfig->module->resources[0].ibs = dfw->ibs; mconfig 2696 sound/soc/intel/skylake/skl-topology.c mconfig->module->resources[0].obs = dfw->obs; mconfig 2697 sound/soc/intel/skylake/skl-topology.c mconfig->core_id = dfw->core_id; mconfig 2698 sound/soc/intel/skylake/skl-topology.c mconfig->module->max_input_pins = dfw->max_in_queue; mconfig 2699 sound/soc/intel/skylake/skl-topology.c mconfig->module->max_output_pins = dfw->max_out_queue; mconfig 2700 sound/soc/intel/skylake/skl-topology.c mconfig->module->loadable = dfw->is_loadable; mconfig 2701 sound/soc/intel/skylake/skl-topology.c skl_tplg_fill_fmt_v4(mconfig->module->formats[0].inputs, dfw->in_fmt, mconfig 2703 sound/soc/intel/skylake/skl-topology.c skl_tplg_fill_fmt_v4(mconfig->module->formats[0].outputs, dfw->out_fmt, mconfig 2706 sound/soc/intel/skylake/skl-topology.c mconfig->params_fixup = dfw->params_fixup; mconfig 2707 sound/soc/intel/skylake/skl-topology.c mconfig->converter = dfw->converter; mconfig 2708 sound/soc/intel/skylake/skl-topology.c mconfig->m_type = dfw->module_type; mconfig 2709 sound/soc/intel/skylake/skl-topology.c mconfig->vbus_id = dfw->vbus_id; mconfig 2710 sound/soc/intel/skylake/skl-topology.c mconfig->module->resources[0].is_pages = dfw->mem_pages; mconfig 2712 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_add_pipe_v4(dev, mconfig, skl, &dfw->pipe); mconfig 2716 sound/soc/intel/skylake/skl-topology.c mconfig->dev_type = dfw->dev_type; mconfig 2717 sound/soc/intel/skylake/skl-topology.c mconfig->hw_conn_type = dfw->hw_conn_type; mconfig 2718 sound/soc/intel/skylake/skl-topology.c mconfig->time_slot = dfw->time_slot; mconfig 2719 sound/soc/intel/skylake/skl-topology.c mconfig->formats_config.caps_size = dfw->caps.caps_size; mconfig 2721 sound/soc/intel/skylake/skl-topology.c mconfig->m_in_pin = devm_kcalloc(dev, mconfig 2722 sound/soc/intel/skylake/skl-topology.c MAX_IN_QUEUE, sizeof(*mconfig->m_in_pin), mconfig 2724 sound/soc/intel/skylake/skl-topology.c if (!mconfig->m_in_pin) mconfig 2727 sound/soc/intel/skylake/skl-topology.c mconfig->m_out_pin = devm_kcalloc(dev, mconfig 2728 sound/soc/intel/skylake/skl-topology.c MAX_OUT_QUEUE, sizeof(*mconfig->m_out_pin), mconfig 2730 sound/soc/intel/skylake/skl-topology.c if (!mconfig->m_out_pin) mconfig 2733 sound/soc/intel/skylake/skl-topology.c skl_fill_module_pin_info_v4(dfw->in_pin, mconfig->m_in_pin, mconfig 2735 sound/soc/intel/skylake/skl-topology.c mconfig->module->max_input_pins); mconfig 2736 sound/soc/intel/skylake/skl-topology.c skl_fill_module_pin_info_v4(dfw->out_pin, mconfig->m_out_pin, mconfig 2738 sound/soc/intel/skylake/skl-topology.c mconfig->module->max_output_pins); mconfig 2740 sound/soc/intel/skylake/skl-topology.c if (mconfig->formats_config.caps_size) { mconfig 2741 sound/soc/intel/skylake/skl-topology.c mconfig->formats_config.set_params = dfw->caps.set_params; mconfig 2742 sound/soc/intel/skylake/skl-topology.c mconfig->formats_config.param_id = dfw->caps.param_id; mconfig 2743 sound/soc/intel/skylake/skl-topology.c mconfig->formats_config.caps = mconfig 2744 sound/soc/intel/skylake/skl-topology.c devm_kzalloc(dev, mconfig->formats_config.caps_size, mconfig 2746 sound/soc/intel/skylake/skl-topology.c if (!mconfig->formats_config.caps) mconfig 2748 sound/soc/intel/skylake/skl-topology.c memcpy(mconfig->formats_config.caps, dfw->caps.caps, mconfig 2763 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig) mconfig 2775 sound/soc/intel/skylake/skl-topology.c return skl_tplg_get_pvt_data_v4(tplg_w, skl, dev, mconfig); mconfig 2814 sound/soc/intel/skylake/skl-topology.c skl, mconfig, block_size); mconfig 2821 sound/soc/intel/skylake/skl-topology.c if (mconfig->formats_config.caps_size > 0) mconfig 2822 sound/soc/intel/skylake/skl-topology.c memcpy(mconfig->formats_config.caps, data, mconfig 2823 sound/soc/intel/skylake/skl-topology.c mconfig->formats_config.caps_size); mconfig 2825 sound/soc/intel/skylake/skl-topology.c ret = mconfig->formats_config.caps_size; mconfig 2837 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig; mconfig 2842 sound/soc/intel/skylake/skl-topology.c mconfig = w->priv; mconfig 2843 sound/soc/intel/skylake/skl-topology.c pipe = mconfig->pipe; mconfig 2844 sound/soc/intel/skylake/skl-topology.c for (i = 0; i < mconfig->module->max_input_pins; i++) { mconfig 2845 sound/soc/intel/skylake/skl-topology.c mconfig->m_in_pin[i].in_use = false; mconfig 2846 sound/soc/intel/skylake/skl-topology.c mconfig->m_in_pin[i].pin_state = SKL_PIN_UNBIND; mconfig 2848 sound/soc/intel/skylake/skl-topology.c for (i = 0; i < mconfig->module->max_output_pins; i++) { mconfig 2849 sound/soc/intel/skylake/skl-topology.c mconfig->m_out_pin[i].in_use = false; mconfig 2850 sound/soc/intel/skylake/skl-topology.c mconfig->m_out_pin[i].pin_state = SKL_PIN_UNBIND; mconfig 2853 sound/soc/intel/skylake/skl-topology.c mconfig->m_state = SKL_MODULE_UNINIT; mconfig 2892 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig; mconfig 2897 sound/soc/intel/skylake/skl-topology.c mconfig = devm_kzalloc(bus->dev, sizeof(*mconfig), GFP_KERNEL); mconfig 2899 sound/soc/intel/skylake/skl-topology.c if (!mconfig) mconfig 2903 sound/soc/intel/skylake/skl-topology.c mconfig->module = devm_kzalloc(bus->dev, mconfig 2904 sound/soc/intel/skylake/skl-topology.c sizeof(*mconfig->module), GFP_KERNEL); mconfig 2905 sound/soc/intel/skylake/skl-topology.c if (!mconfig->module) mconfig 2909 sound/soc/intel/skylake/skl-topology.c w->priv = mconfig; mconfig 2915 sound/soc/intel/skylake/skl-topology.c mconfig->id.module_id = -1; mconfig 2918 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_get_pvt_data(tplg_w, skl, bus->dev, mconfig); mconfig 2922 sound/soc/intel/skylake/skl-topology.c skl_debug_init_module(skl->debugfs, w, mconfig); mconfig 3537 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig; mconfig 3542 sound/soc/intel/skylake/skl-topology.c mconfig = w->priv; mconfig 3544 sound/soc/intel/skylake/skl-topology.c if (mconfig->dev_type == SKL_DEVICE_HDAHOST) mconfig 3546 sound/soc/intel/skylake/skl-topology.c else if (mconfig->dev_type != SKL_DEVICE_NONE) mconfig 461 sound/soc/intel/skylake/skl-topology.h struct skl_module_cfg *mconfig, struct skl_pipe_params *params); mconfig 195 sound/soc/intel/skylake/skl.h struct skl_module_cfg *mconfig); mconfig 207 sound/soc/intel/skylake/skl.h struct skl_module_cfg *mconfig)