Home
last modified time | relevance | path

Searched refs:capa (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.1.9/drivers/media/pci/cobalt/
Dcobalt-driver.c189 u32 capa; in cobalt_pcie_status_show() local
196 pcie_capability_read_dword(pci_dev, PCI_EXP_DEVCAP, &capa); in cobalt_pcie_status_show()
200 capa, get_payload_size(capa & PCI_EXP_DEVCAP_PAYLOAD)); in cobalt_pcie_status_show()
208 pcie_capability_read_dword(pci_dev, PCI_EXP_LNKCAP, &capa); in cobalt_pcie_status_show()
212 capa, get_link_speed(capa), in cobalt_pcie_status_show()
213 (capa & PCI_EXP_LNKCAP_MLW) >> 4); in cobalt_pcie_status_show()
220 pcie_capability_read_dword(pci_bus_dev, PCI_EXP_LNKCAP, &capa); in cobalt_pcie_status_show()
222 capa, get_link_speed(capa), in cobalt_pcie_status_show()
223 (capa & PCI_EXP_LNKCAP_MLW) >> 4); in cobalt_pcie_status_show()
226 pcie_capability_read_dword(pci_dev, PCI_EXP_SLTCAP, &capa); in cobalt_pcie_status_show()
[all …]
Dcobalt-omnitek.c68 u32 capa = ioread32(CAPABILITY_REGISTER); in show_dma_capability() local
73 (header >> 16) & 0xffff, (capa >> 24) & 0xff); in show_dma_capability()
75 switch ((capa >> 8) & 0x3) { in show_dma_capability()
87 for (i = 0; i < (capa & 0xf); i++) { in show_dma_capability()
125 u32 capa = ioread32(CAPABILITY_REGISTER); in omni_sg_dma_init() local
129 cobalt->dma_channels = capa & 0xf; in omni_sg_dma_init()
130 if (capa & PCI_64BIT) in omni_sg_dma_init()
/linux-6.1.9/net/wireless/
Dpmsr.c15 const struct cfg80211_pmsr_capabilities *capa = rdev->wiphy.pmsr_capa; in pmsr_parse_ftm() local
47 if (!(capa->ftm.preambles & BIT(preamble))) { in pmsr_parse_ftm()
62 if (out->ftm.asap && !capa->ftm.asap) { in pmsr_parse_ftm()
69 if (!out->ftm.asap && !capa->ftm.non_asap) { in pmsr_parse_ftm()
80 if (capa->ftm.max_bursts_exponent >= 0 && in pmsr_parse_ftm()
81 out->ftm.num_bursts_exp > capa->ftm.max_bursts_exponent) { in pmsr_parse_ftm()
98 if (capa->ftm.max_ftms_per_burst && in pmsr_parse_ftm()
99 (out->ftm.ftms_per_burst > capa->ftm.max_ftms_per_burst || in pmsr_parse_ftm()
113 if (out->ftm.request_lci && !capa->ftm.request_lci) { in pmsr_parse_ftm()
121 if (out->ftm.request_civicloc && !capa->ftm.request_civicloc) { in pmsr_parse_ftm()
[all …]
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/
Dacpi_sar.c230 const struct cfg80211_sar_capa *capa = phy->mt76->hw->wiphy->sar_capa; in mt7921_asar_range_pwr() local
234 if (!capa) in mt7921_asar_range_pwr()
260 const struct cfg80211_sar_capa *capa = phy->mt76->hw->wiphy->sar_capa; in mt7921_init_acpi_sar_power() local
270 for (i = 0; i < capa->num_freq_ranges; i++) { in mt7921_init_acpi_sar_power()
273 frp->range = set_default ? &capa->freq_ranges[i] : frp->range; in mt7921_init_acpi_sar_power()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c382 struct iwl_ucode_capabilities *capa) in iwl_set_ucode_api_flags() argument
398 __set_bit(i + 32 * api_index, capa->_api); in iwl_set_ucode_api_flags()
403 struct iwl_ucode_capabilities *capa) in iwl_set_ucode_capabilities() argument
419 __set_bit(i + 32 * api_index, capa->_capa); in iwl_set_ucode_capabilities()
632 struct iwl_ucode_capabilities *capa, in iwl_parse_tlv_firmware() argument
741 capa->max_probe_length = in iwl_parse_tlv_firmware()
747 capa->flags |= IWL_UCODE_TLV_FLAGS_PAN; in iwl_parse_tlv_firmware()
763 capa->flags = le32_to_cpup((const __le32 *)tlv_data); in iwl_parse_tlv_firmware()
768 iwl_set_ucode_api_flags(drv, tlv_data, capa); in iwl_parse_tlv_firmware()
773 iwl_set_ucode_capabilities(drv, tlv_data, capa); in iwl_parse_tlv_firmware()
[all …]
Diwl-nvm-parse.c736 iftype_data[i].he_6ghz_capa.capa = cpu_to_le16(he_6ghz_capa); in iwl_init_he_6ghz_capa()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/
Dimg.h70 iwl_ucode_tlv_capa_t capa) in fw_has_capa() argument
72 return test_bit((__force long)capa, capabilities->_capa); in fw_has_capa()
/linux-6.1.9/drivers/mmc/host/
Dsdhci-omap.c132 u32 capa; member
223 u32 reg, capa; in sdhci_omap_conf_bus_power() local
231 capa = sdhci_omap_readl(omap_host, SDHCI_OMAP_CAPA); in sdhci_omap_conf_bus_power()
232 if (capa & CAPA_VS33) in sdhci_omap_conf_bus_power()
234 else if (capa & CAPA_VS30) in sdhci_omap_conf_bus_power()
238 capa); in sdhci_omap_conf_bus_power()
1421 omap_host->capa = sdhci_omap_readl(omap_host, SDHCI_OMAP_CAPA); in sdhci_omap_context_save()
1430 sdhci_omap_writel(omap_host, SDHCI_OMAP_CAPA, omap_host->capa); in sdhci_omap_context_restore()
Domap_hsmmc.c191 u32 capa; member
632 u32 hctl, capa; in omap_hsmmc_context_restore() local
638 host->capa == OMAP_HSMMC_READ(host->base, CAPA)) in omap_hsmmc_context_restore()
649 capa = VS30 | VS18; in omap_hsmmc_context_restore()
652 capa = VS18; in omap_hsmmc_context_restore()
662 OMAP_HSMMC_READ(host->base, CAPA) | capa); in omap_hsmmc_context_restore()
700 host->capa = OMAP_HSMMC_READ(host->base, CAPA); in omap_hsmmc_context_save()
1590 u32 hctl, capa, value; in omap_hsmmc_conf_bus_power() local
1595 capa = VS30 | VS18; in omap_hsmmc_conf_bus_power()
1598 capa = VS18; in omap_hsmmc_conf_bus_power()
[all …]
/linux-6.1.9/net/mac80211/
Dhe.c20 switch (le16_get_bits(he_6ghz_capa->capa, in ieee80211_update_from_he_6ghz_capa()
39 switch (le16_get_bits(he_6ghz_capa->capa, in ieee80211_update_from_he_6ghz_capa()
Dmain.c1336 if (local->rate_ctrl->ops->capa & RATE_CTRL_CAPA_VHT_EXT_NSS_BW) in ieee80211_register_hw()
/linux-6.1.9/drivers/macintosh/
Dvia-pmu.c787 unsigned int capa, max, voltage; in done_battery_state_smart() local
795 capa = max = amperage = voltage = 0; in done_battery_state_smart()
801 case 4: capa = req->reply[2]; in done_battery_state_smart()
806 case 5: capa = (req->reply[2] << 8) | req->reply[3]; in done_battery_state_smart()
823 pmu_batteries[pmu_cur_battery].charge = capa; in done_battery_state_smart()
830 = ((max-capa) * 3600) / amperage; in done_battery_state_smart()
833 = (capa * 3600) / (-amperage); in done_battery_state_smart()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmac80211.c1422 const struct cfg80211_sar_capa *capa = hw->wiphy->sar_capa; in mt76_init_sar_power() local
1436 phy->frp[index].range = &capa->freq_ranges[index]; in mt76_init_sar_power()
1448 const struct cfg80211_sar_capa *capa = phy->hw->wiphy->sar_capa; in mt76_get_sar_power() local
1451 if (!capa || !phy->frp) in mt76_get_sar_power()
1458 for (i = 0 ; i < capa->num_freq_ranges; i++) { in mt76_get_sar_power()
Dmt76_connac_mcu.c848 he_6g_capa->capa = sta->deflink.he_6ghz_capa.capa; in mt76_connac_mcu_sta_tlv()
913 if (sta->deflink.ht_cap.ht_supported || sta->deflink.he_6ghz_capa.capa) { in mt76_connac_mcu_wtbl_ht_tlv()
924 ht->af = le16_get_bits(sta->deflink.he_6ghz_capa.capa, in mt76_connac_mcu_wtbl_ht_tlv()
926 ht->mm = le16_get_bits(sta->deflink.he_6ghz_capa.capa, in mt76_connac_mcu_wtbl_ht_tlv()
933 if (sta->deflink.vht_cap.vht_supported || sta->deflink.he_6ghz_capa.capa) { in mt76_connac_mcu_wtbl_ht_tlv()
Dmt76_connac_mcu.h400 __le16 capa; member
/linux-6.1.9/drivers/net/wireless/marvell/libertas/
Dcfg.c583 u16 capa; in lbs_ret_scan() local
602 capa = get_unaligned_le16(pos); in lbs_ret_scan()
641 bssid, capa, chan_no, ssid_len, ssid, in lbs_ret_scan()
649 capa, intvl, ie, ielen, in lbs_ret_scan()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Dagn.h77 const struct iwl_ucode_capabilities *capa);
Dmac80211.c79 const struct iwl_ucode_capabilities *capa) in iwlagn_mac_setup_register() argument
176 hw->wiphy->max_scan_ie_len = capa->max_probe_length - 24 - 34; in iwlagn_mac_setup_register()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Drs-fw.c385 switch (le16_get_bits(sta->deflink.he_6ghz_capa.capa, in rs_fw_get_max_amsdu_len()
Dscan.c835 const struct iwl_ucode_capabilities *capa = &mvm->fw->ucode_capa; in iwl_mvm_scan_use_ebs() local
851 return ((capa->flags & IWL_UCODE_TLV_FLAGS_EBS_SUPPORT) && in iwl_mvm_scan_use_ebs()
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Dcore.c2824 __le16 capa; in rtw89_init_he_cap() local
2826 capa = le16_encode_bits(IEEE80211_HT_MPDU_DENSITY_NONE, in rtw89_init_he_cap()
2832 iftype_data[idx].he_6ghz_capa.capa = capa; in rtw89_init_he_cap()
/linux-6.1.9/drivers/net/wireless/
Drndis_wlan.c299 __le16 capa; member
307 __le16 capa; member
2650 capability = le16_to_cpu(info->resp_ie.capa); in rndis_wlan_craft_connected_bss()
Dmac80211_hwsim.c3845 .capa = cpu_to_le16(IEEE80211_HE_6GHZ_CAP_MIN_MPDU_START |
3990 .capa = cpu_to_le16(IEEE80211_HE_6GHZ_CAP_MIN_MPDU_START |
4137 .capa = cpu_to_le16(IEEE80211_HE_6GHZ_CAP_MIN_MPDU_START |
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Dinit.c995 data[idx].he_6ghz_capa.capa = cpu_to_le16(cap); in mt7915_init_he_caps()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dmac.c2331 if (!arg->he_flag || band != NL80211_BAND_6GHZ || !sta->deflink.he_6ghz_capa.capa) in ath11k_peer_assoc_h_he_6ghz()
2343 arg->peer_he_caps_6ghz = le16_to_cpu(sta->deflink.he_6ghz_capa.capa); in ath11k_peer_assoc_h_he_6ghz()
2372 if (!ht_cap->ht_supported && !sta->deflink.he_6ghz_capa.capa) in ath11k_peer_assoc_h_smps()
2379 smps = le16_get_bits(sta->deflink.he_6ghz_capa.capa, in ath11k_peer_assoc_h_smps()
2745 le16_to_cpu(ap_sta->deflink.he_6ghz_capa.capa)); in ath11k_bss_assoc()
4156 le16_to_cpu(sta->deflink.he_6ghz_capa.capa)); in ath11k_station_assoc()
5396 data[idx].he_6ghz_capa.capa = in ath11k_mac_copy_he_cap()

12