/kernel/linux/linux-5.10/drivers/staging/wfx/ |
H A D | main.c | 157 if (wdev->hw_caps.api_version_major < major) in wfx_api_older_than() 159 if (wdev->hw_caps.api_version_major > major) in wfx_api_older_than() 161 if (wdev->hw_caps.api_version_minor < minor) in wfx_api_older_than() 371 wdev->hw_caps.firmware_major, wdev->hw_caps.firmware_minor, in wfx_probe() 372 wdev->hw_caps.firmware_build, wdev->hw_caps.firmware_label, in wfx_probe() 373 wdev->hw_caps.api_version_major, wdev->hw_caps.api_version_minor, in wfx_probe() 374 wdev->keyset, wdev->hw_caps in wfx_probe() [all...] |
H A D | hif_rx.c | 84 memcpy(&wdev->hw_caps, body, sizeof(struct hif_ind_startup)); in hif_startup_indication() 85 le16_to_cpus((__le16 *)&wdev->hw_caps.hardware_id); in hif_startup_indication() 86 le16_to_cpus((__le16 *)&wdev->hw_caps.num_inp_ch_bufs); in hif_startup_indication() 87 le16_to_cpus((__le16 *)&wdev->hw_caps.size_inp_ch_buf); in hif_startup_indication() 88 le32_to_cpus((__le32 *)&wdev->hw_caps.supported_rate_mask); in hif_startup_indication()
|
H A D | bh.c | 183 WARN(len > wdev->hw_caps.size_inp_ch_buf, in tx_helper() 185 len, wdev->hw_caps.size_inp_ch_buf); in tx_helper() 205 if (wdev->hif.tx_buffers_used < wdev->hw_caps.num_inp_ch_bufs) { in bh_work_tx()
|
/kernel/linux/linux-6.6/drivers/net/wireless/silabs/wfx/ |
H A D | main.c | 158 if (wdev->hw_caps.api_version_major < major) in wfx_api_older_than() 160 if (wdev->hw_caps.api_version_major > major) in wfx_api_older_than() 162 if (wdev->hw_caps.api_version_minor < minor) in wfx_api_older_than() 368 wdev->hw_caps.firmware_major, wdev->hw_caps.firmware_minor, in wfx_probe() 369 wdev->hw_caps.firmware_build, wdev->hw_caps.firmware_label, in wfx_probe() 370 wdev->hw_caps.api_version_major, wdev->hw_caps.api_version_minor, in wfx_probe() 371 wdev->keyset, wdev->hw_caps in wfx_probe() [all...] |
H A D | bh.c | 181 WARN(len > le16_to_cpu(wdev->hw_caps.size_inp_ch_buf), in tx_helper() 183 len, le16_to_cpu(wdev->hw_caps.size_inp_ch_buf)); in tx_helper() 203 if (wdev->hif.tx_buffers_used < le16_to_cpu(wdev->hw_caps.num_inp_ch_bufs)) { in bh_work_tx()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | common-init.c | 134 if (ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ) { in ath9k_cmn_init_channels_rates() 151 if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ) { in ath9k_cmn_init_channels_rates() 185 if (ah->caps.hw_caps & ATH9K_HW_CAP_LDPC) in ath9k_cmn_setup_ht_cap() 188 if (ah->caps.hw_caps & ATH9K_HW_CAP_SGI_20) in ath9k_cmn_setup_ht_cap() 234 if (!(ah->caps.hw_caps & ATH9K_HW_CAP_HT)) in ath9k_cmn_reload_chainmask() 237 if (ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ) in ath9k_cmn_reload_chainmask() 240 if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ) in ath9k_cmn_reload_chainmask()
|
H A D | gpio.c | 129 if (ah->caps.hw_caps & ATH9K_HW_CAP_RFSILENT) in ath_start_rfkill_poll() 214 if (ah->caps.hw_caps & ATH9K_HW_CAP_MCI) { in ath_btcoex_period_timer() 219 if (!(ah->caps.hw_caps & ATH9K_HW_CAP_MCI)) in ath_btcoex_period_timer() 225 if (!(ah->caps.hw_caps & ATH9K_HW_CAP_MCI)) { in ath_btcoex_period_timer() 265 (!(ah->caps.hw_caps & ATH9K_HW_CAP_MCI) && in ath_btcoex_no_stomp_timer() 349 if ((sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_MCI) && mci->aggr_limit) in ath9k_btcoex_aggr_limit() 372 if (!(ah->caps.hw_caps & ATH9K_HW_CAP_MCI)) in ath9k_start_btcoex() 393 if (ah->caps.hw_caps & ATH9K_HW_CAP_MCI) in ath9k_stop_btcoex()
|
H A D | ar9002_mac.c | 81 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9002_hw_get_isr() 87 if (pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED) in ar9002_hw_get_isr() 108 if (pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED) { in ar9002_hw_get_isr() 140 if (pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED) { in ar9002_hw_get_isr() 156 !(pCap->hw_caps & ATH9K_HW_CAP_AUTOSLEEP)) in ar9002_hw_get_isr() 159 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9002_hw_get_isr() 165 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9002_hw_get_isr()
|
H A D | init.c | 315 if (!(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_4KB_SPLITTRANS)) { in ath_descdma_setup() 352 if (!(sc->sc_ah->caps.hw_caps & in ath_descdma_setup() 383 if (!(sc->sc_ah->caps.hw_caps & in ath_descdma_setup() 437 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_ANT_DIV_COMB) in ath9k_init_misc() 498 pCap->hw_caps &= ~ATH9K_HW_CAP_ANT_DIV_COMB; in ath9k_init_pcoem_platform() 502 pCap->hw_caps |= ATH9K_HW_CAP_BT_ANT_DIV; in ath9k_init_pcoem_platform() 722 (pCap->hw_caps & ATH9K_HW_CAP_BT_ANT_DIV)) in ath9k_init_softc() 816 if (ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ) in ath9k_init_txpower_limits() 818 if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ) in ath9k_init_txpower_limits() 933 if (sc->sc_ah->caps.hw_caps in ath9k_set_hw_capab() [all...] |
H A D | ar9003_mac.c | 233 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9003_hw_get_isr() 239 if ((pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) in ar9003_hw_get_isr() 266 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9003_hw_get_isr() 281 if (pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED) in ar9003_hw_get_isr() 295 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9003_hw_get_isr() 304 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9003_hw_get_isr()
|
H A D | hw.c | 53 else if (ah->caps.hw_caps & ATH9K_HW_CAP_FASTCLOCK) in ath9k_hw_set_clockrate() 1553 if (pCap->hw_caps & ATH9K_HW_CAP_FCC_BAND_SWITCH) { in ath9k_hw_channel_change() 1813 if (!(pCap->hw_caps & ATH9K_HW_CAP_FCC_BAND_SWITCH) && in ath9k_hw_do_fastcc() 2002 if (ah->caps.hw_caps & ATH9K_HW_CAP_RFSILENT) in ath9k_hw_reset() 2145 if (!(pCap->hw_caps & ATH9K_HW_CAP_AUTOSLEEP)) { in ath9k_set_power_network_sleep() 2369 if (pCap->hw_caps & ATH9K_HW_CAP_AUTOSLEEP) in ath9k_hw_set_sta_beacon_timers() 2515 pCap->hw_caps |= ATH9K_HW_CAP_5GHZ; in ath9k_hw_fill_cap_info() 2522 pCap->hw_caps |= ATH9K_HW_CAP_2GHZ; in ath9k_hw_fill_cap_info() 2525 if ((pCap->hw_caps & (ATH9K_HW_CAP_2GHZ | ATH9K_HW_CAP_5GHZ)) == 0) { in ath9k_hw_fill_cap_info() 2577 pCap->hw_caps | in ath9k_hw_fill_cap_info() [all...] |
H A D | recv.c | 26 (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP); in ath9k_check_auto_sleep() 283 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) in ath_rx_init() 338 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) { in ath_rx_cleanup() 446 if (ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) { in ath_startrecv() 475 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) in ath_flushrecv() 491 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) in ath_stoprecv() 970 if (!(ah->caps.hw_caps & ATH9K_HW_CAP_ANT_DIV_COMB)) in ath9k_antenna_check() 984 if (pCap->hw_caps & ATH9K_HW_CAP_BT_ANT_DIV) { in ath9k_antenna_check() 1071 bool edma = !!(ah->caps.hw_caps & ATH9K_HW_CAP_EDMA); in ath_rx_tasklet()
|
H A D | main.c | 444 if (ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) in ath9k_tasklet() 452 if ((ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) && in ath9k_tasklet() 460 if (ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) { in ath9k_tasklet() 578 if (!(ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP)) in ath_isr() 701 if (ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) in ath9k_start() 717 if (ah->caps.hw_caps & ATH9K_HW_CAP_HT) in ath9k_start() 786 if (!(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP)) in ath9k_tx() 868 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) { in ath9k_txq_has_key() 1459 if (!(ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP)) { in ath9k_enable_ps() 1479 if (!(ah->caps.hw_caps in ath9k_disable_ps() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | common-init.c | 134 if (ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ) { in ath9k_cmn_init_channels_rates() 151 if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ) { in ath9k_cmn_init_channels_rates() 185 if (ah->caps.hw_caps & ATH9K_HW_CAP_LDPC) in ath9k_cmn_setup_ht_cap() 188 if (ah->caps.hw_caps & ATH9K_HW_CAP_SGI_20) in ath9k_cmn_setup_ht_cap() 234 if (!(ah->caps.hw_caps & ATH9K_HW_CAP_HT)) in ath9k_cmn_reload_chainmask() 237 if (ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ) in ath9k_cmn_reload_chainmask() 240 if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ) in ath9k_cmn_reload_chainmask()
|
H A D | gpio.c | 129 if (ah->caps.hw_caps & ATH9K_HW_CAP_RFSILENT) in ath_start_rfkill_poll() 214 if (ah->caps.hw_caps & ATH9K_HW_CAP_MCI) { in ath_btcoex_period_timer() 219 if (!(ah->caps.hw_caps & ATH9K_HW_CAP_MCI)) in ath_btcoex_period_timer() 225 if (!(ah->caps.hw_caps & ATH9K_HW_CAP_MCI)) { in ath_btcoex_period_timer() 265 (!(ah->caps.hw_caps & ATH9K_HW_CAP_MCI) && in ath_btcoex_no_stomp_timer() 349 if ((sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_MCI) && mci->aggr_limit) in ath9k_btcoex_aggr_limit() 372 if (!(ah->caps.hw_caps & ATH9K_HW_CAP_MCI)) in ath9k_start_btcoex() 393 if (ah->caps.hw_caps & ATH9K_HW_CAP_MCI) in ath9k_stop_btcoex()
|
H A D | ar9002_mac.c | 81 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9002_hw_get_isr() 87 if (pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED) in ar9002_hw_get_isr() 108 if (pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED) { in ar9002_hw_get_isr() 140 if (pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED) { in ar9002_hw_get_isr() 156 !(pCap->hw_caps & ATH9K_HW_CAP_AUTOSLEEP)) in ar9002_hw_get_isr() 159 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9002_hw_get_isr() 165 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9002_hw_get_isr()
|
H A D | init.c | 315 if (!(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_4KB_SPLITTRANS)) { in ath_descdma_setup() 352 if (!(sc->sc_ah->caps.hw_caps & in ath_descdma_setup() 383 if (!(sc->sc_ah->caps.hw_caps & in ath_descdma_setup() 437 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_ANT_DIV_COMB) in ath9k_init_misc() 498 pCap->hw_caps &= ~ATH9K_HW_CAP_ANT_DIV_COMB; in ath9k_init_pcoem_platform() 502 pCap->hw_caps |= ATH9K_HW_CAP_BT_ANT_DIV; in ath9k_init_pcoem_platform() 774 (pCap->hw_caps & ATH9K_HW_CAP_BT_ANT_DIV)) in ath9k_init_softc() 868 if (ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ) in ath9k_init_txpower_limits() 870 if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ) in ath9k_init_txpower_limits() 969 if (sc->sc_ah->caps.hw_caps in ath9k_set_hw_capab() [all...] |
H A D | ar9003_mac.c | 234 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9003_hw_get_isr() 240 if ((pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) in ar9003_hw_get_isr() 267 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9003_hw_get_isr() 282 if (pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED) in ar9003_hw_get_isr() 296 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9003_hw_get_isr() 305 if (!(pCap->hw_caps & ATH9K_HW_CAP_RAC_SUPPORTED)) { in ar9003_hw_get_isr()
|
H A D | hw.c | 52 else if (ah->caps.hw_caps & ATH9K_HW_CAP_FASTCLOCK) in ath9k_hw_set_clockrate() 1552 if (pCap->hw_caps & ATH9K_HW_CAP_FCC_BAND_SWITCH) { in ath9k_hw_channel_change() 1812 if (!(pCap->hw_caps & ATH9K_HW_CAP_FCC_BAND_SWITCH) && in ath9k_hw_do_fastcc() 2001 if (ah->caps.hw_caps & ATH9K_HW_CAP_RFSILENT) in ath9k_hw_reset() 2144 if (!(pCap->hw_caps & ATH9K_HW_CAP_AUTOSLEEP)) { in ath9k_set_power_network_sleep() 2367 if (pCap->hw_caps & ATH9K_HW_CAP_AUTOSLEEP) in ath9k_hw_set_sta_beacon_timers() 2513 pCap->hw_caps |= ATH9K_HW_CAP_5GHZ; in ath9k_hw_fill_cap_info() 2520 pCap->hw_caps |= ATH9K_HW_CAP_2GHZ; in ath9k_hw_fill_cap_info() 2523 if ((pCap->hw_caps & (ATH9K_HW_CAP_2GHZ | ATH9K_HW_CAP_5GHZ)) == 0) { in ath9k_hw_fill_cap_info() 2575 pCap->hw_caps | in ath9k_hw_fill_cap_info() [all...] |
H A D | recv.c | 26 (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP); in ath9k_check_auto_sleep() 283 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) in ath_rx_init() 338 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) { in ath_rx_cleanup() 446 if (ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) { in ath_startrecv() 475 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) in ath_flushrecv() 491 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) in ath_stoprecv() 970 if (!(ah->caps.hw_caps & ATH9K_HW_CAP_ANT_DIV_COMB)) in ath9k_antenna_check() 984 if (pCap->hw_caps & ATH9K_HW_CAP_BT_ANT_DIV) { in ath9k_antenna_check() 1071 bool edma = !!(ah->caps.hw_caps & ATH9K_HW_CAP_EDMA); in ath_rx_tasklet()
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
H A D | emif_plat.h | 96 * @hw_caps: Hw capabilities of the EMIF IP in the respective SoC 115 u32 hw_caps; member
|
/kernel/linux/linux-6.6/include/linux/platform_data/ |
H A D | emif_plat.h | 96 * @hw_caps: Hw capabilities of the EMIF IP in the respective SoC 115 u32 hw_caps; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_ethtool.c | 830 const struct aq_hw_caps_s *hw_caps; in aq_set_ringparam() local 836 hw_caps = cfg->aq_hw_caps; in aq_set_ringparam() 848 cfg->rxds = max(ring->rx_pending, hw_caps->rxds_min); in aq_set_ringparam() 849 cfg->rxds = min(cfg->rxds, hw_caps->rxds_max); in aq_set_ringparam() 852 cfg->txds = max(ring->tx_pending, hw_caps->txds_min); in aq_set_ringparam() 853 cfg->txds = min(cfg->txds, hw_caps->txds_max); in aq_set_ringparam()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_ethtool.c | 847 const struct aq_hw_caps_s *hw_caps; in aq_set_ringparam() local 853 hw_caps = cfg->aq_hw_caps; in aq_set_ringparam() 865 cfg->rxds = max(ring->rx_pending, hw_caps->rxds_min); in aq_set_ringparam() 866 cfg->rxds = min(cfg->rxds, hw_caps->rxds_max); in aq_set_ringparam() 869 cfg->txds = max(ring->tx_pending, hw_caps->txds_min); in aq_set_ringparam() 870 cfg->txds = min(cfg->txds, hw_caps->txds_max); in aq_set_ringparam()
|
/kernel/linux/linux-6.6/drivers/memory/ |
H A D | emif.c | 612 if (emif->plat_data->hw_caps & EMIF_HW_CAPS_LL_INTERFACE) { in emif_interrupt_handler() 662 if (emif->plat_data->hw_caps & EMIF_HW_CAPS_LL_INTERFACE) in clear_all_interrupts() 674 if (emif->plat_data->hw_caps & EMIF_HW_CAPS_LL_INTERFACE) in disable_and_clear_all_interrupts() 698 if (emif->plat_data->hw_caps & EMIF_HW_CAPS_LL_INTERFACE) { in setup_interrupts() 957 pd->hw_caps |= EMIF_HW_CAPS_LL_INTERFACE; in of_get_memory_device_details()
|