Home
last modified time | relevance | path

Searched refs:hw_config (Results 1 – 20 of 20) sorted by relevance

/linux/sound/soc/sof/
H A Dipc3-topology.c1040 static void sof_dai_set_format(struct snd_soc_tplg_hw_config *hw_config, in sof_dai_set_format()
1045 if (hw_config->bclk_provider == SND_SOC_TPLG_BCLK_CP) { in sof_dai_set_format()
1047 if (hw_config->fsync_provider == SND_SOC_TPLG_FSYNC_CP) in sof_dai_set_format()
1053 if (hw_config->fsync_provider == SND_SOC_TPLG_FSYNC_CP) in sof_dai_set_format()
1061 if (hw_config->invert_bclk) { in sof_dai_set_format()
1062 if (hw_config->invert_fsync) in sof_dai_set_format()
1067 if (hw_config->invert_fsync) in sof_link_sai_load()
1077 struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs; in sof_link_sai_load()
1083 sof_dai_set_format(hw_config, config); in sof_link_sai_load()
1095 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 Dipc4-pcm.c650 struct snd_soc_tplg_hw_config *hw_config = &slink->hw_configs[i]; in ipc4_ssp_dai_config_pcm_params_match() local
652 if (params_rate(params) == le32_to_cpu(hw_config->fsync_rate) && in ipc4_ssp_dai_config_pcm_params_match()
653 params_width(params) == le32_to_cpu(hw_config->tdm_slot_width) && in ipc4_ssp_dai_config_pcm_params_match()
654 params_channels(params) <= le32_to_cpu(hw_config->tdm_slots)) { in ipc4_ssp_dai_config_pcm_params_match()
655 current_config = le32_to_cpu(hw_config->id); in ipc4_ssp_dai_config_pcm_params_match()
660 params_rate(params) == le32_to_cpu(hw_config->fsync_rate) && in ipc4_ssp_dai_config_pcm_params_match()
661 params_channels(params) <= le32_to_cpu(hw_config->tdm_slots)) { in ipc4_ssp_dai_config_pcm_params_match()
662 current_config = le32_to_cpu(hw_config->id); in ipc4_ssp_dai_config_pcm_params_match()
H A Dipc4-topology.c1736 struct snd_soc_tplg_hw_config *hw_config; in snd_sof_get_hw_config_params()
1742 /* get current hw_config from link */ in snd_sof_get_hw_config_params()
1756 hw_config = &slink->hw_configs[i]; in snd_sof_get_nhlt_endpoint_data()
1757 if (dai->current_config == le32_to_cpu(hw_config->id)) { in snd_sof_get_nhlt_endpoint_data()
1764 dev_err(sdev->dev, "%s: no matching hw_config found for DAI %s\n", __func__, in snd_sof_get_nhlt_endpoint_data()
1769 *bit_depth = le32_to_cpu(hw_config->tdm_slot_width); in snd_sof_get_nhlt_endpoint_data()
1770 *channel_count = le32_to_cpu(hw_config->tdm_slots); in snd_sof_get_nhlt_endpoint_data()
1771 *sample_rate = le32_to_cpu(hw_config->fsync_rate); in snd_sof_get_nhlt_endpoint_data()
3827 struct snd_soc_tplg_hw_config *hw_config; in sof_ipc4_dai_get_param()
3849 hw_config in sof_ipc4_link_setup()
1706 struct snd_soc_tplg_hw_config *hw_config; snd_sof_get_hw_config_params() local
3774 struct snd_soc_tplg_hw_config *hw_config; sof_ipc4_dai_get_param() local
[all...]
H A Dtopology.c1933 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 Dpn544.c168 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 Dsoc-topology.c1656 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/arch/x86/events/intel/
H A Duncore_snbep.c1025 .hw_config = snbep_cbox_hw_config,
1135 .hw_config = snbep_pcu_hw_config,
1220 .hw_config = snbep_qpi_hw_config,
1779 .hw_config = ivbep_cbox_hw_config,
1802 .hw_config = snbep_pcu_hw_config,
1915 .hw_config = snbep_qpi_hw_config,
2200 .hw_config = knl_cha_hw_config,
2598 .hw_config = hswep_ubox_hw_config,
2763 .hw_config = hswep_cbox_hw_config,
2853 .hw_config
[all...]
H A Dcore.c6578 .hw_config = core_pmu_hw_config, in check_msr()
6632 .hw_config = intel_pmu_hw_config,
8322 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init()
8365 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init()
8427 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init()
8480 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init()
8529 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init()
8553 x86_pmu.hw_config = adl_hw_config; in intel_pmu_init()
8611 x86_pmu.hw_config = adl_hw_config;
8683 x86_pmu.hw_config
[all...]
H A Duncore.c814 if (pmu->type->ops->hw_config) { in uncore_pmu_enable()
815 ret = pmu->type->ops->hw_config(box, event); in uncore_pmu_enable()
/linux/drivers/misc/mei/
H A Dmei_dev.h337 * @hw_config : configure hw
368 int (*hw_config)(struct mei_device *dev); member
770 return dev->ops->hw_config(dev); in mei_hw_reset()
H A Dplatform-vsc.c272 .hw_config = mei_vsc_hw_config,
H A Dhw-txe.c1164 .hw_config = mei_txe_hw_config,
H A Dhw-me.c1484 .hw_config = mei_me_hw_config,
/linux/include/uapi/linux/
H A Dhdreg.h569 unsigned short hw_config; /* hardware config (word 93) member
/linux/include/uapi/sound/
H A Dasoc.h548 struct snd_soc_tplg_hw_config hw_config[SND_SOC_TPLG_HW_CONFIG_MAX]; /* hw configs */ member
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.c6108 u8 hw_ref_state, hw_dpll_state, hw_eec_mode, hw_config; in ice_get_cgu_state()
6113 &hw_dpll_state, &hw_config, in ice_get_cgu_state()
6120 *pin = hw_config & ICE_AQC_GET_CGU_DPLL_CONFIG_CLK_REF_SEL;
6071 u8 hw_ref_state, hw_dpll_state, hw_eec_mode, hw_config; ice_get_cgu_state() local
/linux/arch/x86/events/
H A Dperf_event.h846 int (*hw_config)(struct perf_event *event);
848 int (*hw_config)(struct perf_event *event); global() member
H A Dcore.c702 return x86_pmu.hw_config(event); in __x86_pmu_event_init()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x.h973 u32 hw_config; member
H A Dbnx2x_main.c11036 bp->common.hw_config = SHMEM_RD(bp, dev_info.shared_hw_config.config); in bnx2x_get_common_hwinfo()
11037 BNX2X_DEV_INFO("hw_config 0x%08x\n", bp->common.hw_config); in bnx2x_get_common_hwinfo()
11039 bp->link_params.hw_led_mode = ((bp->common.hw_config & in bnx2x_get_common_hwinfo()