/Linux-v5.15/drivers/firmware/efi/ |
D | capsule-loader.c | 30 static void efi_free_all_buff_pages(struct capsule_info *cap_info) in efi_free_all_buff_pages() argument 32 while (cap_info->index > 0) in efi_free_all_buff_pages() 33 __free_page(cap_info->pages[--cap_info->index]); in efi_free_all_buff_pages() 35 cap_info->index = NO_FURTHER_WRITE_ACTION; in efi_free_all_buff_pages() 38 int __efi_capsule_setup_info(struct capsule_info *cap_info) in __efi_capsule_setup_info() argument 44 pages_needed = ALIGN(cap_info->total_size, PAGE_SIZE) / PAGE_SIZE; in __efi_capsule_setup_info() 52 ret = efi_capsule_supported(cap_info->header.guid, in __efi_capsule_setup_info() 53 cap_info->header.flags, in __efi_capsule_setup_info() 54 cap_info->header.imagesize, in __efi_capsule_setup_info() 55 &cap_info->reset_type); in __efi_capsule_setup_info() [all …]
|
/Linux-v5.15/arch/x86/platform/efi/ |
D | quirks.c | 602 static int qrk_capsule_setup_info(struct capsule_info *cap_info, void **pkbuff, in qrk_capsule_setup_info() argument 628 cap_info->total_size = csh->headersize; in qrk_capsule_setup_info() 633 cap_info->phys[0] += csh->headersize; in qrk_capsule_setup_info() 644 cap_info->capsule = &cap_info->header; in qrk_capsule_setup_info() 655 int efi_capsule_setup_info(struct capsule_info *cap_info, void *kbuff, in efi_capsule_setup_info() argument 665 cap_info->total_size = 0; in efi_capsule_setup_info() 677 ret = quirk_handler(cap_info, &kbuff, hdr_bytes); in efi_capsule_setup_info() 682 memcpy(&cap_info->header, kbuff, sizeof(cap_info->header)); in efi_capsule_setup_info() 684 cap_info->total_size += cap_info->header.imagesize; in efi_capsule_setup_info() 686 return __efi_capsule_setup_info(cap_info); in efi_capsule_setup_info()
|
/Linux-v5.15/net/mac80211/ |
D | vht.c | 123 u32 cap_info, i; in ieee80211_vht_cap_ie_to_sta_vht_cap() local 169 cap_info = le32_to_cpu(vht_cap_ie->vht_cap_info); in ieee80211_vht_cap_ie_to_sta_vht_cap() 170 vht_cap->cap = cap_info; in ieee80211_vht_cap_ie_to_sta_vht_cap() 180 vht_cap->cap |= min_t(u32, cap_info & IEEE80211_VHT_CAP_MAX_MPDU_MASK, in ieee80211_vht_cap_ie_to_sta_vht_cap() 186 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap() 190 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap() 199 vht_cap->cap |= cap_info & own_cap.cap & in ieee80211_vht_cap_ie_to_sta_vht_cap() 205 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap() 210 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap() 215 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap() [all …]
|
D | ht.c | 27 if (ht_capa_mask->cap_info & le_flag) { in __check_htcap_disable() 28 if (!(ht_capa->cap_info & le_flag)) in __check_htcap_disable() 40 if ((ht_capa_mask->cap_info & le_flag) && in __check_htcap_enable() 41 (ht_capa->cap_info & le_flag)) in __check_htcap_enable() 113 if (ht_capa_mask->cap_info & cpu_to_le16(IEEE80211_HT_CAP_RX_STBC)) in ieee80211_apply_htcap_overrides() 114 ht_cap->cap |= le16_to_cpu(ht_capa->cap_info) & in ieee80211_apply_htcap_overrides() 174 ht_cap.cap = le16_to_cpu(ht_cap_ie->cap_info) & in ieee80211_ht_cap_ie_to_sta_ht_cap()
|
/Linux-v5.15/drivers/staging/wlan-ng/ |
D | p80211mgmt.h | 320 u16 *cap_info; member 372 u16 *cap_info; member 389 u16 *cap_info; member 406 u16 *cap_info; member 424 u16 *cap_info; member 458 u16 *cap_info; member
|
/Linux-v5.15/drivers/staging/rtl8723bs/core/ |
D | rtw_ap.c | 491 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode() 504 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode() 510 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode() 583 if ((phtpriv_ap->ht_cap.cap_info) & cpu_to_le16(IEEE80211_HT_CAP_SGI_20)) in update_ap_info() 587 if ((phtpriv_ap->ht_cap.cap_info) & cpu_to_le16(IEEE80211_HT_CAP_SGI_40)) in update_ap_info() 1048 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_SGI_20)); in rtw_check_beacon_data() 1051 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_SGI_40)); in rtw_check_beacon_data() 1054 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_LDPC_CODING)); in rtw_check_beacon_data() 1057 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_TX_STBC)); in rtw_check_beacon_data() 1060 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_RX_STBC_3R)); in rtw_check_beacon_data() [all …]
|
D | rtw_mlme.c | 2328 ht_capie.cap_info = cpu_to_le16(IEEE80211_HT_CAP_DSSSCCK40); in rtw_restructure_ht_ie() 2331 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SGI_20); in rtw_restructure_ht_ie() 2374 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SUP_WIDTH); in rtw_restructure_ht_ie() 2376 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SGI_40); in rtw_restructure_ht_ie() 2380 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_TX_STBC); in rtw_restructure_ht_ie() 2383 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SM_PS); in rtw_restructure_ht_ie() 2396 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_RX_STBC_1R);/* RX STBC One spatial stream */ in rtw_restructure_ht_ie()
|
D | rtw_ieee80211.c | 1094 pnetwork->bcn_info.ht_cap_info = le16_to_cpu(pht_cap->cap_info); in rtw_get_bcn_info()
|
/Linux-v5.15/drivers/i2c/busses/ |
D | i2c-scmi.c | 30 u8 cap_info:1; member 334 smbus_cmi->cap_info = 1; in acpi_smbus_cmi_add_cap() 375 smbus_cmi->cap_info = 0; in acpi_smbus_cmi_add() 387 if (smbus_cmi->cap_info == 0) { in acpi_smbus_cmi_add()
|
/Linux-v5.15/drivers/net/wireless/ |
D | wl3501.h | 316 u16 cap_info; member 330 u16 cap_info; member 385 u16 cap_info; member 600 u8 cap_info; member
|
D | wl3501_cs.c | 651 .cap_info = wl3501_fw_cap_info(this), in wl3501_mgmt_start() 670 (sig.req.cap_info & WL3501_MGMT_CAPABILITY_ESS)) || in wl3501_mgmt_scan_confirm() 672 (sig.req.cap_info & WL3501_MGMT_CAPABILITY_IBSS)) || in wl3501_mgmt_scan_confirm() 872 .cap_info = this->cap_info, in wl3501_mgmt_association() 1601 if (this->bss_set[i].req.cap_info & WL3501_MGMT_CAPABILITY_PRIVACY) in wl3501_get_scan()
|
/Linux-v5.15/drivers/net/wireless/marvell/mwifiex/ |
D | join.c | 559 static const char *assoc_failure_reason_to_str(u16 cap_info) in assoc_failure_reason_to_str() argument 561 switch (cap_info) { in assoc_failure_reason_to_str() 646 u16 cap_info, status_code, aid; in mwifiex_ret_802_11_associate() local 658 cap_info = le16_to_cpu(assoc_rsp->cap_info_bitmap); in mwifiex_ret_802_11_associate() 680 status_code, cap_info, in mwifiex_ret_802_11_associate() 684 assoc_failure_reason_to_str(cap_info)); in mwifiex_ret_802_11_associate() 685 if (cap_info == CONNECT_ERR_ASSOC_ERR_TIMEOUT) { in mwifiex_ret_802_11_associate() 1058 tmp_ht_cap = le16_to_cpu(ht_cap->ht_cap.cap_info); in mwifiex_cmd_802_11_ad_hoc_start() 1061 ht_cap->ht_cap.cap_info = cpu_to_le16(tmp_ht_cap); in mwifiex_cmd_802_11_ad_hoc_start()
|
D | 11n.c | 69 ht_cap->cap_info = cpu_to_le16(sband->ht_cap.cap); in mwifiex_fill_cap_info() 356 ht_cap->ht_cap.cap_info &= in mwifiex_cmd_append_11n_tlv() 359 ht_cap->ht_cap.cap_info &= in mwifiex_cmd_append_11n_tlv() 365 ht_cap->ht_cap.cap_info &= in mwifiex_cmd_append_11n_tlv() 368 ht_cap->ht_cap.cap_info &= in mwifiex_cmd_append_11n_tlv()
|
D | uap_cmd.c | 176 bss_cfg->ht_cap.cap_info = cpu_to_le16(MWIFIEX_DEF_HT_CAP); in mwifiex_set_ht_params() 233 vht_cfg.cap_info = adapter->hw_dot_11ac_dev_cap; in mwifiex_set_vht_width() 635 if (bss_cfg->ht_cap.cap_info) { in mwifiex_uap_bss_param_prepare() 640 htcap->ht_cap.cap_info = bss_cfg->ht_cap.cap_info; in mwifiex_uap_bss_param_prepare()
|
D | 11ac.c | 277 vhtcfg->cap_info = cpu_to_le32(cfg->cap_info); in mwifiex_cmd_11ac_cfg()
|
D | ioctl.h | 312 u32 cap_info; member
|
D | util.c | 645 node->max_amsdu = le16_to_cpu(ht_cap->cap_info) & in mwifiex_set_sta_ht_cap()
|
D | tdls.c | 203 if (!(le16_to_cpu(sta_ptr->tdls_cap.ht_capb.cap_info))) { in mwifiex_tdls_add_ht_oper() 1151 if (le16_to_cpu(sta_ptr->tdls_cap.ht_capb.cap_info) & in mwifiex_tdls_process_enable_link()
|
D | fw.h | 1927 __le16 cap_info; member 1941 __le32 cap_info; member
|
/Linux-v5.15/drivers/net/wireless/microchip/wilc1000/ |
D | fw.h | 95 __le16 cap_info; member
|
/Linux-v5.15/drivers/net/ethernet/microchip/ |
D | lan743x_ptp.c | 665 u32 cap_info, cause, header, nsec, seconds; in lan743x_ptpci_do_aux_work() local 672 cap_info = lan743x_csr_read(adapter, PTP_CAP_INFO); in lan743x_ptpci_do_aux_work() 674 if (PTP_CAP_INFO_TX_TS_CNT_GET_(cap_info) > 0) { in lan743x_ptpci_do_aux_work()
|
/Linux-v5.15/drivers/staging/r8188eu/core/ |
D | rtw_ap.c | 523 sta_cap_info = le16_to_cpu(phtpriv_sta->ht_cap.cap_info); in update_sta_info_apmode() 524 ap_cap_info = le16_to_cpu(phtpriv_ap->ht_cap.cap_info); in update_sta_info_apmode() 1348 else if ((le16_to_cpu(phtpriv_ap->ht_cap.cap_info) & in rtw_ht_operation_update() 1479 u16 ht_capab = le16_to_cpu(psta->htpriv.ht_cap.cap_info); in bss_cap_update_on_sta_join()
|
/Linux-v5.15/drivers/net/wireless/ath/ath6kl/ |
D | core.h | 573 unsigned short cap_info; member
|
D | wmi.c | 3201 cmd->ht20_sgi = !!(htcap->cap_info & IEEE80211_HT_CAP_SGI_20); in ath6kl_wmi_set_htcap_cmd() 3203 !!(htcap->cap_info & IEEE80211_HT_CAP_SUP_WIDTH_20_40); in ath6kl_wmi_set_htcap_cmd() 3204 cmd->ht40_sgi = !!(htcap->cap_info & IEEE80211_HT_CAP_SGI_40); in ath6kl_wmi_set_htcap_cmd() 3206 !!(htcap->cap_info & IEEE80211_HT_CAP_40MHZ_INTOLERANT); in ath6kl_wmi_set_htcap_cmd()
|
/Linux-v5.15/include/linux/ |
D | efi.h | 170 int __efi_capsule_setup_info(struct capsule_info *cap_info);
|