Searched refs:hdr2 (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/ |
D | efuse.c | 18 #define invalid_efuse_header(hdr1, hdr2) \ argument 19 ((hdr1) == 0xff || (((hdr1) & 0x1f) == 0xf && (hdr2) == 0xff)) 22 #define get_efuse_blk_idx_2_byte(hdr1, hdr2) \ argument 23 ((((hdr2) & 0xf0) >> 1) | (((hdr1) >> 5) & 0x07)) 45 u8 hdr1, hdr2; in rtw_dump_logical_efuse_map() local 52 hdr2 = phy_map[phy_idx + 1]; in rtw_dump_logical_efuse_map() 53 if (invalid_efuse_header(hdr1, hdr2)) in rtw_dump_logical_efuse_map() 58 blk_idx = get_efuse_blk_idx_2_byte(hdr1, hdr2); in rtw_dump_logical_efuse_map() 59 word_en = hdr2 & 0xf; in rtw_dump_logical_efuse_map()
|
/Linux-v5.4/fs/xfs/libxfs/ |
D | xfs_dir2_node.c | 972 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_order() local 975 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf2); in xfs_dir2_leafn_order() 979 if (hdr1.count > 0 && hdr2.count > 0 && in xfs_dir2_leafn_order() 981 be32_to_cpu(ents2[hdr2.count - 1].hashval) < in xfs_dir2_leafn_order() 1014 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_rebalance() local 1028 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf2); in xfs_dir2_leafn_rebalance() 1032 oldsum = hdr1.count + hdr2.count; in xfs_dir2_leafn_rebalance() 1034 oldstale = hdr1.stale + hdr2.stale; in xfs_dir2_leafn_rebalance() 1066 &hdr2, ents2, 0, count); in xfs_dir2_leafn_rebalance() 1068 xfs_dir3_leafn_moveents(args, blk2->bp, &hdr2, ents2, 0, in xfs_dir2_leafn_rebalance() [all …]
|
/Linux-v5.4/drivers/infiniband/core/ |
D | user_mad.c | 439 struct ib_user_mad_hdr *hdr2) in same_destination() argument 441 if (!hdr1->grh_present && !hdr2->grh_present) in same_destination() 442 return (hdr1->lid == hdr2->lid); in same_destination() 444 if (hdr1->grh_present && hdr2->grh_present) in same_destination() 445 return !memcmp(hdr1->gid, hdr2->gid, 16); in same_destination()
|
/Linux-v5.4/arch/arm/kernel/ |
D | atags_parse.c | 42 struct tag_header hdr2; member
|
/Linux-v5.4/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()
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 3442 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument 3446 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) in fw_compatible() 3449 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) in fw_compatible() 3450 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()
|