Home
last modified time | relevance | path

Searched refs:cap_info (Results 1 – 25 of 45) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/firmware/efi/
Dcapsule-loader.c30 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 …]
/kernel/linux/linux-5.10/arch/x86/platform/efi/
Dquirks.c591 static int qrk_capsule_setup_info(struct capsule_info *cap_info, void **pkbuff, in qrk_capsule_setup_info() argument
617 cap_info->total_size = csh->headersize; in qrk_capsule_setup_info()
622 cap_info->phys[0] += csh->headersize; in qrk_capsule_setup_info()
633 cap_info->capsule = &cap_info->header; in qrk_capsule_setup_info()
644 int efi_capsule_setup_info(struct capsule_info *cap_info, void *kbuff, in efi_capsule_setup_info() argument
654 cap_info->total_size = 0; in efi_capsule_setup_info()
666 ret = quirk_handler(cap_info, &kbuff, hdr_bytes); in efi_capsule_setup_info()
671 memcpy(&cap_info->header, kbuff, sizeof(cap_info->header)); in efi_capsule_setup_info()
673 cap_info->total_size += cap_info->header.imagesize; in efi_capsule_setup_info()
675 return __efi_capsule_setup_info(cap_info); in efi_capsule_setup_info()
/kernel/linux/linux-5.10/net/mac80211/
Dvht.c123 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 …]
Dht.c27 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()
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dp80211mgmt.h320 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
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-scmi.c32 u8 cap_info:1; member
336 smbus_cmi->cap_info = 1; in acpi_smbus_cmi_add_cap()
377 smbus_cmi->cap_info = 0; in acpi_smbus_cmi_add()
389 if (smbus_cmi->cap_info == 0) { in acpi_smbus_cmi_add()
/kernel/linux/linux-5.10/drivers/net/wireless/
Dwl3501.h316 u16 cap_info; member
330 u16 cap_info; member
385 u16 cap_info; member
600 u8 cap_info; member
Dwl3501_cs.c653 .cap_info = wl3501_fw_cap_info(this), in wl3501_mgmt_start()
672 (sig.req.cap_info & WL3501_MGMT_CAPABILITY_ESS)) || in wl3501_mgmt_scan_confirm()
674 (sig.req.cap_info & WL3501_MGMT_CAPABILITY_IBSS)) || in wl3501_mgmt_scan_confirm()
874 .cap_info = this->cap_info, in wl3501_mgmt_association()
1603 if (this->bss_set[i].req.cap_info & WL3501_MGMT_CAPABILITY_PRIVACY) in wl3501_get_scan()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
Drtw_ap.c595 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode()
608 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode()
614 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode()
691 if ((phtpriv_ap->ht_cap.cap_info) & cpu_to_le16(IEEE80211_HT_CAP_SGI_20)) in update_ap_info()
695 if ((phtpriv_ap->ht_cap.cap_info) & cpu_to_le16(IEEE80211_HT_CAP_SGI_40)) in update_ap_info()
1194 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_SGI_20)); in rtw_check_beacon_data()
1197 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_SGI_40)); in rtw_check_beacon_data()
1200 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_LDPC_CODING)); in rtw_check_beacon_data()
1203 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_TX_STBC)); in rtw_check_beacon_data()
1206 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_RX_STBC_3R)); in rtw_check_beacon_data()
[all …]
Drtw_mlme.c2599 ht_capie.cap_info = cpu_to_le16(IEEE80211_HT_CAP_DSSSCCK40); in rtw_restructure_ht_ie()
2602 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SGI_20); in rtw_restructure_ht_ie()
2644 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SUP_WIDTH); in rtw_restructure_ht_ie()
2646 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SGI_40); in rtw_restructure_ht_ie()
2650 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_TX_STBC); in rtw_restructure_ht_ie()
2653 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SM_PS); in rtw_restructure_ht_ie()
2672 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_RX_STBC_1R);/* RX STBC One spatial stream */ in rtw_restructure_ht_ie()
2681 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_RX_STBC_2R);/* RX STBC two spatial stream */ in rtw_restructure_ht_ie()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Djoin.c559 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()
D11n.c69 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()
Duap_cmd.c175 bss_cfg->ht_cap.cap_info = cpu_to_le16(MWIFIEX_DEF_HT_CAP); in mwifiex_set_ht_params()
232 vht_cfg.cap_info = adapter->hw_dot_11ac_dev_cap; in mwifiex_set_vht_width()
634 if (bss_cfg->ht_cap.cap_info) { in mwifiex_uap_bss_param_prepare()
639 htcap->ht_cap.cap_info = bss_cfg->ht_cap.cap_info; in mwifiex_uap_bss_param_prepare()
D11ac.c277 vhtcfg->cap_info = cpu_to_le32(cfg->cap_info); in mwifiex_cmd_11ac_cfg()
Dioctl.h312 u32 cap_info; member
Dutil.c645 node->max_amsdu = le16_to_cpu(ht_cap->cap_info) & in mwifiex_set_sta_ht_cap()
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dfw.h95 __le16 cap_info; member
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_ap.c530 if (le16_to_cpu(phtpriv_sta->ht_cap.cap_info & in update_sta_info_apmode()
531 phtpriv_ap->ht_cap.cap_info) & in update_sta_info_apmode()
536 if (le16_to_cpu(phtpriv_sta->ht_cap.cap_info & in update_sta_info_apmode()
537 phtpriv_ap->ht_cap.cap_info) & in update_sta_info_apmode()
587 pmlmeinfo->SM_PS = (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & 0x0C) >> 2; in update_hw_ht_param()
1314 else if ((le16_to_cpu(phtpriv_ap->ht_cap.cap_info) & in rtw_ht_operation_update()
1445 u16 ht_capab = le16_to_cpu(psta->htpriv.ht_cap.cap_info); in bss_cap_update_on_sta_join()
Drtw_ioctl_set.c558 short_GI_20 = (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & IEEE80211_HT_CAP_SGI_20) ? 1 : 0; in rtw_get_cur_max_rate()
559 short_GI_40 = (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & IEEE80211_HT_CAP_SGI_40) ? 1 : 0; in rtw_get_cur_max_rate()
Drtw_wlan_util.c839 ht_cap_info = le16_to_cpu(ht_cap->cap_info); in rtw_check_bcn_info()
1124 if (__le16_to_cpu(pHT_caps->cap_info) & (0x1 << bit_offset)) in support_short_GI()
Drtw_mlme.c1887 ht_cap.cap_info = cpu_to_le16(IEEE80211_HT_CAP_SUP_WIDTH_20_40 | in rtw_restructure_ht_ie()
1953 (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & BIT(1)) && in rtw_update_ht_cap()
1976 pmlmeinfo->SM_PS = (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & 0x0C) >> 2; in rtw_update_ht_cap()
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/
Dlan743x_ptp.c665 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()
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Dwifi.h455 __le16 cap_info; member
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Dwifi.h668 __le16 cap_info; member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
Dcore.h573 unsigned short cap_info; member

12