| /linux/drivers/net/wireless/realtek/rtw88/ |
| A 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()
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| A D | efuse_be.c | 217 #define get_efuse_blk_idx_be(hdr1, hdr2, hdr3) \ argument 218 (((hdr1) << 16) | ((hdr2) << 8) | (hdr3)) 223 ((hdr1) == 0xff || (hdr2) == 0xff) 224 #define get_efuse_blk_idx_dav_be(hdr1, hdr2) \ argument 225 (((hdr1) << 8) | (hdr2)) 236 u8 hdr1, hdr2, hdr3; in rtw89_eeprom_parser_be() local 255 hdr2 = phy_map[phy_idx + 1]; in rtw89_eeprom_parser_be() 256 if (invalid_efuse_header_dav_be(hdr1, hdr2)) in rtw89_eeprom_parser_be() 261 hdr = get_efuse_blk_idx_dav_be(hdr1, hdr2); in rtw89_eeprom_parser_be() 268 hdr2 = phy_map[phy_idx + 1]; in rtw89_eeprom_parser_be() [all …]
|
| A D | efuse.c | 188 #define invalid_efuse_header(hdr1, hdr2) \ argument 189 ((hdr1) == 0xff || (hdr2) == 0xff) 192 #define get_efuse_blk_idx(hdr1, hdr2) \ argument 193 ((((hdr2) & 0xf0) >> 4) | (((hdr1) & 0x0f) << 4)) 204 u8 hdr1, hdr2; in rtw89_dump_logical_efuse_map() local 214 hdr2 = phy_map[phy_idx + 1]; in rtw89_dump_logical_efuse_map() 215 if (invalid_efuse_header(hdr1, hdr2)) in rtw89_dump_logical_efuse_map() 218 blk_idx = get_efuse_blk_idx(hdr1, hdr2); in rtw89_dump_logical_efuse_map() 219 word_en = hdr2 & 0xf; in rtw89_dump_logical_efuse_map()
|
| /linux/fs/xfs/libxfs/ |
| A D | xfs_dir2_node.c | 1048 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_order() local 1053 ents2 = hdr2.ents; in xfs_dir2_leafn_order() 1090 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_rebalance() local 1106 ents2 = hdr2.ents; in xfs_dir2_leafn_rebalance() 1108 oldsum = hdr1.count + hdr2.count; in xfs_dir2_leafn_rebalance() 1142 &hdr2, ents2, 0, count); in xfs_dir2_leafn_rebalance() 1163 if (hdr1.count < hdr2.count) in xfs_dir2_leafn_rebalance() 1165 else if (hdr1.count > hdr2.count) in xfs_dir2_leafn_rebalance() 1561 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_toosmall() local 1583 ents = hdr2.ents; in xfs_dir2_leafn_toosmall() [all …]
|
| /linux/net/mctp/test/ |
| A D | route-test.c | 173 struct mctp_hdr *hdr2; in mctp_test_fragment() local 186 hdr2 = mctp_hdr(skb2); in mctp_test_fragment() 190 KUNIT_EXPECT_EQ(test, hdr2->ver, hdr.ver); in mctp_test_fragment() 191 KUNIT_EXPECT_EQ(test, hdr2->src, hdr.src); in mctp_test_fragment() 192 KUNIT_EXPECT_EQ(test, hdr2->dest, hdr.dest); in mctp_test_fragment() 193 KUNIT_EXPECT_EQ(test, hdr2->flags_seq_tag & tag_mask, in mctp_test_fragment() 197 !!(hdr2->flags_seq_tag & MCTP_HDR_FLAG_SOM), first); in mctp_test_fragment() 199 !!(hdr2->flags_seq_tag & MCTP_HDR_FLAG_EOM), last); in mctp_test_fragment() 201 seq2 = (hdr2->flags_seq_tag >> MCTP_HDR_SEQ_SHIFT) & in mctp_test_fragment()
|
| /linux/net/mctp/ |
| A D | route.c | 843 struct mctp_hdr *hdr, *hdr2; in mctp_do_fragment_route() local 890 hdr2 = mctp_hdr(skb2); in mctp_do_fragment_route() 891 hdr2->ver = hdr->ver; in mctp_do_fragment_route() 892 hdr2->dest = hdr->dest; in mctp_do_fragment_route() 893 hdr2->src = hdr->src; in mctp_do_fragment_route() 894 hdr2->flags_seq_tag = tag & in mctp_do_fragment_route() 898 hdr2->flags_seq_tag |= MCTP_HDR_FLAG_SOM; in mctp_do_fragment_route() 901 hdr2->flags_seq_tag |= MCTP_HDR_FLAG_EOM; in mctp_do_fragment_route() 903 hdr2->flags_seq_tag |= seq << MCTP_HDR_SEQ_SHIFT; in mctp_do_fragment_route()
|
| /linux/net/ceph/ |
| A D | messenger_v2.c | 608 hdr->seq = hdr2->seq; in fill_header() 609 hdr->tid = hdr2->tid; in fill_header() 610 hdr->type = hdr2->type; in fill_header() 611 hdr->priority = hdr2->priority; in fill_header() 612 hdr->version = hdr2->version; in fill_header() 626 hdr2->seq = hdr->seq; in fill_header2() 627 hdr2->tid = hdr->tid; in fill_header2() 628 hdr2->type = hdr->type; in fill_header2() 630 hdr2->version = hdr->version; in fill_header2() 634 hdr2->flags = 0; in fill_header2() [all …]
|
| /linux/arch/arm/kernel/ |
| A D | atags_parse.c | 42 struct tag_header hdr2; member
|
| /linux/drivers/infiniband/core/ |
| A D | user_mad.c | 463 struct ib_user_mad_hdr *hdr2) in same_destination() argument 465 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()
|
| /linux/fs/ntfs3/ |
| A D | index.c | 1798 struct INDEX_HDR *hdr2; in indx_insert_into_buffer() local 1864 hdr2 = &n2->index->ihdr; in indx_insert_into_buffer() 1872 hdr_insert_head(hdr2, de_t, to_copy); in indx_insert_into_buffer() 1887 hdr2 : in indx_insert_into_buffer()
|
| /linux/drivers/scsi/csiostor/ |
| A 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/drivers/net/ethernet/chelsio/cxgb4/ |
| A D | t4_hw.c | 3415 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()
|
| /linux/arch/arm64/boot/dts/ti/ |
| A D | k3-am69-sk.dts | 620 mcu_rpi_hdr2_gpio0_pins_default: mcu-rpi-hdr2-gpio0-default-pins {
|