Searched refs:hdr1 (Results 1 – 6 of 6) sorted by relevance
20 #define invalid_efuse_header(hdr1, hdr2) \ argument21 ((hdr1) == 0xff || (((hdr1) & 0x1f) == 0xf && (hdr2) == 0xff))24 #define get_efuse_blk_idx_2_byte(hdr1, hdr2) \ argument25 ((((hdr2) & 0xf0) >> 1) | (((hdr1) >> 5) & 0x07))26 #define get_efuse_blk_idx_1_byte(hdr1) \ argument27 (((hdr1) & 0xf0) >> 4)47 u8 hdr1, hdr2; in rtw_dump_logical_efuse_map() local53 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 …]
462 static int same_destination(struct ib_user_mad_hdr *hdr1, in same_destination() argument465 if (!hdr1->grh_present && !hdr2->grh_present) in same_destination()466 return (hdr1->lid == hdr2->lid); in same_destination()468 if (hdr1->grh_present && hdr2->grh_present) in same_destination()469 return !memcmp(hdr1->gid, hdr2->gid, 16); in same_destination()
40 struct tag_header hdr1; member
37 __be32 hdr1; /* header for SEC1 */ member
2225 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument2229 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) in fw_compatible()2232 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) in fw_compatible()2233 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()
3415 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument3419 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) in fw_compatible()3422 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) in fw_compatible()3423 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()