Home
last modified time | relevance | path

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

12

/linux-6.6.21/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 …]
/linux-6.6.21/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()
664 int efi_capsule_setup_info(struct capsule_info *cap_info, void *kbuff, in efi_capsule_setup_info() argument
674 cap_info->total_size = 0; in efi_capsule_setup_info()
686 ret = quirk_handler(cap_info, &kbuff, hdr_bytes); in efi_capsule_setup_info()
691 memcpy(&cap_info->header, kbuff, sizeof(cap_info->header)); in efi_capsule_setup_info()
693 cap_info->total_size += cap_info->header.imagesize; in efi_capsule_setup_info()
695 return __efi_capsule_setup_info(cap_info); in efi_capsule_setup_info()
/linux-6.6.21/net/mac80211/
Dvht.c124 u32 cap_info, i; in ieee80211_vht_cap_ie_to_sta_vht_cap() local
171 cap_info = le32_to_cpu(vht_cap_ie->vht_cap_info); in ieee80211_vht_cap_ie_to_sta_vht_cap()
172 vht_cap->cap = cap_info; in ieee80211_vht_cap_ie_to_sta_vht_cap()
182 vht_cap->cap |= min_t(u32, cap_info & IEEE80211_VHT_CAP_MAX_MPDU_MASK, in ieee80211_vht_cap_ie_to_sta_vht_cap()
188 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap()
192 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap()
201 vht_cap->cap |= cap_info & own_cap.cap & in ieee80211_vht_cap_ie_to_sta_vht_cap()
207 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap()
212 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap()
217 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()
177 ht_cap.cap = le16_to_cpu(ht_cap_ie->cap_info) & in ieee80211_ht_cap_ie_to_sta_ht_cap()
/linux-6.6.21/drivers/staging/rtl8723bs/core/
Drtw_ap.c492 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode()
505 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode()
511 phtpriv_sta->ht_cap.cap_info & phtpriv_ap->ht_cap.cap_info in update_sta_info_apmode()
584 if ((phtpriv_ap->ht_cap.cap_info) & cpu_to_le16(IEEE80211_HT_CAP_SGI_20)) in update_ap_info()
588 if ((phtpriv_ap->ht_cap.cap_info) & cpu_to_le16(IEEE80211_HT_CAP_SGI_40)) in update_ap_info()
1049 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_SGI_20)); in rtw_check_beacon_data()
1052 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_SGI_40)); in rtw_check_beacon_data()
1055 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_LDPC_CODING)); in rtw_check_beacon_data()
1058 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_TX_STBC)); in rtw_check_beacon_data()
1061 pht_cap->cap_info &= cpu_to_le16(~(IEEE80211_HT_CAP_RX_STBC_3R)); in rtw_check_beacon_data()
[all …]
Drtw_mlme.c2300 ht_capie.cap_info = cpu_to_le16(IEEE80211_HT_CAP_DSSSCCK40); in rtw_restructure_ht_ie()
2303 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SGI_20); in rtw_restructure_ht_ie()
2346 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SUP_WIDTH); in rtw_restructure_ht_ie()
2348 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SGI_40); in rtw_restructure_ht_ie()
2352 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_TX_STBC); in rtw_restructure_ht_ie()
2355 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_SM_PS); in rtw_restructure_ht_ie()
2368 ht_capie.cap_info |= cpu_to_le16(IEEE80211_HT_CAP_RX_STBC_1R);/* RX STBC One spatial stream */ in rtw_restructure_ht_ie()
Drtw_ieee80211.c1067 pnetwork->bcn_info.ht_cap_info = le16_to_cpu(pht_cap->cap_info); in rtw_get_bcn_info()
/linux-6.6.21/drivers/i2c/busses/
Di2c-scmi.c25 u8 cap_info:1; member
329 smbus_cmi->cap_info = 1; in acpi_smbus_cmi_add_cap()
371 smbus_cmi->cap_info = 0; in smbus_cmi_probe()
378 if (smbus_cmi->cap_info == 0) { in smbus_cmi_probe()
/linux-6.6.21/drivers/net/wireless/legacy/
Dwl3501.h316 u16 cap_info; member
330 u16 cap_info; member
385 u16 cap_info; member
600 u8 cap_info; member
Dwl3501_cs.c651 .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-6.6.21/drivers/net/wireless/marvell/mwifiex/
Djoin.c547 static const char *assoc_failure_reason_to_str(u16 cap_info) in assoc_failure_reason_to_str() argument
549 switch (cap_info) { in assoc_failure_reason_to_str()
634 u16 cap_info, status_code, aid; in mwifiex_ret_802_11_associate() local
646 cap_info = le16_to_cpu(assoc_rsp->cap_info_bitmap); in mwifiex_ret_802_11_associate()
668 status_code, cap_info, in mwifiex_ret_802_11_associate()
672 assoc_failure_reason_to_str(cap_info)); in mwifiex_ret_802_11_associate()
673 if (cap_info == CONNECT_ERR_ASSOC_ERR_TIMEOUT) { in mwifiex_ret_802_11_associate()
1046 tmp_ht_cap = le16_to_cpu(ht_cap->ht_cap.cap_info); in mwifiex_cmd_802_11_ad_hoc_start()
1049 ht_cap->ht_cap.cap_info = cpu_to_le16(tmp_ht_cap); in mwifiex_cmd_802_11_ad_hoc_start()
D11n.c57 ht_cap->cap_info = cpu_to_le16(sband->ht_cap.cap); in mwifiex_fill_cap_info()
344 ht_cap->ht_cap.cap_info &= in mwifiex_cmd_append_11n_tlv()
347 ht_cap->ht_cap.cap_info &= in mwifiex_cmd_append_11n_tlv()
353 ht_cap->ht_cap.cap_info &= in mwifiex_cmd_append_11n_tlv()
356 ht_cap->ht_cap.cap_info &= in mwifiex_cmd_append_11n_tlv()
Duap_cmd.c164 bss_cfg->ht_cap.cap_info = cpu_to_le16(MWIFIEX_DEF_HT_CAP); in mwifiex_set_ht_params()
221 vht_cfg.cap_info = adapter->hw_dot_11ac_dev_cap; in mwifiex_set_vht_width()
631 if (bss_cfg->ht_cap.cap_info) { in mwifiex_uap_bss_param_prepare()
636 htcap->ht_cap.cap_info = bss_cfg->ht_cap.cap_info; in mwifiex_uap_bss_param_prepare()
D11ac.c265 vhtcfg->cap_info = cpu_to_le32(cfg->cap_info); in mwifiex_cmd_11ac_cfg()
Dioctl.h301 u32 cap_info; member
Dutil.c637 node->max_amsdu = le16_to_cpu(ht_cap->cap_info) & in mwifiex_set_sta_ht_cap()
Dtdls.c203 if (!(le16_to_cpu(sta_ptr->tdls_cap.ht_capb.cap_info))) { in mwifiex_tdls_add_ht_oper()
1154 if (le16_to_cpu(sta_ptr->tdls_cap.ht_capb.cap_info) & in mwifiex_tdls_process_enable_link()
Dfw.h1917 __le16 cap_info; member
1931 __le32 cap_info; member
Dsta_event.c65 sta_ptr->max_amsdu = le16_to_cpu(ht_cap->cap_info) & in mwifiex_check_ibss_peer_capabilities()
/linux-6.6.21/drivers/net/wireless/microchip/wilc1000/
Dfw.h97 __le16 cap_info; member
/linux-6.6.21/drivers/media/platform/nxp/imx8-isi/
Dimx8-isi-m2m.c491 const struct mxc_isi_format_info *cap_info = ctx->queues.cap.info; in mxc_isi_m2m_streamon() local
507 cap_info->encoding == out_info->encoding; in mxc_isi_m2m_streamon()
/linux-6.6.21/include/linux/
Defi.h218 int efi_capsule_setup_info(struct capsule_info *cap_info, void *kbuff,
220 int __efi_capsule_setup_info(struct capsule_info *cap_info);
/linux-6.6.21/drivers/net/ethernet/microchip/
Dlan743x_ptp.c1069 u32 cap_info, cause, header, nsec, seconds; in lan743x_ptpci_do_aux_work() local
1083 cap_info = lan743x_csr_read(adapter, PTP_CAP_INFO); in lan743x_ptpci_do_aux_work()
1085 if (PTP_CAP_INFO_TX_TS_CNT_GET_(cap_info) > 0) { in lan743x_ptpci_do_aux_work()
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/
Dcore.h573 unsigned short cap_info; member
Dwmi.c3187 cmd->ht20_sgi = !!(htcap->cap_info & IEEE80211_HT_CAP_SGI_20); in ath6kl_wmi_set_htcap_cmd()
3189 !!(htcap->cap_info & IEEE80211_HT_CAP_SUP_WIDTH_20_40); in ath6kl_wmi_set_htcap_cmd()
3190 cmd->ht40_sgi = !!(htcap->cap_info & IEEE80211_HT_CAP_SGI_40); in ath6kl_wmi_set_htcap_cmd()
3192 !!(htcap->cap_info & IEEE80211_HT_CAP_40MHZ_INTOLERANT); in ath6kl_wmi_set_htcap_cmd()

12