Home
last modified time | relevance | path

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

12

/openbmc/linux/sound/soc/sof/
H A Dipc3-topology.c1009 static void sof_dai_set_format(struct snd_soc_tplg_hw_config *hw_config, in sof_dai_set_format() argument
1014 if (hw_config->bclk_provider == SND_SOC_TPLG_BCLK_CP) { in sof_dai_set_format()
1016 if (hw_config->fsync_provider == SND_SOC_TPLG_FSYNC_CP) in sof_dai_set_format()
1022 if (hw_config->fsync_provider == SND_SOC_TPLG_FSYNC_CP) in sof_dai_set_format()
1030 if (hw_config->invert_bclk) { in sof_dai_set_format()
1031 if (hw_config->invert_fsync) in sof_dai_set_format()
1036 if (hw_config->invert_fsync) in sof_dai_set_format()
1046 struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs; in sof_link_sai_load() local
1052 sof_dai_set_format(hw_config, config); in sof_link_sai_load()
1064 config->sai.mclk_rate = le32_to_cpu(hw_config->mclk_rate); in sof_link_sai_load()
[all …]
H A Dipc4-pcm.c460 struct snd_soc_tplg_hw_config *hw_config = &slink->hw_configs[i]; in ipc4_ssp_dai_config_pcm_params_match() local
462 if (params_rate(params) == le32_to_cpu(hw_config->fsync_rate)) { in ipc4_ssp_dai_config_pcm_params_match()
466 dai->current_config = le32_to_cpu(hw_config->id); in ipc4_ssp_dai_config_pcm_params_match()
H A Dipc4-topology.c1295 struct snd_soc_tplg_hw_config *hw_config; in snd_sof_get_hw_config_params() local
1315 hw_config = &slink->hw_configs[i]; in snd_sof_get_hw_config_params()
1316 if (dai->current_config == le32_to_cpu(hw_config->id)) { in snd_sof_get_hw_config_params()
1328 *bit_depth = le32_to_cpu(hw_config->tdm_slot_width); in snd_sof_get_hw_config_params()
1329 *channel_count = le32_to_cpu(hw_config->tdm_slots); in snd_sof_get_hw_config_params()
1330 *sample_rate = le32_to_cpu(hw_config->fsync_rate); in snd_sof_get_hw_config_params()
2879 struct snd_soc_tplg_hw_config *hw_config; in sof_ipc4_dai_get_clk() local
2901 hw_config = &slink->hw_configs[i]; in sof_ipc4_dai_get_clk()
2902 if (dai->current_config == le32_to_cpu(hw_config->id)) { in sof_ipc4_dai_get_clk()
2917 return le32_to_cpu(hw_config->mclk_rate); in sof_ipc4_dai_get_clk()
[all …]
/openbmc/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()
/openbmc/linux/arch/x86/events/intel/
H A Duncore_snbep.c1039 .hw_config = snbep_cbox_hw_config,
1149 .hw_config = snbep_pcu_hw_config,
1234 .hw_config = snbep_qpi_hw_config,
1791 .hw_config = ivbep_cbox_hw_config,
1814 .hw_config = snbep_pcu_hw_config,
1927 .hw_config = snbep_qpi_hw_config,
2212 .hw_config = knl_cha_hw_config,
2610 .hw_config = hswep_ubox_hw_config,
2775 .hw_config = hswep_cbox_hw_config,
2865 .hw_config = hswep_pcu_hw_config,
[all …]
H A Dp6.c208 .hw_config = x86_pmu_hw_config,
H A Duncore_nhmex.c419 .hw_config = nhmex_bbox_hw_config,
496 .hw_config = nhmex_sbox_hw_config,
922 .hw_config = nhmex_mbox_hw_config,
1185 .hw_config = nhmex_rbox_hw_config,
H A Dknc.c297 .hw_config = x86_pmu_hw_config,
H A Duncore_snb.c1026 .hw_config = snb_uncore_imc_hw_config,
1530 .hw_config = uncore_freerunning_hw_config,
1679 .hw_config = uncore_freerunning_hw_config,
H A Duncore.h115 int (*hw_config)(struct intel_uncore_box *, struct perf_event *); member
H A Dcore.c4941 .hw_config = core_pmu_hw_config,
4994 .hw_config = intel_pmu_hw_config,
6449 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init()
6492 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init()
6554 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init()
6605 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init()
6650 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init()
6706 x86_pmu.hw_config = adl_hw_config; in intel_pmu_init()
H A Duncore.c798 if (pmu->type->ops->hw_config) { in uncore_pmu_event_init()
799 ret = pmu->type->ops->hw_config(box, event); in uncore_pmu_event_init()
H A Dp4.c1361 .hw_config = p4_hw_config,
/openbmc/linux/sound/soc/
H A Dsoc-topology.c1911 struct snd_soc_tplg_hw_config *hw_config; in set_link_hw_format() local
1917 hw_config = &cfg->hw_config[i]; in set_link_hw_format()
1918 if (hw_config->id != cfg->default_hw_config_id) in set_link_hw_format()
1921 link->dai_fmt = le32_to_cpu(hw_config->fmt) & in set_link_hw_format()
1925 switch (hw_config->clock_gated) { in set_link_hw_format()
1940 invert_bclk = hw_config->invert_bclk; in set_link_hw_format()
1941 invert_fsync = hw_config->invert_fsync; in set_link_hw_format()
1952 bclk_provider = (hw_config->bclk_provider == in set_link_hw_format()
1954 fsync_provider = (hw_config->fsync_provider == in set_link_hw_format()
/openbmc/u-boot/include/
H A Data.h199 unsigned short hw_config; /* hardware config */ member
/openbmc/linux/drivers/misc/mei/
H A Dmei_dev.h354 int (*hw_config)(struct mei_device *dev); member
721 return dev->ops->hw_config(dev); in mei_hw_config()
H A Dhw-txe.c1164 .hw_config = mei_txe_hw_config,
H A Dhw-me.c1446 .hw_config = mei_me_hw_config,
/openbmc/linux/include/uapi/linux/
H A Dhdreg.h569 unsigned short hw_config; /* hardware config (word 93) member
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/
H A Dscu_ast2600.h196 u32 hw_config; /* 0x594 */ member
/openbmc/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
/openbmc/linux/arch/x86/events/amd/
H A Dcore.c347 DEFINE_STATIC_CALL_RET0(amd_pmu_branch_hw_config, *x86_pmu.hw_config);
1269 .hw_config = amd_pmu_hw_config,
/openbmc/linux/arch/x86/events/zhaoxin/
H A Dcore.c466 .hw_config = x86_pmu_hw_config,
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_wlan.h595 int (*hw_config)(struct net_device *dev, int initial); member
/openbmc/linux/arch/x86/events/
H A Dperf_event.h756 int (*hw_config)(struct perf_event *event); member

12