Home
last modified time | relevance | path

Searched refs:hw_mode (Results 1 – 20 of 20) 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/spi/
H A Dspi-sprd.c157 u32 hw_mode; member
418 if (ss->hw_mode & SPI_3WIRE || ss->hw_mode & SPI_TX_DUAL) in sprd_spi_txrx_bufs()
429 if (ss->hw_mode & SPI_3WIRE || ss->hw_mode & SPI_TX_DUAL) in sprd_spi_txrx_bufs()
595 if (ss->hw_mode & SPI_3WIRE || ss->hw_mode & SPI_TX_DUAL) in sprd_spi_dma_txrx_bufs()
604 if (ss->hw_mode & SPI_3WIRE || ss->hw_mode & SPI_TX_DUAL) in sprd_spi_dma_txrx_bufs()
676 val |= ss->hw_mode in sprd_spi_init_hw()
[all...]
H A Dspi-fsl-lib.h79 u32 hw_mode; /* Holds HW mode register settings */ member
/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()
534 unsigned int hw_mode;
536 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_alloc_event_buffers()
537 if (hw_mode == DWC3_GHWPARAMS0_MODE_HOST) { in dwc3_alloc_event_buffers()
1029 unsigned int hw_mode;
538 unsigned int hw_mode; dwc3_alloc_event_buffers() local
1033 unsigned int hw_mode; dwc3_core_setup_global_control() local
1356 unsigned int hw_mode; dwc3_core_init() local
2218 unsigned int hw_mode; dwc3_core_probe() 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/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.c1160 u8 hw_mode, ref; in zl3073x_dpll_mode_set()
1176 hw_mode = ZL_DPLL_MODE_REFSEL_MODE_REFLOCK; in zl3073x_dpll_mode_set()
1178 hw_mode = ZL_DPLL_MODE_REFSEL_MODE_FREERUN;
1180 hw_mode = ZL_DPLL_MODE_REFSEL_MODE_HOLDOVER; in zl3073x_dpll_phase_offset_monitor_get()
1199 hw_mode = ZL_DPLL_MODE_REFSEL_MODE_AUTO; in zl3073x_dpll_phase_offset_monitor_set()
1202 zl3073x_chan_mode_set(&chan, hw_mode); in zl3073x_dpll_phase_offset_monitor_set()
1122 u8 hw_mode, ref; zl3073x_dpll_mode_set() local
/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.c705 if (dev_gpd_data(dev)->hw_mode == enable) in dev_pm_genpd_set_hwmode()
710 dev_gpd_data(dev)->hw_mode = enable; in dev_pm_genpd_set_hwmode()
729 * Return: Returns the HW mode setting of device from SW cached hw_mode.
733 return dev_gpd_data(dev)->hw_mode;
1940 gpd_data->hw_mode = genpd->get_hwmode_dev ? genpd->get_hwmode_dev(genpd, dev) : false; in genpd_add_device()
3821 seq_printf(s, "%2s", gpd_data->hw_mode ? "HW" : "SW"); in idle_states_desc_show()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_mode.h506 struct drm_display_mode hw_mode;
507 struct drm_display_mode hw_mode; global() member
/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.c4210 struct ath12k_wmi_pdev_set_hw_mode_cmd *hw_mode; in ath12k_wmi_pdev_lro_cfg()
4220 hw_mode_len = sizeof(*hw_mode) + TLV_HDR_SIZE + in ath12k_wmi_wait_for_service_ready()
4271 hw_mode = (struct ath12k_wmi_pdev_set_hw_mode_cmd *)ptr; in ath12k_wmi_cmd_init()
4272 hw_mode->tlv_header = ath12k_wmi_tlv_cmd_hdr(WMI_TAG_PDEV_SET_HW_MODE_CMD, in ath12k_wmi_cmd_init()
4273 sizeof(*hw_mode)); in ath12k_wmi_cmd_init()
4275 hw_mode->hw_mode_index = cpu_to_le32(arg->hw_mode_id); in ath12k_wmi_cmd_init()
4276 hw_mode->num_band_to_mac = cpu_to_le32(arg->num_band_to_mac); in ath12k_wmi_cmd_init()
4278 ptr += sizeof(*hw_mode); in ath12k_wmi_cmd_init()
5449 static const char *ath12k_wmi_hw_mode_to_str(enum ath12k_hw_mode hw_mode) in ath12k_wmi_update_sbs_freq_info()
5459 if (hw_mode > in ath12k_wmi_update_sbs_freq_info()
4077 struct ath12k_wmi_pdev_set_hw_mode_cmd *hw_mode; ath12k_init_cmd_send() local
5325 ath12k_wmi_hw_mode_to_str(enum ath12k_hw_mode hw_mode) ath12k_wmi_hw_mode_to_str() argument
5344 ath12k_wmi_dump_freq_range_per_mac(struct ath12k_base * ab,struct ath12k_hw_mode_freq_range_arg * freq_range,enum ath12k_hw_mode hw_mode) ath12k_wmi_dump_freq_range_per_mac() argument
[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.c10983 acrtc->hw_mode = new_crtc_state->mode; in amdgpu_dm_atomic_commit_tail()