Home
last modified time | relevance | path

Searched refs:hw_mode (Results 1 – 19 of 19) 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.c1080 hw_info->hw_mode = MODE_BIT_64; in t7xx_hw_info_init()
/linux/drivers/usb/dwc3/
H A Dcore.c57 unsigned int hw_mode; in dwc3_get_dr_mode() local
63 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_get_dr_mode()
65 switch (hw_mode) { in dwc3_get_dr_mode()
140 unsigned int hw_mode; in dwc3_set_prtcap() local
150 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_set_prtcap()
151 if (hw_mode == DWC3_GHWPARAMS0_MODE_DRD && !ignore_susphy) { in dwc3_set_prtcap()
538 unsigned int hw_mode; in dwc3_alloc_event_buffers() local
540 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_alloc_event_buffers()
541 if (hw_mode == DWC3_GHWPARAMS0_MODE_HOST) { in dwc3_alloc_event_buffers()
1033 unsigned int hw_mode; in dwc3_core_setup_global_control() local
[all …]
/linux/Documentation/networking/mac80211_hwsim/
H A Dhostapd.conf4 hw_mode=g
/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/regulator/
H A Dmt6360-regulator.c308 static unsigned int mt6360_regulator_of_map_mode(unsigned int hw_mode) in mt6360_regulator_of_map_mode() argument
310 switch (hw_mode) { in mt6360_regulator_of_map_mode()
/linux/drivers/dpll/zl3073x/
H A Ddpll.c1129 u8 hw_mode, ref; in zl3073x_dpll_mode_set() local
1145 hw_mode = ZL_DPLL_MODE_REFSEL_MODE_REFLOCK; in zl3073x_dpll_mode_set()
1147 hw_mode = ZL_DPLL_MODE_REFSEL_MODE_FREERUN; in zl3073x_dpll_mode_set()
1149 hw_mode = ZL_DPLL_MODE_REFSEL_MODE_HOLDOVER; in zl3073x_dpll_mode_set()
1168 hw_mode = ZL_DPLL_MODE_REFSEL_MODE_AUTO; in zl3073x_dpll_mode_set()
1171 zl3073x_chan_mode_set(&chan, hw_mode); in zl3073x_dpll_mode_set()
/linux/drivers/gpu/drm/radeon/
H A Dr600_dpm.c165 if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) { in r600_dpm_get_vblank_time()
167 radeon_crtc->hw_mode.crtc_htotal * in r600_dpm_get_vblank_time()
168 (radeon_crtc->hw_mode.crtc_vblank_end - in r600_dpm_get_vblank_time()
169 radeon_crtc->hw_mode.crtc_vdisplay + in r600_dpm_get_vblank_time()
172 vblank_time_us = vblank_in_pixels * 1000 / radeon_crtc->hw_mode.clock; in r600_dpm_get_vblank_time()
191 if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) { in r600_dpm_get_vrefresh()
192 vrefresh = drm_mode_vrefresh(&radeon_crtc->hw_mode); in r600_dpm_get_vrefresh()
/linux/drivers/pmdomain/
H A Dcore.c710 if (dev_gpd_data(dev)->hw_mode == enable) in dev_pm_genpd_set_hwmode()
715 dev_gpd_data(dev)->hw_mode = enable; in dev_pm_genpd_set_hwmode()
738 return dev_gpd_data(dev)->hw_mode; in dev_pm_genpd_get_hwmode()
1945 gpd_data->hw_mode = genpd->get_hwmode_dev ? genpd->get_hwmode_dev(genpd, dev) : false; in genpd_add_device()
3656 seq_printf(s, "%2s", gpd_data->hw_mode ? "HW" : "SW"); in mode_status_str()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_mode.h507 struct drm_display_mode hw_mode; member
/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.c4077 struct ath12k_wmi_pdev_set_hw_mode_cmd *hw_mode; in ath12k_init_cmd_send() local
4087 hw_mode_len = sizeof(*hw_mode) + TLV_HDR_SIZE + in ath12k_init_cmd_send()
4138 hw_mode = (struct ath12k_wmi_pdev_set_hw_mode_cmd *)ptr; in ath12k_init_cmd_send()
4139 hw_mode->tlv_header = ath12k_wmi_tlv_cmd_hdr(WMI_TAG_PDEV_SET_HW_MODE_CMD, in ath12k_init_cmd_send()
4140 sizeof(*hw_mode)); in ath12k_init_cmd_send()
4142 hw_mode->hw_mode_index = cpu_to_le32(arg->hw_mode_id); in ath12k_init_cmd_send()
4143 hw_mode->num_band_to_mac = cpu_to_le32(arg->num_band_to_mac); in ath12k_init_cmd_send()
4145 ptr += sizeof(*hw_mode); in ath12k_init_cmd_send()
5325 static const char *ath12k_wmi_hw_mode_to_str(enum ath12k_hw_mode hw_mode) in ath12k_wmi_hw_mode_to_str() argument
5335 if (hw_mode >= ARRAY_SIZE(mode_str)) in ath12k_wmi_hw_mode_to_str()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H A Dwmi.c4256 struct wmi_pdev_set_hw_mode_cmd_param *hw_mode; in ath11k_init_cmd_send() local
4266 hw_mode_len = sizeof(*hw_mode) + TLV_HDR_SIZE + in ath11k_init_cmd_send()
4319 hw_mode = ptr; in ath11k_init_cmd_send()
4320 hw_mode->tlv_header = FIELD_PREP(WMI_TLV_TAG, in ath11k_init_cmd_send()
4323 sizeof(*hw_mode) - TLV_HDR_SIZE); in ath11k_init_cmd_send()
4325 hw_mode->hw_mode_index = param->hw_mode_id; in ath11k_init_cmd_send()
4326 hw_mode->num_band_to_mac = param->num_band_to_mac; in ath11k_init_cmd_send()
4328 ptr += sizeof(*hw_mode); in ath11k_init_cmd_send()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c10613 acrtc->hw_mode = new_crtc_state->mode; in amdgpu_dm_commit_streams()