Home
last modified time | relevance | path

Searched refs:hdr2 (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/drivers/net/wireless/realtek/rtw88/
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))
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()
/Linux-v6.1/drivers/net/wireless/realtek/rtw89/
Defuse.c179 #define invalid_efuse_header(hdr1, hdr2) \ argument
180 ((hdr1) == 0xff || (hdr2) == 0xff)
183 #define get_efuse_blk_idx(hdr1, hdr2) \ argument
184 ((((hdr2) & 0xf0) >> 4) | (((hdr1) & 0x0f) << 4))
195 u8 hdr1, hdr2; in rtw89_dump_logical_efuse_map() local
205 hdr2 = phy_map[phy_idx + 1]; in rtw89_dump_logical_efuse_map()
206 if (invalid_efuse_header(hdr1, hdr2)) in rtw89_dump_logical_efuse_map()
209 blk_idx = get_efuse_blk_idx(hdr1, hdr2); in rtw89_dump_logical_efuse_map()
210 word_en = hdr2 & 0xf; in rtw89_dump_logical_efuse_map()
/Linux-v6.1/net/mctp/test/
Droute-test.c161 struct mctp_hdr *hdr2; in mctp_test_fragment() local
174 hdr2 = mctp_hdr(skb2); in mctp_test_fragment()
178 KUNIT_EXPECT_EQ(test, hdr2->ver, hdr.ver); in mctp_test_fragment()
179 KUNIT_EXPECT_EQ(test, hdr2->src, hdr.src); in mctp_test_fragment()
180 KUNIT_EXPECT_EQ(test, hdr2->dest, hdr.dest); in mctp_test_fragment()
181 KUNIT_EXPECT_EQ(test, hdr2->flags_seq_tag & tag_mask, in mctp_test_fragment()
185 !!(hdr2->flags_seq_tag & MCTP_HDR_FLAG_SOM), first); in mctp_test_fragment()
187 !!(hdr2->flags_seq_tag & MCTP_HDR_FLAG_EOM), last); in mctp_test_fragment()
189 seq2 = (hdr2->flags_seq_tag >> MCTP_HDR_SEQ_SHIFT) & in mctp_test_fragment()
/Linux-v6.1/fs/xfs/libxfs/
Dxfs_dir2_node.c1038 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 …]
/Linux-v6.1/net/mctp/
Droute.c763 struct mctp_hdr *hdr, *hdr2; in mctp_do_fragment_route() local
810 hdr2 = mctp_hdr(skb2); in mctp_do_fragment_route()
811 hdr2->ver = hdr->ver; in mctp_do_fragment_route()
812 hdr2->dest = hdr->dest; in mctp_do_fragment_route()
813 hdr2->src = hdr->src; in mctp_do_fragment_route()
814 hdr2->flags_seq_tag = tag & in mctp_do_fragment_route()
818 hdr2->flags_seq_tag |= MCTP_HDR_FLAG_SOM; in mctp_do_fragment_route()
821 hdr2->flags_seq_tag |= MCTP_HDR_FLAG_EOM; in mctp_do_fragment_route()
823 hdr2->flags_seq_tag |= seq << MCTP_HDR_SEQ_SHIFT; in mctp_do_fragment_route()
/Linux-v6.1/net/ceph/
Dmessenger_v2.c593 const struct ceph_msg_header2 *hdr2, in fill_header() argument
597 hdr->seq = hdr2->seq; in fill_header()
598 hdr->tid = hdr2->tid; in fill_header()
599 hdr->type = hdr2->type; in fill_header()
600 hdr->priority = hdr2->priority; in fill_header()
601 hdr->version = hdr2->version; in fill_header()
605 hdr->data_off = hdr2->data_off; in fill_header()
607 hdr->compat_version = hdr2->compat_version; in fill_header()
612 static void fill_header2(struct ceph_msg_header2 *hdr2, in fill_header2() argument
615 hdr2->seq = hdr->seq; in fill_header2()
[all …]
/Linux-v6.1/arch/arm/kernel/
Datags_parse.c42 struct tag_header hdr2; member
/Linux-v6.1/drivers/infiniband/core/
Duser_mad.c449 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()
/Linux-v6.1/fs/ntfs3/
Dindex.c1685 struct INDEX_HDR *hdr2; in indx_insert_into_buffer() local
1743 hdr2 = &n2->index->ihdr; in indx_insert_into_buffer()
1751 hdr_insert_head(hdr2, de_t, to_copy); in indx_insert_into_buffer()
1766 ? hdr2 in indx_insert_into_buffer()
/Linux-v6.1/drivers/scsi/csiostor/
Dcsio_hw.c2225 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-v6.1/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c3415 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument
3419 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()