Home
last modified time | relevance | path

Searched refs:hdr1 (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/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))
26 #define get_efuse_blk_idx_1_byte(hdr1) \ argument
27 (((hdr1) & 0xf0) >> 4)
47 u8 hdr1, hdr2; in rtw_dump_logical_efuse_map() local
53 hdr1 = phy_map[phy_idx]; in rtw_dump_logical_efuse_map()
55 if (invalid_efuse_header(hdr1, hdr2)) in rtw_dump_logical_efuse_map()
58 if ((hdr1 & 0x1f) == 0xf) { in rtw_dump_logical_efuse_map()
[all …]
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_dir2_node.c1037 struct xfs_dir3_icleaf_hdr hdr1; in xfs_dir2_leafn_order() local
1040 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &hdr1, leaf1); in xfs_dir2_leafn_order()
1042 ents1 = hdr1.ents; in xfs_dir2_leafn_order()
1045 if (hdr1.count > 0 && hdr2.count > 0 && in xfs_dir2_leafn_order()
1048 be32_to_cpu(ents1[hdr1.count - 1].hashval))) in xfs_dir2_leafn_order()
1079 struct xfs_dir3_icleaf_hdr hdr1; in xfs_dir2_leafn_rebalance() local
1093 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &hdr1, leaf1); in xfs_dir2_leafn_rebalance()
1095 ents1 = hdr1.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-v5.10/drivers/infiniband/core/
Duser_mad.c438 static int same_destination(struct ib_user_mad_hdr *hdr1, 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.10/arch/arm/kernel/
Datags_parse.c40 struct tag_header hdr1; member
/Linux-v5.10/drivers/crypto/
Dtalitos.h37 __be32 hdr1; /* header for SEC1 */ member
Dtalitos.c293 desc->hdr1 = desc->hdr; in talitos_submit()
294 request->dma_desc = dma_map_single(dev, &desc->hdr1, in talitos_submit()
331 return request->desc->hdr1; in get_request_hdr()
335 return ((struct talitos_desc *)(edesc->buf + edesc->dma_len))->hdr1; in get_request_hdr()
1865 desc2->hdr1 = desc2->hdr; in common_nonsnoop_hash()
1890 next_desc = dma_map_single(dev, &desc2->hdr1, TALITOS_DESC_SIZE, in common_nonsnoop_hash()
/Linux-v5.10/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-v5.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c3436 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument
3440 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) in fw_compatible()
3443 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) in fw_compatible()
3444 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dchip.c7966 u64 info, hdr0, hdr1; in handle_dcc_err() local
8047 hdr1 = read_csr(dd, DCC_ERR_INFO_PORTRCV_HDR1); in handle_dcc_err()
8060 dd->err_info_rcvport.packet_flit2 = hdr1; in handle_dcc_err()
8091 extra, hdr0, hdr1); in handle_dcc_err()