| /Linux-v6.1/drivers/net/wireless/marvell/mwifiex/ |
| D | ie.c | 3 * NXP Wireless LAN device driver: management IE handling- setting and 4 * deleting IE. 11 /* This function checks if current IE index is used by any on other interface. 12 * Return: -1: yes, current IE index is used by someone else. 13 * 0: no, current IE index is NOT used by other interface. 20 struct mwifiex_ie *ie; in mwifiex_ie_index_used_by_other_intf() local 24 ie = &adapter->priv[i]->mgmt_ie[idx]; in mwifiex_ie_index_used_by_other_intf() 25 if (ie->mgmt_subtype_mask && ie->ie_length) in mwifiex_ie_index_used_by_other_intf() 33 /* Get unused IE index. This index will be used for setting new IE */ 36 struct mwifiex_ie *ie, u16 *index) in mwifiex_ie_get_autoidx() argument [all …]
|
| D | sta_ioctl.c | 173 * exist VHT_CAP IE in AP beacon in mwifiex_fill_new_bss_desc() 769 * IOCTL request handler to set/reset WPA IE. 771 * The supplied WPA IE is treated as a opaque buffer. Only the first field 773 * WPA IE is reset. 781 "failed to copy WPA IE, too big\n"); in mwifiex_set_wpa_ie() 787 "cmd: Set Wpa_ie_len=%d IE=%#x\n", in mwifiex_set_wpa_ie() 802 "info: reset wpa_ie_len=%d IE=%#x\n", in mwifiex_set_wpa_ie() 812 * IOCTL request handler to set/reset WAPI IE. 814 * The supplied WAPI IE is treated as a opaque buffer. Only the first field 816 * WAPI IE is reset. [all …]
|
| D | join.c | 20 * Append a generic IE as a pass through TLV to a TLV buffer. 24 * If the IE buffer has been setup by the application, this routine appends 40 * If there is a generic ie buffer setup, append it to the return in mwifiex_cmd_append_generic_ie() 45 "info: %s: append generic ie len %d to %p\n", in mwifiex_cmd_append_generic_ie() 48 /* Wrap the generic IE buffer with a pass through TLV type */ in mwifiex_cmd_append_generic_ie() 58 /* Copy the generic IE buffer to the output buffer, advance in mwifiex_cmd_append_generic_ie() 67 /* Reset the generic IE buffer */ in mwifiex_cmd_append_generic_ie() 219 * This function appends a WPS IE. It is called from the network join command 222 * If the IE buffer has been setup by the application, this routine appends 235 * If there is a wps ie buffer setup, append it to the return in mwifiex_cmd_append_wps_ie() [all …]
|
| /Linux-v6.1/fs/ntfs/ |
| D | index.c | 115 INDEX_ENTRY *ie; in ntfs_index_lookup() local 165 ie = (INDEX_ENTRY*)((u8*)&ir->index + in ntfs_index_lookup() 171 for (;; ie = (INDEX_ENTRY*)((u8*)ie + le16_to_cpu(ie->length))) { in ntfs_index_lookup() 173 if ((u8*)ie < (u8*)actx->mrec || (u8*)ie + in ntfs_index_lookup() 175 (u8*)ie + le16_to_cpu(ie->length) > index_end) in ntfs_index_lookup() 181 if (ie->flags & INDEX_ENTRY_END) in ntfs_index_lookup() 185 le16_to_cpu(ie->key_length) > in ntfs_index_lookup() 186 le16_to_cpu(ie->data.vi.data_offset) || in ntfs_index_lookup() 187 (u32)le16_to_cpu(ie->data.vi.data_offset) + in ntfs_index_lookup() 188 le16_to_cpu(ie->data.vi.data_length) > in ntfs_index_lookup() [all …]
|
| D | dir.c | 74 INDEX_ENTRY *ie; in ntfs_lookup_inode_by_name() local 117 ie = (INDEX_ENTRY*)((u8*)&ir->index + in ntfs_lookup_inode_by_name() 123 for (;; ie = (INDEX_ENTRY*)((u8*)ie + le16_to_cpu(ie->length))) { in ntfs_lookup_inode_by_name() 125 if ((u8*)ie < (u8*)ctx->mrec || (u8*)ie + in ntfs_lookup_inode_by_name() 127 (u8*)ie + le16_to_cpu(ie->key_length) > in ntfs_lookup_inode_by_name() 134 if (ie->flags & INDEX_ENTRY_END) in ntfs_lookup_inode_by_name() 144 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name() 145 ie->key.file_name.file_name_length, in ntfs_lookup_inode_by_name() 158 if (ie->key.file_name.file_name_type == FILE_NAME_DOS) { in ntfs_lookup_inode_by_name() 168 ie->data.dir.indexed_file); in ntfs_lookup_inode_by_name() [all …]
|
| /Linux-v6.1/drivers/net/ethernet/chelsio/cxgb/ |
| D | vsc7326_reg.h | 68 * ie = 0 for ingress, 1 for egress 71 #define REG_TEST(ie,fn) CRA(0x2,ie&1,0x00+fn) /* Mode & Test Register */ argument 72 #define REG_TOP_BOTTOM(ie,fn) CRA(0x2,ie&1,0x10+fn) /* FIFO Buffer Top & Bottom */ argument 73 #define REG_TAIL(ie,fn) CRA(0x2,ie&1,0x20+fn) /* FIFO Write Pointer */ argument 74 #define REG_HEAD(ie,fn) CRA(0x2,ie&1,0x30+fn) /* FIFO Read Pointer */ argument 75 #define REG_HIGH_LOW_WM(ie,fn) CRA(0x2,ie&1,0x40+fn) /* Flow Control Water Marks */ argument 76 #define REG_CT_THRHLD(ie,fn) CRA(0x2,ie&1,0x50+fn) /* Cut Through Threshold */ argument 77 #define REG_FIFO_DROP_CNT(ie,fn) CRA(0x2,ie&1,0x60+fn) /* Drop & CRC Error Counter */ argument 78 #define REG_DEBUG_BUF_CNT(ie,fn) CRA(0x2,ie&1,0x70+fn) /* Input Side Debug Counter */ argument 83 * ie = 0 for ingress, 1 for egress [all …]
|
| /Linux-v6.1/drivers/dma/idxd/ |
| D | submit.c | 73 static struct idxd_desc *list_abort_desc(struct idxd_wq *wq, struct idxd_irq_entry *ie, in list_abort_desc() argument 78 lockdep_assert_held(&ie->list_lock); in list_abort_desc() 79 list_for_each_entry_safe(d, n, &ie->work_list, list) { in list_abort_desc() 95 static void llist_abort_desc(struct idxd_wq *wq, struct idxd_irq_entry *ie, in llist_abort_desc() argument 107 spin_lock(&ie->list_lock); in llist_abort_desc() 108 head = llist_del_all(&ie->pending_llist); in llist_abort_desc() 119 list_add_tail(&d->list, &ie->work_list); in llist_abort_desc() 124 found = list_abort_desc(wq, ie, desc); in llist_abort_desc() 125 spin_unlock(&ie->list_lock); in llist_abort_desc() 169 struct idxd_irq_entry *ie = NULL; in idxd_submit_desc() local [all …]
|
| D | irq.c | 69 static void idxd_int_handle_revoke_drain(struct idxd_irq_entry *ie) in idxd_int_handle_revoke_drain() argument 71 struct idxd_wq *wq = ie_to_wq(ie); in idxd_int_handle_revoke_drain() 83 if (ie->pasid != INVALID_IOASID) in idxd_int_handle_revoke_drain() 84 desc.pasid = ie->pasid; in idxd_int_handle_revoke_drain() 85 desc.int_handle = ie->int_handle; in idxd_int_handle_revoke_drain() 103 static void idxd_abort_invalid_int_handle_descs(struct idxd_irq_entry *ie) in idxd_abort_invalid_int_handle_descs() argument 109 spin_lock(&ie->list_lock); in idxd_abort_invalid_int_handle_descs() 110 head = llist_del_all(&ie->pending_llist); in idxd_abort_invalid_int_handle_descs() 113 list_add_tail(&d->list, &ie->work_list); in idxd_abort_invalid_int_handle_descs() 116 list_for_each_entry_safe(d, t, &ie->work_list, list) { in idxd_abort_invalid_int_handle_descs() [all …]
|
| D | device.c | 1157 static void idxd_flush_pending_descs(struct idxd_irq_entry *ie) in idxd_flush_pending_descs() argument 1164 spin_lock(&ie->list_lock); in idxd_flush_pending_descs() 1165 head = llist_del_all(&ie->pending_llist); in idxd_flush_pending_descs() 1168 list_add_tail(&desc->list, &ie->work_list); in idxd_flush_pending_descs() 1171 list_for_each_entry_safe(desc, itr, &ie->work_list, list) in idxd_flush_pending_descs() 1173 spin_unlock(&ie->list_lock); in idxd_flush_pending_descs() 1183 struct idxd_irq_entry *ie) in idxd_device_set_perm_entry() argument 1187 if (ie->pasid == INVALID_IOASID) in idxd_device_set_perm_entry() 1191 mperm.pasid = ie->pasid; in idxd_device_set_perm_entry() 1193 iowrite32(mperm.bits, idxd->reg_base + idxd->msix_perm_offset + ie->id * 8); in idxd_device_set_perm_entry() [all …]
|
| /Linux-v6.1/drivers/staging/rtl8712/ |
| D | ieee80211.c | 39 * for adhoc-master to generate ie and provide supported-rate to fw 164 u8 *ie = dev_network->IEs; in r8712_generate_ie() local 169 ie += sz; in r8712_generate_ie() 171 *(__le16 *)ie = cpu_to_le16(beacon_period); in r8712_generate_ie() 173 ie += 2; in r8712_generate_ie() 175 *(u16 *)ie = 0; in r8712_generate_ie() 176 *(__le16 *)ie |= cpu_to_le16(WLAN_CAPABILITY_IBSS); in r8712_generate_ie() 178 *(__le16 *)ie |= cpu_to_le16(WLAN_CAPABILITY_SHORT_PREAMBLE); in r8712_generate_ie() 180 *(__le16 *)ie |= cpu_to_le16(WLAN_CAPABILITY_PRIVACY); in r8712_generate_ie() 182 ie += 2; in r8712_generate_ie() [all …]
|
| /Linux-v6.1/drivers/staging/r8188eu/core/ |
| D | rtw_ieee80211.c | 35 /* for adhoc-master to generate ie and provide supported-rate to fw */ 216 u8 *ie = pdev_network->IEs; in rtw_generate_ie() local 220 ie += sz; in rtw_generate_ie() 223 *(__le16 *)ie = cpu_to_le16((u16)pdev_network->Configuration.BeaconPeriod);/* BCN_INTERVAL; */ in rtw_generate_ie() 225 ie += 2; in rtw_generate_ie() 228 *(u16 *)ie = 0; in rtw_generate_ie() 230 *(__le16 *)ie |= cpu_to_le16(cap_IBSS); in rtw_generate_ie() 233 *(__le16 *)ie |= cpu_to_le16(cap_ShortPremble); in rtw_generate_ie() 236 *(__le16 *)ie |= cpu_to_le16(cap_Privacy); in rtw_generate_ie() 239 ie += 2; in rtw_generate_ie() [all …]
|
| /Linux-v6.1/drivers/staging/rtl8723bs/core/ |
| D | rtw_ieee80211.c | 35 /* for adhoc-master to generate ie and provide supported-rate to fw */ 163 * rtw_get_ie_ex - Search specific IE from a series of IEs 169 …* @ie: If not NULL and the specific IE is found, the IE will be copied to the buf starting from th… 170 * @ielen: If not NULL and the specific IE is found, will set to the length of the entire IE 172 * Returns: The address of the specific IE found, or NULL 174 u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, uint *ielen) in rtw_get_ie_ex() argument 192 if (ie) in rtw_get_ie_ex() 193 memcpy(ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_ie_ex() 289 u8 *ie = pdev_network->ies; in rtw_generate_ie() local 293 ie += sz; in rtw_generate_ie() [all …]
|
| /Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/ |
| D | ps.c | 711 u8 *pos, *end, *ie; in rtl_p2p_noa_ie() local 719 ie = NULL; in rtl_p2p_noa_ie() 727 ie = pos + 2+4; in rtl_p2p_noa_ie() 734 if (ie == NULL) in rtl_p2p_noa_ie() 737 /*to find noa ie*/ in rtl_p2p_noa_ie() 738 while (ie + 1 < end) { in rtl_p2p_noa_ie() 739 noa_len = le16_to_cpu(*((__le16 *)&ie[1])); in rtl_p2p_noa_ie() 740 if (ie + 3 + ie[1] > end) in rtl_p2p_noa_ie() 743 if (ie[0] == 12) { in rtl_p2p_noa_ie() 756 noa_index = ie[3]; in rtl_p2p_noa_ie() [all …]
|
| /Linux-v6.1/drivers/net/wireless/marvell/libertas/ |
| D | mesh.c | 91 struct mrvl_meshie *ie; in lbs_mesh_config() local 95 ie = (struct mrvl_meshie *)cmd.data; in lbs_mesh_config() 99 ie->id = WLAN_EID_VENDOR_SPECIFIC; in lbs_mesh_config() 100 ie->val.oui[0] = 0x00; in lbs_mesh_config() 101 ie->val.oui[1] = 0x50; in lbs_mesh_config() 102 ie->val.oui[2] = 0x43; in lbs_mesh_config() 103 ie->val.type = MARVELL_MESH_IE_TYPE; in lbs_mesh_config() 104 ie->val.subtype = MARVELL_MESH_IE_SUBTYPE; in lbs_mesh_config() 105 ie->val.version = MARVELL_MESH_IE_VERSION; in lbs_mesh_config() 106 ie->val.active_protocol_id = MARVELL_MESH_PROTO_ID_HWMP; in lbs_mesh_config() [all …]
|
| D | cfg.c | 271 add_ie_rates(u8 *tlv, const u8 *ie, int *nrates) in add_ie_rates() argument 273 int hw, ap, ap_max = ie[1]; in add_ie_rates() 280 /* Advance past IE header */ in add_ie_rates() 281 ie += 2; in add_ie_rates() 283 lbs_deb_hex(LBS_DEB_ASSOC, "AP IE Rates", (u8 *) ie, ap_max); in add_ie_rates() 288 if (hw_rate == (ie[ap] & 0x7f)) { in add_ie_rates() 289 *tlv++ = ie[ap]; in add_ie_rates() 326 lbs_deb_assoc("assoc: bss had no basic rate IE\n"); in lbs_add_common_rates_tlv() 417 static int lbs_add_wpa_tlv(u8 *tlv, const u8 *ie, u8 ie_len) in lbs_add_wpa_tlv() argument 422 * We need just convert an IE to an TLV. IEs use u8 for the header, in lbs_add_wpa_tlv() [all …]
|
| /Linux-v6.1/drivers/net/wireless/ath/ath10k/ |
| D | p2p.c | 23 /* P2P IE */ in ath10k_p2p_noa_ie_fill() 70 static void ath10k_p2p_noa_ie_assign(struct ath10k_vif *arvif, void *ie, in ath10k_p2p_noa_ie_assign() argument 79 arvif->u.ap.noa_data = ie; in ath10k_p2p_noa_ie_assign() 87 void *ie; in __ath10k_p2p_noa_update() local 98 ie = kmalloc(len, GFP_ATOMIC); in __ath10k_p2p_noa_update() 99 if (!ie) in __ath10k_p2p_noa_update() 102 ath10k_p2p_noa_ie_fill(ie, len, noa); in __ath10k_p2p_noa_update() 103 ath10k_p2p_noa_ie_assign(arvif, ie, len); in __ath10k_p2p_noa_update()
|
| /Linux-v6.1/net/wireless/ |
| D | scan.c | 265 static size_t cfg80211_gen_new_ie(const u8 *ie, size_t ielen, in cfg80211_gen_new_ie() argument 275 * mark an ie after it is processed. in cfg80211_gen_new_ie() 295 /* go through IEs in ie (skip SSID) and subelement, in cfg80211_gen_new_ie() 298 tmp_old = cfg80211_find_ie(WLAN_EID_SSID, ie, ielen); in cfg80211_gen_new_ie() 299 tmp_old = (tmp_old) ? tmp_old + tmp_old[1] + 2 : ie; in cfg80211_gen_new_ie() 301 while (tmp_old + 2 - ie <= ielen && in cfg80211_gen_new_ie() 302 tmp_old + tmp_old[1] + 2 - ie <= ielen) { in cfg80211_gen_new_ie() 318 /* ie in old ie but not in subelement */ in cfg80211_gen_new_ie() 325 /* ie in transmitting ie also in subelement, in cfg80211_gen_new_ie() 326 * copy from subelement and flag the ie in subelement in cfg80211_gen_new_ie() [all …]
|
| D | reg.h | 90 * regulatory_hint_country_ie - hints a country IE as a regulatory domain 93 * @band: the band on which the country IE was received on. This determines 94 * the band we'll process the country IE channel triplets for. 95 * @country_ie: pointer to the country IE 96 * @country_ie_len: length of the country IE 99 * for the alpha2 this country IE belongs to, this prevents APs from 102 * The AP is expected to provide Country IE channel triplets for the 104 * country IE triplets even for channels outside of the band they are 124 * prior to our first connect attempt. This includes ignoring country IE and
|
| D | wext-sme.c | 31 wdev->wext.connect.ie = wdev->wext.ie; in cfg80211_mgd_wext_connect() 331 u8 *ie = extra; in cfg80211_wext_siwgenie() local 338 ie = NULL; in cfg80211_wext_siwgenie() 345 memcmp(wdev->wext.ie, ie, ie_len) == 0) in cfg80211_wext_siwgenie() 349 ie = kmemdup(extra, ie_len, GFP_KERNEL); in cfg80211_wext_siwgenie() 350 if (!ie) { in cfg80211_wext_siwgenie() 355 ie = NULL; in cfg80211_wext_siwgenie() 357 kfree(wdev->wext.ie); in cfg80211_wext_siwgenie() 358 wdev->wext.ie = ie; in cfg80211_wext_siwgenie()
|
| /Linux-v6.1/drivers/net/wireless/intersil/orinoco/ |
| D | scan.c | 80 u8 *ie; in orinoco_add_hostscan_result() local 97 ie = ie_buf + len + 2; in orinoco_add_hostscan_result() 101 ie_len += symbol_build_supp_rates(ie, bss->s.rates); in orinoco_add_hostscan_result() 105 ie_len += prism_build_supp_rates(ie, bss->p.rates); in orinoco_add_hostscan_result() 140 const u8 *ie; in orinoco_add_extscan_result() local 149 ie = cfg80211_find_ie(WLAN_EID_DS_PARAMS, bss->data, ie_len); in orinoco_add_extscan_result() 150 chan = ie ? ie[2] : 0; in orinoco_add_extscan_result() 157 ie = bss->data; in orinoco_add_extscan_result() 162 beacon_interval, ie, ie_len, signal, in orinoco_add_extscan_result()
|
| /Linux-v6.1/Documentation/input/ |
| D | ff.rst | 194 struct input_event ie; /* structure used to communicate with the driver */ 196 ie.type = EV_FF; 197 ie.code = FF_GAIN; 198 ie.value = 0xFFFFUL * gain / 100; 200 if (write(fd, &ie, sizeof(ie)) == -1) 213 struct input_event ie; 215 ie.type = EV_FF; 216 ie.code = FF_AUTOCENTER; 217 ie.value = 0xFFFFUL * autocenter / 100; 219 if (write(fd, &ie, sizeof(ie)) == -1)
|
| D | uinput.rst | 50 struct input_event ie; 52 ie.type = type; 53 ie.code = code; 54 ie.value = val; 56 ie.time.tv_sec = 0; 57 ie.time.tv_usec = 0; 59 write(fd, &ie, sizeof(ie));
|
| /Linux-v6.1/io_uring/ |
| D | epoll.c | 52 struct io_epoll *ie = io_kiocb_to_cmd(req, struct io_epoll); in io_epoll_ctl() local 56 ret = do_epoll_ctl(ie->epfd, ie->op, ie->fd, &ie->event, force_nonblock); in io_epoll_ctl()
|
| /Linux-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | cfg80211.h | 56 /* IE TLV processing */ 69 /* vendor IE in IW advertisement protocol ID field */ 71 /* allow custom IE id */ 184 * @probe_req_ie: IE info for probe request. 185 * @probe_res_ie: IE info for probe response. 186 * @beacon_ie: IE info for beacon frame. 187 * @assoc_res_ie: IE info for association response frame. 188 * @probe_req_ie_len: IE info length for probe request. 189 * @probe_res_ie_len: IE info length for probe response. 190 * @beacon_ie_len: IE info length for beacon frame. [all …]
|
| /Linux-v6.1/net/mac80211/ |
| D | mesh.c | 54 * @ie: information elements of a management frame from the mesh peer 60 struct ieee802_11_elems *ie) in mesh_matches_local() argument 78 if (!(ifmsh->mesh_id_len == ie->mesh_id_len && in mesh_matches_local() 79 memcmp(ifmsh->mesh_id, ie->mesh_id, ie->mesh_id_len) == 0 && in mesh_matches_local() 80 (ifmsh->mesh_pp_id == ie->mesh_config->meshconf_psel) && in mesh_matches_local() 81 (ifmsh->mesh_pm_id == ie->mesh_config->meshconf_pmetric) && in mesh_matches_local() 82 (ifmsh->mesh_cc_id == ie->mesh_config->meshconf_congest) && in mesh_matches_local() 83 (ifmsh->mesh_sp_id == ie->mesh_config->meshconf_synch) && in mesh_matches_local() 84 (ifmsh->mesh_auth_id == ie->mesh_config->meshconf_auth))) in mesh_matches_local() 91 ieee80211_sta_get_rates(sdata, ie, sband->band, in mesh_matches_local() [all …]
|