Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/firmware/efi/
Dcapsule-loader.c29 static void efi_free_all_buff_pages(struct capsule_info *cap_info) in efi_free_all_buff_pages() argument
31 while (cap_info->index > 0) in efi_free_all_buff_pages()
32 __free_page(cap_info->pages[--cap_info->index]); in efi_free_all_buff_pages()
34 cap_info->index = NO_FURTHER_WRITE_ACTION; in efi_free_all_buff_pages()
37 int __efi_capsule_setup_info(struct capsule_info *cap_info) in __efi_capsule_setup_info() argument
43 pages_needed = ALIGN(cap_info->total_size, PAGE_SIZE) / PAGE_SIZE; in __efi_capsule_setup_info()
51 ret = efi_capsule_supported(cap_info->header.guid, in __efi_capsule_setup_info()
52 cap_info->header.flags, in __efi_capsule_setup_info()
53 cap_info->header.imagesize, in __efi_capsule_setup_info()
54 &cap_info->reset_type); in __efi_capsule_setup_info()
[all …]
/Linux-v5.4/arch/x86/platform/efi/
Dquirks.c611 static int qrk_capsule_setup_info(struct capsule_info *cap_info, void **pkbuff, in qrk_capsule_setup_info() argument
637 cap_info->total_size = csh->headersize; in qrk_capsule_setup_info()
642 cap_info->phys[0] += csh->headersize; in qrk_capsule_setup_info()
653 cap_info->capsule = &cap_info->header; in qrk_capsule_setup_info()
667 int efi_capsule_setup_info(struct capsule_info *cap_info, void *kbuff, in efi_capsule_setup_info() argument
677 cap_info->total_size = 0; in efi_capsule_setup_info()
689 ret = quirk_handler(cap_info, &kbuff, hdr_bytes); in efi_capsule_setup_info()
694 memcpy(&cap_info->header, kbuff, sizeof(cap_info->header)); in efi_capsule_setup_info()
696 cap_info->total_size += cap_info->header.imagesize; in efi_capsule_setup_info()
698 return __efi_capsule_setup_info(cap_info); in efi_capsule_setup_info()
/Linux-v5.4/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()
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()
219 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap()
[all …]
Dht.c26 if (ht_capa_mask->cap_info & le_flag) { in __check_htcap_disable()
27 if (!(ht_capa->cap_info & le_flag)) in __check_htcap_disable()
39 if ((ht_capa_mask->cap_info & le_flag) && in __check_htcap_enable()
40 (ht_capa->cap_info & le_flag)) in __check_htcap_enable()
112 if (ht_capa_mask->cap_info & cpu_to_le16(IEEE80211_HT_CAP_RX_STBC)) in ieee80211_apply_htcap_overrides()
113 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.4/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
/Linux-v5.4/drivers/net/wireless/
Dwl3501.h316 u16 cap_info; member
330 u16 cap_info; member
394 u16 cap_info; member
448 u16 cap_info; member
601 u8 cap_info; member
Dwl3501_cs.c650 .cap_info = wl3501_fw_cap_info(this), in wl3501_mgmt_start()
669 (sig.cap_info & WL3501_MGMT_CAPABILITY_ESS)) || in wl3501_mgmt_scan_confirm()
671 (sig.cap_info & WL3501_MGMT_CAPABILITY_IBSS)) || in wl3501_mgmt_scan_confirm()
869 .cap_info = this->cap_info, in wl3501_mgmt_association()
1599 if (this->bss_set[i].cap_info & WL3501_MGMT_CAPABILITY_PRIVACY) in wl3501_get_scan()
/Linux-v5.4/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()
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_ap.c593 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode()
606 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode()
612 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode()
689 if ((phtpriv_ap->ht_cap.cap_info) & cpu_to_le16(IEEE80211_HT_CAP_SGI_20)) in update_ap_info()
693 if ((phtpriv_ap->ht_cap.cap_info) & cpu_to_le16(IEEE80211_HT_CAP_SGI_40)) in update_ap_info()
1192 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_SGI_20)); in rtw_check_beacon_data()
1195 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_SGI_40)); in rtw_check_beacon_data()
1198 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_LDPC_CODING)); in rtw_check_beacon_data()
1201 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_TX_STBC)); in rtw_check_beacon_data()
1204 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_RX_STBC_3R)); in rtw_check_beacon_data()
[all …]
Drtw_mlme.c2676 ht_capie.cap_info = cpu_to_le16(IEEE80211_HT_CAP_DSSSCCK40); in rtw_restructure_ht_ie()
2679 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SGI_20); in rtw_restructure_ht_ie()
2721 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SUP_WIDTH); in rtw_restructure_ht_ie()
2723 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SGI_40); in rtw_restructure_ht_ie()
2727 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_TX_STBC); in rtw_restructure_ht_ie()
2730 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SM_PS); in rtw_restructure_ht_ie()
2749 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_RX_STBC_1R);/* RX STBC One spatial stream */ in rtw_restructure_ht_ie()
2758 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_RX_STBC_2R);/* RX STBC two spatial stream */ in rtw_restructure_ht_ie()
/Linux-v5.4/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()
1056 tmp_ht_cap = le16_to_cpu(ht_cap->ht_cap.cap_info); in mwifiex_cmd_802_11_ad_hoc_start()
1059 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.c649 node->max_amsdu = le16_to_cpu(ht_cap->cap_info) & in mwifiex_set_sta_ht_cap()
Dtdls.c202 if (!(le16_to_cpu(sta_ptr->tdls_cap.ht_capb.cap_info))) { in mwifiex_tdls_add_ht_oper()
1111 if (le16_to_cpu(sta_ptr->tdls_cap.ht_capb.cap_info) & in mwifiex_tdls_process_enable_link()
/Linux-v5.4/drivers/staging/rtl8188eu/core/
Drtw_ap.c524 if (le16_to_cpu(phtpriv_sta->ht_cap.cap_info & in update_sta_info_apmode()
525 phtpriv_ap->ht_cap.cap_info) & in update_sta_info_apmode()
530 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()
586 pmlmeinfo->SM_PS = (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & 0x0C) >> 2; in update_hw_ht_param()
1297 else if ((le16_to_cpu(phtpriv_ap->ht_cap.cap_info) & in rtw_ht_operation_update()
1428 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.c867 ht_cap_info = le16_to_cpu(ht_cap->cap_info); in rtw_check_bcn_info()
1152 if (__le16_to_cpu(pHT_caps->cap_info) & (0x1 << bit_offset)) in support_short_GI()
Drtw_mlme.c1885 ht_cap.cap_info = cpu_to_le16(IEEE80211_HT_CAP_SUP_WIDTH | in rtw_restructure_ht_ie()
1951 (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & BIT(1)) && in rtw_update_ht_cap()
1974 pmlmeinfo->SM_PS = (le16_to_cpu(pmlmeinfo->HT_caps.cap_info) & 0x0C) >> 2; in rtw_update_ht_cap()
/Linux-v5.4/drivers/net/ethernet/microchip/
Dlan743x_ptp.c581 u32 cap_info, cause, header, nsec, seconds; in lan743x_ptpci_do_aux_work() local
588 cap_info = lan743x_csr_read(adapter, PTP_CAP_INFO); in lan743x_ptpci_do_aux_work()
590 if (PTP_CAP_INFO_TX_TS_CNT_GET_(cap_info) > 0) { in lan743x_ptpci_do_aux_work()
/Linux-v5.4/drivers/staging/rtl8712/
Dwifi.h481 __le16 cap_info; member
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Dwifi.h673 __le16 cap_info; member
/Linux-v5.4/drivers/net/wireless/ath/ath6kl/
Dcore.h573 unsigned short cap_info; member

12