| /linux/sound/soc/codecs/ |
| H A D | adau7118.c | 42 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 D | adau7118.h | 22 int adau7118_probe(struct device *dev, struct regmap *map, bool hw_mode);
|
| /linux/drivers/spi/ |
| H A D | spi-fsl-espi.c | 113 u32 hw_mode; member 330 u32 hw_mode_old = cs->hw_mode; in fsl_espi_setup_transfer() 333 cs->hw_mode &= ~(CSMODE_LEN(0xF) | CSMODE_DIV16 | CSMODE_PM(0xF)); in fsl_espi_setup_transfer() 335 cs->hw_mode |= CSMODE_LEN(bits_per_word - 1); in fsl_espi_setup_transfer() 340 cs->hw_mode |= CSMODE_DIV16; in fsl_espi_setup_transfer() 344 cs->hw_mode |= CSMODE_PM(pm); in fsl_espi_setup_transfer() 347 if (cs->hw_mode != hw_mode_old) in fsl_espi_setup_transfer() 349 cs->hw_mode); in fsl_espi_setup_transfer() 495 cs->hw_mode = fsl_espi_read_reg(espi, ESPI_SPMODEx(spi_get_chipselect(spi, 0))); in fsl_espi_setup() 497 cs->hw_mode &= ~(CSMODE_CP_BEGIN_EDGECLK | CSMODE_CI_INACTIVEHIGH in fsl_espi_setup() [all …]
|
| H A D | spi-sprd.c | 157 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 & SPI_CPHA ? SPRD_SPI_NG_RX : SPRD_SPI_NG_TX; in sprd_spi_init_hw() 677 val |= ss->hw_mode & SPI_CPOL ? SPRD_SPI_SCK_REV : 0; in sprd_spi_init_hw() 699 if (ss->hw_mode & SPI_3WIRE) in sprd_spi_init_hw() 704 if (ss->hw_mode & SPI_TX_DUAL) in sprd_spi_init_hw() 726 ss->hw_mode = sdev->mode; in sprd_spi_setup_transfer()
|
| H A D | spi-fsl-lib.h | 79 u32 hw_mode; /* Holds HW mode register settings */ member
|
| /linux/drivers/net/wwan/t7xx/ |
| H A D | t7xx_cldma.c | 50 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 D | t7xx_cldma.h | 147 enum t7xx_hw_mode hw_mode; member
|
| /linux/drivers/usb/dwc3/ |
| H A D | core.c | 57 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() 1013 unsigned int hw_mode; in dwc3_core_setup_global_control() local [all …]
|
| /linux/Documentation/networking/mac80211_hwsim/ |
| H A D | hostapd.conf | 4 hw_mode=g
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_dev.c | 2087 p_hwfn->hw_info.hw_mode); in qed_qm_reconf() 2503 int hw_mode = 0; in qed_calc_hw_mode() local 2506 hw_mode |= 1 << MODE_BB; in qed_calc_hw_mode() 2508 hw_mode |= 1 << MODE_K2; in qed_calc_hw_mode() 2517 hw_mode |= 1 << MODE_PORTS_PER_ENG_1; in qed_calc_hw_mode() 2520 hw_mode |= 1 << MODE_PORTS_PER_ENG_2; in qed_calc_hw_mode() 2523 hw_mode |= 1 << MODE_PORTS_PER_ENG_4; in qed_calc_hw_mode() 2532 hw_mode |= 1 << MODE_MF_SD; in qed_calc_hw_mode() 2534 hw_mode |= 1 << MODE_MF_SI; in qed_calc_hw_mode() 2536 hw_mode |= 1 << MODE_ASIC; in qed_calc_hw_mode() [all …]
|
| H A D | qed_mcp.c | 1806 p_hwfn->mcp_info->func_info.ovlan, p_hwfn->hw_info.hw_mode); in qed_mcp_update_stag()
|
| H A D | qed_sriov.c | 818 p_hwfn->hw_info.hw_mode); in qed_iov_enable_vf_access()
|
| /linux/drivers/regulator/ |
| H A D | mt6360-regulator.c | 308 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/gpu/drm/radeon/ |
| H A D | r600_dpm.c | 165 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()
|
| H A D | radeon_mode.h | 366 struct drm_display_mode hw_mode; member
|
| H A D | atombios_crtc.c | 2079 radeon_crtc->hw_mode = *adjusted_mode; in atombios_crtc_mode_set()
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | davinci_cpdma.c | 72 u32 hw_mode; member 1007 mode = desc_read(prev, hw_mode); in __cpdma_chan_submit() 1010 desc_write(prev, hw_mode, mode & ~CPDMA_DESC_EOQ); in __cpdma_chan_submit() 1063 writel_relaxed(mode | len, &desc->hw_mode); in cpdma_chan_submit_si() 1239 status = desc_read(desc, hw_mode); in __cpdma_chan_process()
|
| /linux/drivers/staging/rtl8723bs/include/ |
| H A D | rtw_mlme_ext.h | 356 enum hw_mode {IEEE80211G, IEEE80211A} mode; enum
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | wmi.c | 4203 struct wmi_pdev_set_hw_mode_cmd_param *hw_mode; in ath11k_init_cmd_send() local 4213 hw_mode_len = sizeof(*hw_mode) + TLV_HDR_SIZE + in ath11k_init_cmd_send() 4266 hw_mode = ptr; in ath11k_init_cmd_send() 4267 hw_mode->tlv_header = FIELD_PREP(WMI_TLV_TAG, in ath11k_init_cmd_send() 4270 sizeof(*hw_mode) - TLV_HDR_SIZE); in ath11k_init_cmd_send() 4272 hw_mode->hw_mode_index = param->hw_mode_id; in ath11k_init_cmd_send() 4273 hw_mode->num_band_to_mac = param->num_band_to_mac; in ath11k_init_cmd_send() 4275 ptr += sizeof(*hw_mode); in ath11k_init_cmd_send()
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | debugfs_htt_stats.h | 416 __le32 hw_mode; member
|
| H A D | debugfs_htt_stats.c | 371 u8 j, hw_mode, i, str_buf_len; in htt_print_tx_pdev_mu_ppdu_dist_stats_tlv() local 383 hw_mode = le32_to_cpu(htt_stats_buf->hw_mode); in htt_print_tx_pdev_mu_ppdu_dist_stats_tlv() 385 switch (hw_mode) { in htt_print_tx_pdev_mu_ppdu_dist_stats_tlv()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | dce_v8_0.c | 2545 amdgpu_crtc->hw_mode = *adjusted_mode; in dce_v8_0_crtc_mode_set()
|
| H A D | dce_v10_0.c | 2619 amdgpu_crtc->hw_mode = *adjusted_mode; in dce_v10_0_crtc_mode_set()
|
| H A D | dce_v6_0.c | 2586 amdgpu_crtc->hw_mode = *adjusted_mode; in dce_v6_0_crtc_mode_set()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm.c | 10484 acrtc->hw_mode = new_crtc_state->mode; in amdgpu_dm_commit_streams()
|