Symbol: hw_config
arch/x86/events/amd/core.c
1322
.hw_config = amd_pmu_hw_config,
arch/x86/events/amd/core.c
364
DEFINE_STATIC_CALL_RET0(amd_pmu_branch_hw_config, *x86_pmu.hw_config);
arch/x86/events/core.c
702
return x86_pmu.hw_config(event);
arch/x86/events/intel/core.c
6292
.hw_config = core_pmu_hw_config,
arch/x86/events/intel/core.c
6346
.hw_config = intel_pmu_hw_config,
arch/x86/events/intel/core.c
7988
x86_pmu.hw_config = hsw_hw_config;
arch/x86/events/intel/core.c
8031
x86_pmu.hw_config = hsw_hw_config;
arch/x86/events/intel/core.c
8093
x86_pmu.hw_config = hsw_hw_config;
arch/x86/events/intel/core.c
8144
x86_pmu.hw_config = hsw_hw_config;
arch/x86/events/intel/core.c
8193
x86_pmu.hw_config = hsw_hw_config;
arch/x86/events/intel/core.c
8217
x86_pmu.hw_config = adl_hw_config;
arch/x86/events/intel/core.c
8275
x86_pmu.hw_config = adl_hw_config;
arch/x86/events/intel/core.c
8314
x86_pmu.hw_config = adl_hw_config;
arch/x86/events/intel/core.c
8338
x86_pmu.hw_config = arl_h_hw_config;
arch/x86/events/intel/core.c
8372
x86_pmu.hw_config = adl_hw_config;
arch/x86/events/intel/knc.c
299
.hw_config = x86_pmu_hw_config,
arch/x86/events/intel/p4.c
1362
.hw_config = p4_hw_config,
arch/x86/events/intel/p6.c
211
.hw_config = x86_pmu_hw_config,
arch/x86/events/intel/uncore.c
794
if (pmu->type->ops->hw_config) {
arch/x86/events/intel/uncore.c
795
ret = pmu->type->ops->hw_config(box, event);
arch/x86/events/intel/uncore.h
139
int (*hw_config)(struct intel_uncore_box *, struct perf_event *);
arch/x86/events/intel/uncore_nhmex.c
1187
.hw_config = nhmex_rbox_hw_config,
arch/x86/events/intel/uncore_nhmex.c
421
.hw_config = nhmex_bbox_hw_config,
arch/x86/events/intel/uncore_nhmex.c
498
.hw_config = nhmex_sbox_hw_config,
arch/x86/events/intel/uncore_nhmex.c
924
.hw_config = nhmex_mbox_hw_config,
arch/x86/events/intel/uncore_snb.c
1080
.hw_config = snb_uncore_imc_hw_config,
arch/x86/events/intel/uncore_snb.c
1598
.hw_config = uncore_freerunning_hw_config,
arch/x86/events/intel/uncore_snb.c
1750
.hw_config = uncore_freerunning_hw_config,
arch/x86/events/intel/uncore_snbep.c
1025
.hw_config = snbep_cbox_hw_config,
arch/x86/events/intel/uncore_snbep.c
1135
.hw_config = snbep_pcu_hw_config,
arch/x86/events/intel/uncore_snbep.c
1220
.hw_config = snbep_qpi_hw_config,
arch/x86/events/intel/uncore_snbep.c
1785
.hw_config = ivbep_cbox_hw_config,
arch/x86/events/intel/uncore_snbep.c
1808
.hw_config = snbep_pcu_hw_config,
arch/x86/events/intel/uncore_snbep.c
1921
.hw_config = snbep_qpi_hw_config,
arch/x86/events/intel/uncore_snbep.c
2206
.hw_config = knl_cha_hw_config,
arch/x86/events/intel/uncore_snbep.c
2604
.hw_config = hswep_ubox_hw_config,
arch/x86/events/intel/uncore_snbep.c
2769
.hw_config = hswep_cbox_hw_config,
arch/x86/events/intel/uncore_snbep.c
2859
.hw_config = hswep_pcu_hw_config,
arch/x86/events/intel/uncore_snbep.c
3596
.hw_config = skx_cha_hw_config,
arch/x86/events/intel/uncore_snbep.c
4019
.hw_config = uncore_freerunning_hw_config,
arch/x86/events/intel/uncore_snbep.c
4094
.hw_config = hswep_pcu_hw_config,
arch/x86/events/intel/uncore_snbep.c
4591
.hw_config = snr_cha_hw_config,
arch/x86/events/intel/uncore_snbep.c
4779
.hw_config = snr_pcu_hw_config,
arch/x86/events/intel/uncore_snbep.c
5163
.hw_config = uncore_freerunning_hw_config,
arch/x86/events/intel/uncore_snbep.c
5223
.hw_config = icx_cha_hw_config,
arch/x86/events/intel/uncore_snbep.c
5735
.hw_config = uncore_freerunning_hw_config,
arch/x86/events/intel/uncore_snbep.c
5813
.hw_config = spr_cha_hw_config,
arch/x86/events/intel/uncore_snbep.c
6220
.hw_config = uncore_freerunning_hw_config,
arch/x86/events/intel/uncore_snbep.c
6917
.hw_config = uncore_freerunning_hw_config,
arch/x86/events/perf_event.h
838
int (*hw_config)(struct perf_event *event);
arch/x86/events/zhaoxin/core.c
466
.hw_config = x86_pmu_hw_config,
drivers/misc/mei/hw-me.c
1470
.hw_config = mei_me_hw_config,
drivers/misc/mei/hw-txe.c
1164
.hw_config = mei_txe_hw_config,
drivers/misc/mei/mei_dev.h
368
int (*hw_config)(struct mei_device *dev);
drivers/misc/mei/mei_dev.h
744
return dev->ops->hw_config(dev);
drivers/misc/mei/platform-vsc.c
272
.hw_config = mei_vsc_hw_config,
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
973
u32 hw_config;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11036
bp->common.hw_config = SHMEM_RD(bp, dev_info.shared_hw_config.config);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11037
BNX2X_DEV_INFO("hw_config 0x%08x\n", bp->common.hw_config);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11039
bp->link_params.hw_led_mode = ((bp->common.hw_config &
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
5813
u8 hw_ref_state, hw_dpll_state, hw_eec_mode, hw_config;
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
5818
&hw_dpll_state, &hw_config,
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
5825
*pin = hw_config & ICE_AQC_GET_CGU_DPLL_CONFIG_CLK_REF_SEL;
drivers/nfc/pn544/pn544.c
171
} hw_config[] = {
drivers/nfc/pn544/pn544.c
239
struct hw_config *p = hw_config;
drivers/nfc/pn544/pn544.c
240
int count = ARRAY_SIZE(hw_config);
include/uapi/linux/hdreg.h
569
unsigned short hw_config; /* hardware config (word 93)
include/uapi/sound/asoc.h
548
struct snd_soc_tplg_hw_config hw_config[SND_SOC_TPLG_HW_CONFIG_MAX]; /* hw configs */
sound/soc/soc-topology.c
1624
struct snd_soc_tplg_hw_config *hw_config;
sound/soc/soc-topology.c
1630
hw_config = &cfg->hw_config[i];
sound/soc/soc-topology.c
1631
if (hw_config->id != cfg->default_hw_config_id)
sound/soc/soc-topology.c
1634
link->dai_fmt = le32_to_cpu(hw_config->fmt) &
sound/soc/soc-topology.c
1638
switch (hw_config->clock_gated) {
sound/soc/soc-topology.c
1653
invert_bclk = hw_config->invert_bclk;
sound/soc/soc-topology.c
1654
invert_fsync = hw_config->invert_fsync;
sound/soc/soc-topology.c
1665
bclk_provider = (hw_config->bclk_provider ==
sound/soc/soc-topology.c
1667
fsync_provider = (hw_config->fsync_provider ==
sound/soc/sof/ipc3-topology.c
1032
static void sof_dai_set_format(struct snd_soc_tplg_hw_config *hw_config,
sound/soc/sof/ipc3-topology.c
1037
if (hw_config->bclk_provider == SND_SOC_TPLG_BCLK_CP) {
sound/soc/sof/ipc3-topology.c
1039
if (hw_config->fsync_provider == SND_SOC_TPLG_FSYNC_CP)
sound/soc/sof/ipc3-topology.c
1045
if (hw_config->fsync_provider == SND_SOC_TPLG_FSYNC_CP)
sound/soc/sof/ipc3-topology.c
1053
if (hw_config->invert_bclk) {
sound/soc/sof/ipc3-topology.c
1054
if (hw_config->invert_fsync)
sound/soc/sof/ipc3-topology.c
1059
if (hw_config->invert_fsync)
sound/soc/sof/ipc3-topology.c
1069
struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs;
sound/soc/sof/ipc3-topology.c
1075
sof_dai_set_format(hw_config, config);
sound/soc/sof/ipc3-topology.c
1087
config->sai.mclk_rate = le32_to_cpu(hw_config->mclk_rate);
sound/soc/sof/ipc3-topology.c
1088
config->sai.bclk_rate = le32_to_cpu(hw_config->bclk_rate);
sound/soc/sof/ipc3-topology.c
1089
config->sai.fsync_rate = le32_to_cpu(hw_config->fsync_rate);
sound/soc/sof/ipc3-topology.c
1090
config->sai.mclk_direction = hw_config->mclk_direction;
sound/soc/sof/ipc3-topology.c
1092
config->sai.tdm_slots = le32_to_cpu(hw_config->tdm_slots);
sound/soc/sof/ipc3-topology.c
1093
config->sai.tdm_slot_width = le32_to_cpu(hw_config->tdm_slot_width);
sound/soc/sof/ipc3-topology.c
1094
config->sai.rx_slots = le32_to_cpu(hw_config->rx_slots);
sound/soc/sof/ipc3-topology.c
1095
config->sai.tx_slots = le32_to_cpu(hw_config->tx_slots);
sound/soc/sof/ipc3-topology.c
1120
struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs;
sound/soc/sof/ipc3-topology.c
1126
sof_dai_set_format(hw_config, config);
sound/soc/sof/ipc3-topology.c
1138
config->esai.mclk_rate = le32_to_cpu(hw_config->mclk_rate);
sound/soc/sof/ipc3-topology.c
1139
config->esai.bclk_rate = le32_to_cpu(hw_config->bclk_rate);
sound/soc/sof/ipc3-topology.c
1140
config->esai.fsync_rate = le32_to_cpu(hw_config->fsync_rate);
sound/soc/sof/ipc3-topology.c
1141
config->esai.mclk_direction = hw_config->mclk_direction;
sound/soc/sof/ipc3-topology.c
1142
config->esai.tdm_slots = le32_to_cpu(hw_config->tdm_slots);
sound/soc/sof/ipc3-topology.c
1143
config->esai.tdm_slot_width = le32_to_cpu(hw_config->tdm_slot_width);
sound/soc/sof/ipc3-topology.c
1144
config->esai.rx_slots = le32_to_cpu(hw_config->rx_slots);
sound/soc/sof/ipc3-topology.c
1145
config->esai.tx_slots = le32_to_cpu(hw_config->tx_slots);
sound/soc/sof/ipc3-topology.c
1170
struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs;
sound/soc/sof/ipc3-topology.c
1176
sof_dai_set_format(hw_config, config);
sound/soc/sof/ipc3-topology.c
1201
struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs;
sound/soc/sof/ipc3-topology.c
1207
sof_dai_set_format(hw_config, config);
sound/soc/sof/ipc3-topology.c
1233
struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs;
sound/soc/sof/ipc3-topology.c
1239
sof_dai_set_format(hw_config, config);
sound/soc/sof/ipc3-topology.c
1266
struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs;
sound/soc/sof/ipc3-topology.c
1272
sof_dai_set_format(hw_config, config);
sound/soc/sof/ipc3-topology.c
1300
struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs;
sound/soc/sof/ipc3-topology.c
1306
sof_dai_set_format(hw_config, config);
sound/soc/sof/ipc3-topology.c
1391
struct snd_soc_tplg_hw_config *hw_config = slink->hw_configs;
sound/soc/sof/ipc3-topology.c
1407
if (le32_to_cpu(hw_config[i].id) == slink->default_hw_cfg_id)
sound/soc/sof/ipc3-topology.c
1411
sof_dai_set_format(&hw_config[i], &config[i]);
sound/soc/sof/ipc3-topology.c
1422
config[i].ssp.mclk_rate = le32_to_cpu(hw_config[i].mclk_rate);
sound/soc/sof/ipc3-topology.c
1423
config[i].ssp.bclk_rate = le32_to_cpu(hw_config[i].bclk_rate);
sound/soc/sof/ipc3-topology.c
1424
config[i].ssp.fsync_rate = le32_to_cpu(hw_config[i].fsync_rate);
sound/soc/sof/ipc3-topology.c
1425
config[i].ssp.tdm_slots = le32_to_cpu(hw_config[i].tdm_slots);
sound/soc/sof/ipc3-topology.c
1426
config[i].ssp.tdm_slot_width = le32_to_cpu(hw_config[i].tdm_slot_width);
sound/soc/sof/ipc3-topology.c
1427
config[i].ssp.mclk_direction = hw_config[i].mclk_direction;
sound/soc/sof/ipc3-topology.c
1428
config[i].ssp.rx_slots = le32_to_cpu(hw_config[i].rx_slots);
sound/soc/sof/ipc3-topology.c
1429
config[i].ssp.tx_slots = le32_to_cpu(hw_config[i].tx_slots);
sound/soc/sof/ipc4-pcm.c
650
struct snd_soc_tplg_hw_config *hw_config = &slink->hw_configs[i];
sound/soc/sof/ipc4-pcm.c
652
if (params_rate(params) == le32_to_cpu(hw_config->fsync_rate) &&
sound/soc/sof/ipc4-pcm.c
653
params_width(params) == le32_to_cpu(hw_config->tdm_slot_width) &&
sound/soc/sof/ipc4-pcm.c
654
params_channels(params) <= le32_to_cpu(hw_config->tdm_slots)) {
sound/soc/sof/ipc4-pcm.c
655
current_config = le32_to_cpu(hw_config->id);
sound/soc/sof/ipc4-pcm.c
660
params_rate(params) == le32_to_cpu(hw_config->fsync_rate) &&
sound/soc/sof/ipc4-pcm.c
661
params_channels(params) <= le32_to_cpu(hw_config->tdm_slots)) {
sound/soc/sof/ipc4-pcm.c
662
current_config = le32_to_cpu(hw_config->id);
sound/soc/sof/ipc4-topology.c
1705
struct snd_soc_tplg_hw_config *hw_config;
sound/soc/sof/ipc4-topology.c
1725
hw_config = &slink->hw_configs[i];
sound/soc/sof/ipc4-topology.c
1726
if (dai->current_config == le32_to_cpu(hw_config->id)) {
sound/soc/sof/ipc4-topology.c
1738
*bit_depth = le32_to_cpu(hw_config->tdm_slot_width);
sound/soc/sof/ipc4-topology.c
1739
*channel_count = le32_to_cpu(hw_config->tdm_slots);
sound/soc/sof/ipc4-topology.c
1740
*sample_rate = le32_to_cpu(hw_config->fsync_rate);
sound/soc/sof/ipc4-topology.c
3773
struct snd_soc_tplg_hw_config *hw_config;
sound/soc/sof/ipc4-topology.c
3795
hw_config = &slink->hw_configs[i];
sound/soc/sof/ipc4-topology.c
3796
if (dai->current_config == le32_to_cpu(hw_config->id)) {
sound/soc/sof/ipc4-topology.c
3811
return le32_to_cpu(hw_config->mclk_rate);
sound/soc/sof/ipc4-topology.c
3813
return le32_to_cpu(hw_config->bclk_rate);
sound/soc/sof/ipc4-topology.c
3815
return le32_to_cpu(hw_config->tdm_slots);
sound/soc/sof/topology.c
1914
slink->hw_configs = kmemdup_array(cfg->hw_config,