Home
last modified time | relevance | path

Searched full:oui (Results 1 – 25 of 200) sorted by relevance

12345678

/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Dvnic_vic.c11 struct vic_provinfo *vic_provinfo_alloc(gfp_t flags, const u8 *oui, in vic_provinfo_alloc() argument
16 if (!oui) in vic_provinfo_alloc()
23 memcpy(vp->oui, oui, sizeof(vp->oui)); in vic_provinfo_alloc()
H A Dvnic_vic.h39 u8 oui[3]; /* OUI of data provider */ member
61 struct vic_provinfo *vic_provinfo_alloc(gfp_t flags, const u8 *oui,
/openbmc/linux/arch/mips/bcm63xx/
H A Dnvram.c58 u8 *oui; in bcm63xx_nvram_get_mac_address() local
67 oui = mac + ETH_ALEN/2 - 1; in bcm63xx_nvram_get_mac_address()
78 } while (p != oui); in bcm63xx_nvram_get_mac_address()
80 if (p == oui) { in bcm63xx_nvram_get_mac_address()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.h211 * @oui: OUI of this packet.
212 * @usr_subtype: subtype for this OUI.
218 u8 oui[3]; member
348 /* check for BRCM oui match */ in brcmf_fweh_process_skb()
349 if (memcmp(BRCM_OUI, &event_packet->hdr.oui[0], in brcmf_fweh_process_skb()
350 sizeof(event_packet->hdr.oui))) in brcmf_fweh_process_skb()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_qsfp.h91 #define QSFP_OUI(oui) (((unsigned)oui[0] << 16) | ((unsigned)oui[1] << 8) | \ argument
92 oui[2])
102 /* Bytes 165..167 are Vendor OUI number */
160 u8 oui[QSFP_VOUI_LEN]; member
/openbmc/linux/include/uapi/rdma/
H A Dib_user_mad.h180 * @oui: Indicates IEEE OUI when mgmt_class is a vendor class
191 __u8 oui[3]; member
212 * @oui - Indicates IEEE OUI to use when mgmt_class is a vendor
229 __u32 oui; member
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_ieee80211.c167 * @oui: OUI to match
168 * @oui_len: OUI length
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
189 && (!oui || !memcmp(&in_ie[cnt+2], oui, oui_len))) { in rtw_get_ie_ex()
212 * @oui: OUI to match
213 * @oui_len: OUI length
217 int rtw_ies_remove_ie(u8 *ies, uint *ies_len, uint offset, u8 eid, u8 *oui, u8 oui_len) in rtw_ies_remove_ie() argument
232 target_ie = rtw_get_ie_ex(start, search_len, eid, oui, oui_len, NULL, &target_ielen); in rtw_ies_remove_ie()
367 /* check if oui matches... */ in rtw_get_wpa_ie()
706 /* 6 = 1(Element ID) + 1(Length) + 4(WPS OUI) */ in rtw_get_wps_attr()
[all …]
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dqsfp.h76 #define QSFP_OUI(oui) (((unsigned)oui[0] << 16) | ((unsigned)oui[1] << 8) | \ argument
77 oui[2])
87 /* Bytes 165..167 are Vendor OUI number */
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_tx.c118 u8 *oui; in libipw_copy_snap() local
126 oui = P802_1H_OUI; in libipw_copy_snap()
128 oui = RFC1042_OUI; in libipw_copy_snap()
129 snap->oui[0] = oui[0]; in libipw_copy_snap()
130 snap->oui[1] = oui[1]; in libipw_copy_snap()
131 snap->oui[2] = oui[2]; in libipw_copy_snap()
/openbmc/linux/net/wireless/
H A Dradiotap.c167 uint32_t oui, uint8_t subns) in find_ns() argument
177 if (iterator->_vns->ns[i].oui != oui) in find_ns()
218 uint32_t oui; in ieee80211_radiotap_iterator_next() local
285 oui = (*iterator->_arg << 16) | in ieee80211_radiotap_iterator_next()
290 find_ns(iterator, oui, subns); in ieee80211_radiotap_iterator_next()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dmdio_10g.c18 unsigned oui = 0; in ef4_mdio_id_oui() local
21 /* The bits of the OUI are designated a..x, with a=0 and b variable. in ef4_mdio_id_oui()
22 * In the id register c is the MSB but the OUI is conventionally in ef4_mdio_id_oui()
26 oui |= 1 << (i ^ 7); in ef4_mdio_id_oui()
28 return oui; in ef4_mdio_id_oui()
/openbmc/linux/include/net/nfc/
H A Dnfc.h314 u32 oui, u32 subcmd,
321 * @oui: vendor oui
344 u32 oui, u32 subcmd, int approxlen) in nfc_vendor_cmd_alloc_reply_skb() argument
348 oui, in nfc_vendor_cmd_alloc_reply_skb()
/openbmc/linux/net/802/
H A Dfddi.c64 fddi->hdr.llc_snap.oui[0] = 0x00; in fddi_header()
65 fddi->hdr.llc_snap.oui[1] = 0x00; in fddi_header()
66 fddi->hdr.llc_snap.oui[2] = 0x00; in fddi_header()
H A Dhippi.c73 hip->snap.oui[0] = 0x00; in hippi_header()
74 hip->snap.oui[1] = 0x00; in hippi_header()
75 hip->snap.oui[2] = 0x00; in hippi_header()
/openbmc/linux/drivers/infiniband/core/
H A Dmad.c176 static int is_vendor_oui(char *oui) in is_vendor_oui() argument
178 if (oui[0] || oui[1] || oui[2]) in is_vendor_oui()
191 if (!memcmp(vendor_class->oui[i], mad_reg_req->oui, 3)) { in is_vendor_method_in_use()
296 * ensure supplied OUI is not zero in ib_register_mad_agent()
298 if (!is_vendor_oui(mad_reg_req->oui)) { in ib_register_mad_agent()
300 "%s: No OUI specified for class 0x%x\n", in ib_register_mad_agent()
1241 const char *oui) in find_vendor_oui() argument
1246 /* Is there matching OUI for this vendor class ? */ in find_vendor_oui()
1247 if (!memcmp(vendor_class->oui[i], oui, 3)) in find_vendor_oui()
1346 /* "New" vendor (with OUI) class */ in add_oui_reg_req()
[all …]
H A Duser_mad.c738 memcpy(req.oui, ureq.oui, sizeof req.oui); in ib_umad_reg_agent()
851 if (ureq.oui & 0xff000000) { in ib_umad_reg_agent2()
853 "%s failed: oui invalid 0x%08x\n", __func__, in ib_umad_reg_agent2()
854 ureq.oui); in ib_umad_reg_agent2()
858 req.oui[2] = ureq.oui & 0x0000ff; in ib_umad_reg_agent2()
859 req.oui[1] = (ureq.oui & 0x00ff00) >> 8; in ib_umad_reg_agent2()
860 req.oui[0] = (ureq.oui & 0xff0000) >> 16; in ib_umad_reg_agent2()
/openbmc/u-boot/cmd/
H A Dmii.c69 { 15, 0, 0xffff, "OUI portion" },
73 { 15, 10, 0x3f, "OUI portion" },
329 unsigned int oui; in do_mii() local
343 if (miiphy_info (devname, j, &oui, &model, &rev) == 0) { in do_mii()
345 "OUI = 0x%04X, " in do_mii()
349 j, oui, model, rev, in do_mii()
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_encap.h89 /* INTEL OUI */
471 * @oui: Unique org identifier
478 u8 oui[3]; member
513 * @oui: Unique org identifier
520 u8 oui[3]; member
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_tx.c144 u8 *oui; in ieee80211_put_snap() local
152 oui = P802_1H_OUI; in ieee80211_put_snap()
154 oui = RFC1042_OUI; in ieee80211_put_snap()
155 snap->oui[0] = oui[0]; in ieee80211_put_snap()
156 snap->oui[1] = oui[1]; in ieee80211_put_snap()
157 snap->oui[2] = oui[2]; in ieee80211_put_snap()
/openbmc/linux/drivers/staging/rtl8192e/
H A Drtllib_tx.c137 u8 *oui; in rtllib_put_snap() local
145 oui = P802_1H_OUI; in rtllib_put_snap()
147 oui = RFC1042_OUI; in rtllib_put_snap()
148 snap->oui[0] = oui[0]; in rtllib_put_snap()
149 snap->oui[1] = oui[1]; in rtllib_put_snap()
150 snap->oui[2] = oui[2]; in rtllib_put_snap()
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dps.c306 p2p_head->oui[0] = (WLAN_OUI_WFA >> 16) & 0xff; in rtw89_p2p_noa_renew()
307 p2p_head->oui[1] = (WLAN_OUI_WFA >> 8) & 0xff; in rtw89_p2p_noa_renew()
308 p2p_head->oui[2] = (WLAN_OUI_WFA >> 0) & 0xff; in rtw89_p2p_noa_renew()
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dscan.c101 * This function parses a given IE for a given OUI.
104 * a given oui in PTK.
107 mwifiex_search_oui_in_ie(struct ie_body *iebody, u8 *oui) in mwifiex_search_oui_in_ie() argument
118 if (!memcmp(iebody->ptk_body, oui, sizeof(iebody->ptk_body))) in mwifiex_search_oui_in_ie()
127 pr_debug("info: %s: OUI is not found in PTK\n", __func__); in mwifiex_search_oui_in_ie()
132 * This function checks if a given OUI is present in a RSN IE.
135 * BSS descriptor. It tries to locate the OUI only if such an IE is
141 u8 *oui; in mwifiex_is_rsn_oui_present() local
149 oui = &mwifiex_rsn_oui[cipher][0]; in mwifiex_is_rsn_oui_present()
150 ret = mwifiex_search_oui_in_ie(iebody, oui); in mwifiex_is_rsn_oui_present()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dif_fddi.h46 #define FDDI_K_OUI_LEN 3 /* Octets in OUI in 802.2 SNAP
105 __u8 oui[FDDI_K_OUI_LEN]; /* organizational universal id */ member
/openbmc/linux/include/scsi/fc/
H A Dfc_fip.h17 #define FIP_DEF_FC_MAP 0x0efc00 /* default FCoE MAP (MAC OUI) value */
25 #define FIP_VN_FC_MAP 0x0efd00 /* MAC OUI for VN2VN use */
141 FIP_DT_MAP_OUI = 3, /* FC-MAP OUI */
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_xmit.c575 const u8 *oui; in r8712_put_snap() local
582 oui = P802_1H_OUI; in r8712_put_snap()
584 oui = RFC1042_OUI; in r8712_put_snap()
585 snap->oui[0] = oui[0]; in r8712_put_snap()
586 snap->oui[1] = oui[1]; in r8712_put_snap()
587 snap->oui[2] = oui[2]; in r8712_put_snap()

12345678