| /linux/sound/soc/sof/ |
| H A D | ipc3-topology.c | 1045 static void sof_dai_set_format(struct snd_soc_tplg_hw_config *hw_config, in sof_dai_set_format() 1050 if (hw_config->bclk_provider == SND_SOC_TPLG_BCLK_CP) { in sof_dai_set_format() 1052 if (hw_config->fsync_provider == SND_SOC_TPLG_FSYNC_CP) in sof_dai_set_format() 1058 if (hw_config->fsync_provider == SND_SOC_TPLG_FSYNC_CP) in sof_dai_set_format() 1066 if (hw_config->invert_bclk) { in sof_link_sai_load() 1067 if (hw_config->invert_fsync) in sof_link_sai_load() 1072 if (hw_config->invert_fsync) in sof_link_sai_load() 1082 struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs; in sof_link_sai_load() 1088 sof_dai_set_format(hw_config, config); in sof_link_sai_load() 1100 config->sai.mclk_rate = le32_to_cpu(hw_config in sof_link_sai_load() 1032 sof_dai_set_format(struct snd_soc_tplg_hw_config * hw_config,struct sof_ipc_dai_config * config) sof_dai_set_format() argument 1069 struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs; sof_link_sai_load() local 1120 struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs; sof_link_esai_load() local 1170 struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs; sof_link_micfil_load() local 1201 struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs; sof_link_acp_dmic_load() local 1233 struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs; sof_link_acp_bt_load() local 1266 struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs; sof_link_acp_sp_load() local 1300 struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs; sof_link_acp_hs_load() local 1391 struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs; sof_link_ssp_load() local [all...] |
| H A D | ipc4-pcm.c | 663 struct snd_soc_tplg_hw_config *hw_config = &slink->hw_configs[i]; in ipc4_ssp_dai_config_pcm_params_match() local 665 if (params_rate(params) == le32_to_cpu(hw_config->fsync_rate) && in ipc4_ssp_dai_config_pcm_params_match() 666 params_width(params) == le32_to_cpu(hw_config->tdm_slot_width) && in ipc4_ssp_dai_config_pcm_params_match() 667 params_channels(params) <= le32_to_cpu(hw_config->tdm_slots)) { in ipc4_ssp_dai_config_pcm_params_match() 668 current_config = le32_to_cpu(hw_config->id); in ipc4_ssp_dai_config_pcm_params_match() 673 params_rate(params) == le32_to_cpu(hw_config->fsync_rate) && in ipc4_ssp_dai_config_pcm_params_match() 674 params_channels(params) <= le32_to_cpu(hw_config->tdm_slots)) { in ipc4_ssp_dai_config_pcm_params_match() 675 current_config = le32_to_cpu(hw_config->id); in ipc4_ssp_dai_config_pcm_params_match()
|
| H A D | ipc4-topology.c | 1797 struct snd_soc_tplg_hw_config *hw_config; in snd_sof_get_hw_config_params() local 1817 hw_config = &slink->hw_configs[i]; in snd_sof_get_hw_config_params() 1818 if (dai->current_config == le32_to_cpu(hw_config->id)) { in snd_sof_get_hw_config_params() 1830 *bit_depth = le32_to_cpu(hw_config->tdm_slot_width); in snd_sof_get_hw_config_params() 1831 *channel_count = le32_to_cpu(hw_config->tdm_slots); in snd_sof_get_hw_config_params() 1832 *sample_rate = le32_to_cpu(hw_config->fsync_rate); in snd_sof_get_hw_config_params() 4130 struct snd_soc_tplg_hw_config *hw_config; in sof_ipc4_dai_get_param() local 4152 hw_config = &slink->hw_configs[i]; in sof_ipc4_dai_get_param() 4153 if (dai->current_config == le32_to_cpu(hw_config->id)) { in sof_ipc4_dai_get_param() 4168 return le32_to_cpu(hw_config->mclk_rate); in sof_ipc4_dai_get_param() [all …]
|
| H A D | topology.c | 1939 memcpy(slink->hw_configs, cfg->hw_config, le32_to_cpu(cfg->num_hw_configs) * sizeof(*slink->hw_configs)); in sof_link_load()
|
| /linux/drivers/nfc/pn544/ |
| H A D | pn544.c | 168 static struct hw_config { in pn544_hci_ready() struct 171 } hw_config[] = { in pn544_hci_ready() local 239 struct hw_config *p = hw_config; in pn544_hci_ready() 240 int count = ARRAY_SIZE(hw_config); in pn544_hci_ready()
|
| /linux/sound/soc/ |
| H A D | soc-topology.c | 1656 struct snd_soc_tplg_hw_config *hw_config; in set_link_hw_format() 1662 hw_config = &cfg->hw_config[i]; in set_link_hw_format() 1663 if (hw_config->id != cfg->default_hw_config_id) in set_link_hw_format() 1666 link->dai_fmt = le32_to_cpu(hw_config->fmt) & in set_link_hw_format() 1670 switch (hw_config->clock_gated) { in set_link_hw_format() 1685 invert_bclk = hw_config->invert_bclk; 1686 invert_fsync = hw_config->invert_fsync; 1697 bclk_provider = (hw_config->bclk_provider == in snd_soc_find_dai_link() 1699 fsync_provider = (hw_config in snd_soc_find_dai_link() 1624 struct snd_soc_tplg_hw_config *hw_config; set_link_hw_format() local [all...] |
| /linux/include/uapi/linux/ |
| H A D | hdreg.h | 569 unsigned short hw_config; /* hardware config (word 93) member
|
| /linux/include/uapi/sound/ |
| H A D | asoc.h | 548 struct snd_soc_tplg_hw_config hw_config[SND_SOC_TPLG_HW_CONFIG_MAX]; /* hw configs */ member
|
| /linux/arch/x86/events/amd/ |
| H A D | core.c | 366 DEFINE_STATIC_CALL_RET0(amd_pmu_branch_hw_config, *x86_pmu.hw_config); 1328 .hw_config = amd_pmu_hw_config,
|
| /linux/arch/x86/events/intel/ |
| H A D | core.c | 6604 .hw_config = core_pmu_hw_config, 6658 .hw_config = intel_pmu_hw_config, 8341 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init() 8384 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init() 8446 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init() 8499 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init() 8548 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init() 8574 x86_pmu.hw_config = adl_hw_config; in intel_pmu_init() 8634 x86_pmu.hw_config = adl_hw_config; in intel_pmu_init() 8712 x86_pmu.hw_config = adl_hw_config; in intel_pmu_init() [all …]
|
| H A D | uncore.c | 814 if (pmu->type->ops->hw_config) { in uncore_pmu_event_init() 815 ret = pmu->type->ops->hw_config(box, event); in uncore_pmu_event_init()
|
| /linux/drivers/misc/mei/ |
| H A D | hw-txe.c | 1164 .hw_config = mei_txe_hw_config,
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ptp_hw.c | 6110 u8 hw_ref_state, hw_dpll_state, hw_eec_mode, hw_config; in ice_get_cgu_state() local 6115 &hw_dpll_state, &hw_config, in ice_get_cgu_state() 6122 *pin = hw_config & ICE_AQC_GET_CGU_DPLL_CONFIG_CLK_REF_SEL; in ice_get_cgu_state()
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x.h | 973 u32 hw_config; member
|