/linux/drivers/net/wireless/marvell/mwifiex/ |
H A 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 …]
|
H A 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/drivers/net/ethernet/chelsio/cxgb/ |
H A 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/drivers/dma/idxd/ |
H A D | submit.c | 75 static struct idxd_desc *list_abort_desc(struct idxd_wq *wq, struct idxd_irq_entry *ie, in list_abort_desc() argument 80 lockdep_assert_held(&ie->list_lock); in list_abort_desc() 81 list_for_each_entry_safe(d, n, &ie->work_list, list) { in list_abort_desc() 97 static void llist_abort_desc(struct idxd_wq *wq, struct idxd_irq_entry *ie, in llist_abort_desc() argument 109 spin_lock(&ie->list_lock); in llist_abort_desc() 110 head = llist_del_all(&ie->pending_llist); in llist_abort_desc() 121 list_add_tail(&d->list, &ie->work_list); in llist_abort_desc() 126 found = list_abort_desc(wq, ie, desc); in llist_abort_desc() 127 spin_unlock(&ie->list_lock); in llist_abort_desc() 173 struct idxd_irq_entry *ie = NULL; in idxd_submit_desc() local [all …]
|
H A D | device.c | 1249 static void idxd_flush_pending_descs(struct idxd_irq_entry *ie) in idxd_flush_pending_descs() argument 1256 spin_lock(&ie->list_lock); in idxd_flush_pending_descs() 1257 head = llist_del_all(&ie->pending_llist); in idxd_flush_pending_descs() 1260 list_add_tail(&desc->list, &ie->work_list); in idxd_flush_pending_descs() 1263 list_for_each_entry_safe(desc, itr, &ie->work_list, list) in idxd_flush_pending_descs() 1265 spin_unlock(&ie->list_lock); in idxd_flush_pending_descs() 1286 struct idxd_irq_entry *ie) in idxd_device_set_perm_entry() argument 1290 if (ie->pasid == IOMMU_PASID_INVALID) in idxd_device_set_perm_entry() 1294 mperm.pasid = ie->pasid; in idxd_device_set_perm_entry() 1296 iowrite32(mperm.bits, idxd->reg_base + idxd->msix_perm_offset + ie->id * 8); in idxd_device_set_perm_entry() [all …]
|
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_ieee80211.c | 34 /* for adhoc-master to generate ie and provide supported-rate to fw */ 164 * rtw_get_ie_ex - Search specific IE from a series of IEs 170 …* @ie: If not NULL and the specific IE is found, the IE will be copied to the buf starting from th… 171 * @ielen: If not NULL and the specific IE is found, will set to the length of the entire IE 173 * Returns: The address of the specific IE found, or NULL 175 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 193 if (ie) in rtw_get_ie_ex() 194 memcpy(ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_ie_ex() 290 u8 *ie = pdev_network->ies; in rtw_generate_ie() local 294 ie += sz; in rtw_generate_ie() [all …]
|
H A D | rtw_ap.c | 60 /* update TIM IE */ in update_BCNTIM() 81 /* append TIM IE from dst_ie offset */ in update_BCNTIM() 106 /* DS Parameter Set IE, len =3 */ in update_BCNTIM() 113 /* append TIM IE from offset */ in update_BCNTIM() 155 /* copy remainder IE */ in update_BCNTIM() 663 /* check if there is wps ie, */ in start_bss_network() 665 /* and at first time the security ie (RSN/WPA IE) will not include in beacon. */ in start_bss_network() 829 u8 *ie = pbss_network->ies; in rtw_check_beacon_data() local 839 memset(ie, 0, MAX_IE_SZ); in rtw_check_beacon_data() 841 memcpy(ie, pbuf, pbss_network->ie_length); in rtw_check_beacon_data() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | ps.c | 696 u8 *pos, *end, *ie; in rtl_p2p_noa_ie() local 704 ie = NULL; in rtl_p2p_noa_ie() 712 ie = pos + 2+4; in rtl_p2p_noa_ie() 719 if (ie == NULL) in rtl_p2p_noa_ie() 722 /*to find noa ie*/ in rtl_p2p_noa_ie() 723 while (ie + 1 < end) { in rtl_p2p_noa_ie() 724 noa_len = le16_to_cpu(*((__le16 *)&ie[1])); in rtl_p2p_noa_ie() 725 if (ie + 3 + ie[1] > end) in rtl_p2p_noa_ie() 728 if (ie[0] == 12) { in rtl_p2p_noa_ie() 741 noa_index = ie[3]; in rtl_p2p_noa_ie() [all …]
|
/linux/drivers/net/wireless/marvell/libertas/ |
H A 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 …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A 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/drivers/net/wireless/ath/ath11k/ |
H A D | p2p.c | 26 /* P2P IE */ in ath11k_p2p_noa_ie_fill() 80 static void ath11k_p2p_noa_ie_assign(struct ath11k_vif *arvif, void *ie, in ath11k_p2p_noa_ie_assign() argument 89 arvif->u.ap.noa_data = ie; in ath11k_p2p_noa_ie_assign() 97 void *ie; in __ath11k_p2p_noa_update() local 108 ie = kmalloc(len, GFP_ATOMIC); in __ath11k_p2p_noa_update() 109 if (!ie) in __ath11k_p2p_noa_update() 112 ath11k_p2p_noa_ie_fill(ie, len, noa); in __ath11k_p2p_noa_update() 113 ath11k_p2p_noa_ie_assign(arvif, ie, len); } in __ath11k_p2p_noa_update()
|
H A D | fw.c | 70 ath11k_err(ab, "Invalid length for FW IE %d (%zu < %zu)\n", in ath11k_fw_request_firmware_api_n() 88 "found firmware features ie (%zd B)\n", in ath11k_fw_request_firmware_api_n() 108 "found fw image ie (%zd B)\n", in ath11k_fw_request_firmware_api_n() 116 "found m3 image ie (%zd B)\n", in ath11k_fw_request_firmware_api_n() 123 ath11k_warn(ab, "Unknown FW IE: %u\n", ie_id); in ath11k_fw_request_firmware_api_n()
|
/linux/Documentation/input/ |
H A 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)
|
H A 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/net/wireless/ |
H A D | scan.c | 231 const u8 *ie, size_t ie_len, in cfg80211_copy_elem_with_frags() argument 234 if (WARN_ON((u8 *)elem < ie || elem->data > ie + ie_len || in cfg80211_copy_elem_with_frags() 235 elem->data + elem->datalen > ie + ie_len)) in cfg80211_copy_elem_with_frags() 248 ie_len = ie + ie_len - elem->data - elem->datalen; in cfg80211_copy_elem_with_frags() 249 ie = (const u8 *)elem->data + elem->datalen; in cfg80211_copy_elem_with_frags() 251 for_each_element(elem, ie, ie_len) { in cfg80211_copy_elem_with_frags() 269 cfg80211_gen_new_ie(const u8 *ie, size_t ielen, in cfg80211_gen_new_ie() argument 294 for_each_element(parent, ie, ielen) { in cfg80211_gen_new_ie() 318 ie, ielen, in cfg80211_gen_new_ie() 333 ie, ielen, in cfg80211_gen_new_ie() [all …]
|
H A 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
|
/linux/io_uring/ |
H A D | epoll.c | 53 struct io_epoll *ie = io_kiocb_to_cmd(req, struct io_epoll); in io_epoll_ctl() 57 ret = do_epoll_ctl(ie->epfd, ie->op, ie->fd, &ie->event, force_nonblock); in io_epoll_ctl() 48 struct io_epoll *ie = io_kiocb_to_cmd(req, struct io_epoll); io_epoll_ctl() local
|
/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | event.c | 144 u8 *ie = NULL; in qtnf_event_handle_bss_join() local 200 ie = kzalloc(2 + vif->wdev.u.client.ssid_len, GFP_KERNEL); in qtnf_event_handle_bss_join() 201 if (!ie) { in qtnf_event_handle_bss_join() 202 pr_warn("VIF%u.%u: IE alloc failed for BSS:%pM\n", in qtnf_event_handle_bss_join() 209 ie[0] = WLAN_EID_SSID; in qtnf_event_handle_bss_join() 210 ie[1] = vif->wdev.u.client.ssid_len; in qtnf_event_handle_bss_join() 211 memcpy(ie + 2, vif->wdev.u.client.ssid, in qtnf_event_handle_bss_join() 218 ie, 2 + vif->wdev.u.client.ssid_len, in qtnf_event_handle_bss_join() 258 pr_warn("unexpected IE type: %u\n", in qtnf_event_handle_bss_join() 279 kfree(ie); in qtnf_event_handle_bss_join() [all …]
|
/linux/net/mac80211/ |
H A D | mesh.c | 56 * @ie: information elements of a management frame from the mesh peer 64 struct ieee802_11_elems *ie) in mesh_matches_local() argument 82 if (!(ifmsh->mesh_id_len == ie->mesh_id_len && in mesh_matches_local() 83 memcmp(ifmsh->mesh_id, ie->mesh_id, ie->mesh_id_len) == 0 && in mesh_matches_local() 84 (ifmsh->mesh_pp_id == ie->mesh_config->meshconf_psel) && in mesh_matches_local() 85 (ifmsh->mesh_pm_id == ie->mesh_config->meshconf_pmetric) && in mesh_matches_local() 86 (ifmsh->mesh_cc_id == ie->mesh_config->meshconf_congest) && in mesh_matches_local() 87 (ifmsh->mesh_sp_id == ie->mesh_config->meshconf_synch) && in mesh_matches_local() 88 (ifmsh->mesh_auth_id == ie->mesh_config->meshconf_auth))) in mesh_matches_local() 95 ieee80211_sta_get_rates(sdata, ie, sband->band, in mesh_matches_local() [all …]
|
/linux/lib/ |
H A D | dec_and_lock.c | 23 /* Subtract 1 from counter unless that drops it to 0 (ie. it was 1) */ in _atomic_dec_and_lock() 40 /* Subtract 1 from counter unless that drops it to 0 (ie. it was 1) */ in _atomic_dec_and_lock_irqsave() 55 /* Subtract 1 from counter unless that drops it to 0 (ie. it was 1) */ in _atomic_dec_and_raw_lock() 71 /* Subtract 1 from counter unless that drops it to 0 (ie. it was 1) */ in _atomic_dec_and_raw_lock_irqsave()
|
/linux/tools/testing/selftests/livepatch/test_modules/ |
H A D | test_klp_callbacks_demo2.c | 30 /* Executed on object patching (ie, patch enablement) */ 37 /* Executed on object unpatching (ie, patch disablement) */ 43 /* Executed on object unpatching (ie, patch disablement) */ 49 /* Executed on object unpatching (ie, patch disablement) */
|
H A D | test_klp_callbacks_demo.c | 30 /* Executed on object patching (ie, patch enablement) */ 37 /* Executed on object unpatching (ie, patch disablement) */ 43 /* Executed on object unpatching (ie, patch disablement) */ 49 /* Executed on object unpatching (ie, patch disablement) */
|
/linux/arch/csky/include/asm/ |
H A D | irqflags.h | 12 asm volatile("psrclr ie\n":::"memory"); in arch_local_irq_save() 19 asm volatile("psrset ee, ie\n":::"memory"); in arch_local_irq_enable() 25 asm volatile("psrclr ie\n":::"memory"); in arch_local_irq_disable()
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | rtw_mlme.h | 222 u8 *wps_assoc_resp_ie; /* for CONFIG_IOCTL_CFG80211, this IE could include p2p ie / wfd ie */ 227 … wps_assoc_resp_ie_len; /* for CONFIG_IOCTL_CFG80211, this IE len could include p2p ie / wfd ie */ 373 u8 *rtw_get_capability_from_ie(u8 *ie); 374 u8 *rtw_get_beacon_interval_from_ie(u8 *ie);
|
/linux/drivers/char/ipmi/ |
H A D | kcs_bmc_npcm7xx.c | 58 * ie : KCS Channel n Interrupt Enable Register (KCSnIE). 65 u32 ie; member 77 { .sts = KCS1ST, .dob = KCS1DO, .dib = KCS1DI, .ctl = KCS1CTL, .ie = KCS1IE }, 78 { .sts = KCS2ST, .dob = KCS2DO, .dib = KCS2DI, .ctl = KCS2CTL, .ie = KCS2IE }, 79 { .sts = KCS3ST, .dob = KCS3DO, .dib = KCS3DI, .ctl = KCS3CTL, .ie = KCS3IE }, 121 regmap_update_bits(priv->map, priv->reg->ie, KCS_IE_IRQE | KCS_IE_HIRQE, in npcm7xx_kcs_enable_channel()
|