Home
last modified time | relevance | path

Searched refs:hw_mode (Results 1 – 15 of 15) sorted by relevance

/linux/sound/soc/codecs/
H A Dadau7118.c42 bool hw_mode; member
362 if (st->hw_mode) in adau7118_set_bias_level()
380 if (st->hw_mode) in adau7118_set_bias_level()
399 if (st->hw_mode) { in adau7118_component_probe()
470 if (!st->hw_mode) { in adau7118_regulator_setup()
485 if (st->hw_mode) in adau7118_parset_dt()
532 int adau7118_probe(struct device *dev, struct regmap *map, bool hw_mode)
542 st->hw_mode = hw_mode; in adau7118_probe()
545 if (!hw_mode) { in adau7118_probe()
533 adau7118_probe(struct device * dev,struct regmap * map,bool hw_mode) adau7118_probe() argument
[all...]
H A Dadau7118.h22 int adau7118_probe(struct device *dev, struct regmap *map, bool hw_mode);
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_cldma.c50 if (hw_info->hw_mode == MODE_BIT_64) in t7xx_cldma_hw_restore()
52 else if (hw_info->hw_mode == MODE_BIT_40) in t7xx_cldma_hw_restore()
54 else if (hw_info->hw_mode == MODE_BIT_36) in t7xx_cldma_hw_restore()
244 if (hw_info->hw_mode == MODE_BIT_64) { in t7xx_cldma_hw_init()
247 } else if (hw_info->hw_mode == MODE_BIT_40) { in t7xx_cldma_hw_init()
250 } else if (hw_info->hw_mode == MODE_BIT_36) { in t7xx_cldma_hw_init()
H A Dt7xx_cldma.h147 enum t7xx_hw_mode hw_mode; member
H A Dt7xx_hif_cldma.c1083 hw_info->hw_mode = MODE_BIT_64; in t7xx_hw_info_init()
/linux/drivers/pmdomain/marvell/
H A Dpxa1908-power-controller.c48 u32 hw_mode; member
82 regmap_set_bits(ctrl->base, data->reg_clk_res_ctrl, data->hw_mode); in pxa1908_pd_power_on()
114 return regmap_clear_bits(ctrl->base, data->reg_clk_res_ctrl, data->hw_mode); in pxa1908_pd_power_off()
153 .hw_mode = BIT(mode), \
/linux/Documentation/networking/mac80211_hwsim/
H A Dhostapd.conf4 hw_mode=g
/linux/drivers/crypto/starfive/
H A Djh7110-aes.c86 static void starfive_aes_aead_hw_start(struct starfive_cryp_ctx *ctx, u32 hw_mode) in starfive_aes_aead_hw_start() argument
91 switch (hw_mode) { in starfive_aes_aead_hw_start()
228 u32 hw_mode; in starfive_aes_hw_init() local
236 hw_mode = cryp->flags & FLG_MODE_MASK; in starfive_aes_hw_init()
252 rctx->csr.aes.mode = hw_mode; in starfive_aes_hw_init()
267 switch (hw_mode) { in starfive_aes_hw_init()
272 starfive_aes_aead_hw_start(ctx, hw_mode); in starfive_aes_hw_init()
279 starfive_aes_aead_hw_start(ctx, hw_mode); in starfive_aes_hw_init()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev.c2087 p_hwfn->hw_info.hw_mode); in qed_qm_reconf()
2499 int hw_mode = 0; in qed_calc_hw_mode() local
2502 hw_mode |= 1 << MODE_BB; in qed_calc_hw_mode()
2504 hw_mode |= 1 << MODE_K2; in qed_calc_hw_mode()
2513 hw_mode |= 1 << MODE_PORTS_PER_ENG_1; in qed_calc_hw_mode()
2516 hw_mode |= 1 << MODE_PORTS_PER_ENG_2; in qed_calc_hw_mode()
2519 hw_mode |= 1 << MODE_PORTS_PER_ENG_4; in qed_calc_hw_mode()
2528 hw_mode |= 1 << MODE_MF_SD; in qed_calc_hw_mode()
2530 hw_mode |= 1 << MODE_MF_SI; in qed_calc_hw_mode()
2532 hw_mode |= 1 << MODE_ASIC; in qed_calc_hw_mode()
[all …]
H A Dqed_mcp.c1806 p_hwfn->mcp_info->func_info.ovlan, p_hwfn->hw_info.hw_mode); in qed_mcp_update_stag()
H A Dqed_sriov.c818 p_hwfn->hw_info.hw_mode); in qed_iov_enable_vf_access()
/linux/drivers/spi/
H A Dspi-fsl-lib.h79 u32 hw_mode; /* Holds HW mode register settings */ member
/linux/drivers/dpll/zl3073x/
H A Ddpll.c1429 u8 hw_mode, ref; in zl3073x_dpll_mode_set() local
1447 hw_mode = ZL_DPLL_MODE_REFSEL_MODE_REFLOCK; in zl3073x_dpll_mode_set()
1449 hw_mode = ZL_DPLL_MODE_REFSEL_MODE_FREERUN; in zl3073x_dpll_mode_set()
1451 hw_mode = ZL_DPLL_MODE_REFSEL_MODE_HOLDOVER; in zl3073x_dpll_mode_set()
1473 hw_mode = ZL_DPLL_MODE_REFSEL_MODE_AUTO; in zl3073x_dpll_mode_set()
1476 zl3073x_chan_mode_set(&chan, hw_mode); in zl3073x_dpll_mode_set()
/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.c4233 struct ath12k_wmi_pdev_set_hw_mode_cmd *hw_mode; in ath12k_init_cmd_send() local
4243 hw_mode_len = sizeof(*hw_mode) + TLV_HDR_SIZE + in ath12k_init_cmd_send()
4294 hw_mode = (struct ath12k_wmi_pdev_set_hw_mode_cmd *)ptr; in ath12k_init_cmd_send()
4295 hw_mode->tlv_header = ath12k_wmi_tlv_cmd_hdr(WMI_TAG_PDEV_SET_HW_MODE_CMD, in ath12k_init_cmd_send()
4296 sizeof(*hw_mode)); in ath12k_init_cmd_send()
4298 hw_mode->hw_mode_index = cpu_to_le32(arg->hw_mode_id); in ath12k_init_cmd_send()
4299 hw_mode->num_band_to_mac = cpu_to_le32(arg->num_band_to_mac); in ath12k_init_cmd_send()
4301 ptr += sizeof(*hw_mode); in ath12k_init_cmd_send()
5489 static const char *ath12k_wmi_hw_mode_to_str(enum ath12k_hw_mode hw_mode) in ath12k_wmi_hw_mode_to_str() argument
5499 if (hw_mode >= ARRAY_SIZE(mode_str)) in ath12k_wmi_hw_mode_to_str()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H A Dwmi.c4265 struct wmi_pdev_set_hw_mode_cmd_param *hw_mode; in ath11k_init_cmd_send() local
4275 hw_mode_len = sizeof(*hw_mode) + TLV_HDR_SIZE + in ath11k_init_cmd_send()
4328 hw_mode = ptr; in ath11k_init_cmd_send()
4329 hw_mode->tlv_header = FIELD_PREP(WMI_TLV_TAG, in ath11k_init_cmd_send()
4332 sizeof(*hw_mode) - TLV_HDR_SIZE); in ath11k_init_cmd_send()
4334 hw_mode->hw_mode_index = param->hw_mode_id; in ath11k_init_cmd_send()
4335 hw_mode->num_band_to_mac = param->num_band_to_mac; in ath11k_init_cmd_send()
4337 ptr += sizeof(*hw_mode); in ath11k_init_cmd_send()