/freebsd/sys/contrib/dev/rtw88/ |
H A D | efuse.c | 20 #define invalid_efuse_header(hdr1, hdr2) \ argument 21 ((hdr1) == 0xff || (((hdr1) & 0x1f) == 0xf && (hdr2) == 0xff)) 24 #define get_efuse_blk_idx_2_byte(hdr1, hdr2) \ argument 25 ((((hdr2) & 0xf0) >> 1) | (((hdr1) >> 5) & 0x07)) 47 u8 hdr1, hdr2; in rtw_dump_logical_efuse_map() local 54 hdr2 = phy_map[phy_idx + 1]; in rtw_dump_logical_efuse_map() 55 if (invalid_efuse_header(hdr1, hdr2)) in rtw_dump_logical_efuse_map() 60 blk_idx = get_efuse_blk_idx_2_byte(hdr1, hdr2); in rtw_dump_logical_efuse_map() 61 word_en = hdr2 & 0xf; in rtw_dump_logical_efuse_map()
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | efuse.c | 188 #define invalid_efuse_header(hdr1, hdr2) \ 189 ((hdr1) == 0xff || (hdr2) == 0xff) 192 #define get_efuse_blk_idx(hdr1, hdr2) \ in rtw89_dump_logical_efuse_map() 193 ((((hdr2) & 0xf0) >> 4) | (((hdr1) & 0x0f) << 4)) in rtw89_dump_logical_efuse_map() 204 u8 hdr1, hdr2; in rtw89_dump_logical_efuse_map() 214 hdr2 = phy_map[phy_idx + 1]; in rtw89_dump_logical_efuse_map() 215 if (invalid_efuse_header(hdr1, hdr2)) in rtw89_dump_logical_efuse_map() 218 blk_idx = get_efuse_blk_idx(hdr1, hdr2); in rtw89_dump_logical_efuse_map() 219 word_en = hdr2 & 0xf; in rtw89_dump_logical_efuse_map() 183 invalid_efuse_header(hdr1,hdr2) global() argument 187 get_efuse_blk_idx(hdr1,hdr2) global() argument 199 u8 hdr1, hdr2; rtw89_dump_logical_efuse_map() local
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_psk.c | 88 struct eap_psk_hdr_2 *hdr2; in eap_psk_process_1() local 136 sizeof(*hdr2) + data->id_p_len, EAP_CODE_RESPONSE, in eap_psk_process_1() 140 hdr2 = wpabuf_put(resp, sizeof(*hdr2)); in eap_psk_process_1() 141 hdr2->flags = EAP_PSK_FLAGS_SET_T(1); /* T=1 */ in eap_psk_process_1() 142 os_memcpy(hdr2->rand_s, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1() 143 os_memcpy(hdr2->rand_p, data->rand_p, EAP_PSK_RAND_LEN); in eap_psk_process_1() 159 if (omac1_aes_128(data->ak, buf, buflen, hdr2->mac_p)) { in eap_psk_process_1() 165 wpa_hexdump(MSG_DEBUG, "EAP-PSK: RAND_P", hdr2->rand_p, in eap_psk_process_1() 167 wpa_hexdump(MSG_DEBUG, "EAP-PSK: MAC_P", hdr2->mac_p, EAP_PSK_MAC_LEN); in eap_psk_process_1()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_user_mad.c | 407 struct ib_user_mad_hdr *hdr2) in same_destination() argument 409 if (!hdr1->grh_present && !hdr2->grh_present) in same_destination() 410 return (hdr1->lid == hdr2->lid); in same_destination() 412 if (hdr1->grh_present && hdr2->grh_present) in same_destination() 413 return !memcmp(hdr1->gid, hdr2->gid, 16); in same_destination()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | htt_rx.c | 1593 struct ieee80211_hdr *hdr2; in ath10k_htt_rx_h_undecap_nwifi() local 1631 hdr2 = (struct ieee80211_hdr *)(msdu->data + l3_pad_bytes); in ath10k_htt_rx_h_undecap_nwifi() 1633 hdr_len = ath10k_htt_rx_nwifi_hdrlen(ar, hdr2); in ath10k_htt_rx_h_undecap_nwifi() 1634 ether_addr_copy(da, ieee80211_get_DA(hdr2)); in ath10k_htt_rx_h_undecap_nwifi() 1635 ether_addr_copy(sa, ieee80211_get_SA(hdr2)); in ath10k_htt_rx_h_undecap_nwifi() 1668 hdr2 = (struct ieee80211_hdr *)msdu->data; in ath10k_htt_rx_h_undecap_nwifi() 1669 ether_addr_copy(ieee80211_get_DA(hdr2), da); in ath10k_htt_rx_h_undecap_nwifi() 1670 ether_addr_copy(ieee80211_get_SA(hdr2), sa); in ath10k_htt_rx_h_undecap_nwifi() 1740 struct ieee80211_hdr *hdr2; in ath10k_htt_rx_h_undecap_eth() local 1810 hdr2 = (struct ieee80211_hdr *)msdu->data; in ath10k_htt_rx_h_undecap_eth() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/ti/ |
H A D | k3-am69-sk.dts | 620 mcu_rpi_hdr2_gpio0_pins_default: mcu-rpi-hdr2-gpio0-default-pins {
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_main.c | 4734 fw_compatible(const struct fw_h *hdr1, const struct fw_h *hdr2) in fw_compatible() argument 4738 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) in fw_compatible() 4745 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) in fw_compatible() 4746 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()
|