Searched refs:hdr2 (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
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()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_dir2_node.c | 1038 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_order() local 1041 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &hdr2, leaf2); in xfs_dir2_leafn_order() 1043 ents2 = hdr2.ents; in xfs_dir2_leafn_order() 1045 if (hdr1.count > 0 && hdr2.count > 0 && in xfs_dir2_leafn_order() 1047 be32_to_cpu(ents2[hdr2.count - 1].hashval) < in xfs_dir2_leafn_order() 1080 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_rebalance() local 1094 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &hdr2, leaf2); in xfs_dir2_leafn_rebalance() 1096 ents2 = hdr2.ents; in xfs_dir2_leafn_rebalance() 1098 oldsum = hdr1.count + hdr2.count; in xfs_dir2_leafn_rebalance() 1100 oldstale = hdr1.stale + hdr2.stale; in xfs_dir2_leafn_rebalance() [all …]
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | atags_parse.c | 42 struct tag_header hdr2; member
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | user_mad.c | 449 struct ib_user_mad_hdr *hdr2) in same_destination() argument 451 if (!hdr1->grh_present && !hdr2->grh_present) in same_destination() 452 return (hdr1->lid == hdr2->lid); in same_destination() 454 if (hdr1->grh_present && hdr2->grh_present) in same_destination() 455 return !memcmp(hdr1->gid, hdr2->gid, 16); in same_destination()
|
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
D | csio_hw.c | 2225 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument 2229 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 3445 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument 3449 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) in fw_compatible() 3452 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) in fw_compatible() 3453 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()
|