Home
last modified time | relevance | path

Searched refs:hdr1 (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/contrib/dev/rtw88/
H A Defuse.c20 #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))
26 #define get_efuse_blk_idx_1_byte(hdr1) \ argument
27 (((hdr1) & 0xf0) >> 4)
47 u8 hdr1, hdr2; in rtw_dump_logical_efuse_map() local
53 hdr1 = phy_map[phy_idx]; in rtw_dump_logical_efuse_map()
55 if (invalid_efuse_header(hdr1, hdr2)) in rtw_dump_logical_efuse_map()
58 if ((hdr1 & 0x1f) == 0xf) { in rtw_dump_logical_efuse_map()
[all …]
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_psk.c87 const struct eap_psk_hdr_1 *hdr1; in eap_psk_process_1() local
97 hdr1 = (const struct eap_psk_hdr_1 *) cpos; in eap_psk_process_1()
98 if (cpos == NULL || len < sizeof(*hdr1)) { in eap_psk_process_1()
102 (unsigned long) sizeof(*hdr1)); in eap_psk_process_1()
106 wpa_printf(MSG_DEBUG, "EAP-PSK: Flags=0x%x", hdr1->flags); in eap_psk_process_1()
107 if (EAP_PSK_FLAGS_GET_T(hdr1->flags) != 0) { in eap_psk_process_1()
109 EAP_PSK_FLAGS_GET_T(hdr1->flags)); in eap_psk_process_1()
114 wpa_hexdump(MSG_DEBUG, "EAP-PSK: RAND_S", hdr1->rand_s, in eap_psk_process_1()
116 os_memcpy(data->rand_s, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1()
118 data->id_s_len = len - sizeof(*hdr1); in eap_psk_process_1()
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Defuse.c188 #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()
213 hdr1 = phy_map[phy_idx]; 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()
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
H A Dfw.c1143 hdr->hdr1 = cpu_to_le32(FIELD_PREP(H2C_HDR_TOTAL_LEN, in rtw89_fw_log_dump_data()
1166 hdr->hdr1 = cpu_to_le32(FIELD_PREP(H2C_HDR_TOTAL_LEN, in rtw89_fw_log_dump_data()
H A Dfw.h3876 __le32 hdr1;
3452 __le32 hdr1; global() member
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_user_mad.c406 static int same_destination(struct ib_user_mad_hdr *hdr1, 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/device-tree/src/arm64/ti/
H A Dk3-am69-sk.dts574 mcu_rpi_hdr1_gpio0_pins_default: mcu-rpi-hdr1-gpio0-default-pins {
/freebsd/sys/dev/cxgbe/
H A Dt4_main.c4734 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()