Searched refs:hdr2 (Results 1 – 4 of 4) 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))47 u8 hdr1, hdr2; in rtw_dump_logical_efuse_map() local54 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()
454 struct ib_user_mad_hdr *hdr2) in same_destination() argument456 if (!hdr1->grh_present && !hdr2->grh_present) in same_destination()457 return (hdr1->lid == hdr2->lid); in same_destination()459 if (hdr1->grh_present && hdr2->grh_present) in same_destination()460 return !memcmp(hdr1->gid, hdr2->gid, 16); in same_destination()
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()