| /linux/sound/soc/sof/ |
| H A D | ipc3-topology.c | 1032 static void sof_dai_set_format(struct snd_soc_tplg_hw_config *hw_config, in sof_dai_set_format() argument 1037 if (hw_config->bclk_provider == SND_SOC_TPLG_BCLK_CP) { in sof_dai_set_format() 1039 if (hw_config->fsync_provider == SND_SOC_TPLG_FSYNC_CP) in sof_dai_set_format() 1045 if (hw_config->fsync_provider == SND_SOC_TPLG_FSYNC_CP) in sof_dai_set_format() 1053 if (hw_config->invert_bclk) { in sof_dai_set_format() 1054 if (hw_config->invert_fsync) in sof_dai_set_format() 1059 if (hw_config->invert_fsync) in sof_dai_set_format() 1069 struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs; in sof_link_sai_load() local 1075 sof_dai_set_format(hw_config, config); in sof_link_sai_load() 1087 config->sai.mclk_rate = le32_to_cpu(hw_config->mclk_rate); in sof_link_sai_load() [all …]
|
| H A D | ipc4-pcm.c | 650 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 D | ipc4-topology.c | 1706 struct snd_soc_tplg_hw_config *hw_config; in snd_sof_get_hw_config_params() local 1726 hw_config = &slink->hw_configs[i]; in snd_sof_get_hw_config_params() 1727 if (dai->current_config == le32_to_cpu(hw_config->id)) { in snd_sof_get_hw_config_params() 1739 *bit_depth = le32_to_cpu(hw_config->tdm_slot_width); in snd_sof_get_hw_config_params() 1740 *channel_count = le32_to_cpu(hw_config->tdm_slots); in snd_sof_get_hw_config_params() 1741 *sample_rate = le32_to_cpu(hw_config->fsync_rate); in snd_sof_get_hw_config_params() 3774 struct snd_soc_tplg_hw_config *hw_config; in sof_ipc4_dai_get_param() local 3796 hw_config = &slink->hw_configs[i]; in sof_ipc4_dai_get_param() 3797 if (dai->current_config == le32_to_cpu(hw_config->id)) { in sof_ipc4_dai_get_param() 3812 return le32_to_cpu(hw_config->mclk_rate); in sof_ipc4_dai_get_param() [all …]
|
| H A D | topology.c | 1916 …memcpy(slink->hw_configs, cfg->hw_config, le32_to_cpu(cfg->num_hw_configs) * sizeof(*slink->hw_con… 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 | 1629 struct snd_soc_tplg_hw_config *hw_config; in set_link_hw_format() 1635 hw_config = &cfg->hw_config[i]; in set_link_hw_format() 1636 if (hw_config->id != cfg->default_hw_config_id) in set_link_hw_format() 1639 link->dai_fmt = le32_to_cpu(hw_config->fmt) & in set_link_hw_format() 1643 switch (hw_config->clock_gated) { in set_link_hw_format() 1658 invert_bclk = hw_config->invert_bclk; in set_link_hw_format() 1659 invert_fsync = hw_config->invert_fsync; in set_link_hw_format() 1670 bclk_provider = (hw_config->bclk_provider == in set_link_hw_format() 1672 fsync_provider = (hw_config in set_link_hw_format() 1624 struct snd_soc_tplg_hw_config *hw_config; set_link_hw_format() local [all...] |
| /linux/arch/x86/events/intel/ |
| H A D | uncore_snbep.c | 1025 .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 = hswep_pcu_hw_config, [all …]
|
| H A D | core.c | 6325 .hw_config = core_pmu_hw_config, 6379 .hw_config = intel_pmu_hw_config, 8022 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init() 8065 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init() 8127 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init() 8178 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init() 8227 x86_pmu.hw_config = hsw_hw_config; in intel_pmu_init() 8251 x86_pmu.hw_config = adl_hw_config; in intel_pmu_init() 8309 x86_pmu.hw_config = adl_hw_config; in intel_pmu_init() 8348 x86_pmu.hw_config = adl_hw_config; in intel_pmu_init() [all …]
|
| H A D | uncore.c | 795 if (pmu->type->ops->hw_config) { in uncore_pmu_event_init() 796 ret = pmu->type->ops->hw_config(box, event); in uncore_pmu_event_init()
|
| /linux/drivers/misc/mei/ |
| H A D | mei_dev.h | 368 int (*hw_config)(struct mei_device *dev); member 749 return dev->ops->hw_config(dev); in mei_hw_config()
|
| H A D | platform-vsc.c | 272 .hw_config = mei_vsc_hw_config,
|
| H A D | hw-txe.c | 1164 .hw_config = mei_txe_hw_config,
|
| H A D | hw-me.c | 1484 .hw_config = mei_me_hw_config,
|
| /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/ |
| H A D | perf_event.h | 848 int (*hw_config)(struct perf_event *event); member
|
| H A D | core.c | 702 return x86_pmu.hw_config(event); in __x86_pmu_event_init()
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x.h | 973 u32 hw_config; member
|
| H A D | bnx2x_main.c | 11036 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()
|