Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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
204 hdr1 = phy_map[phy_idx]; 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()
Dfw.c329 hdr->hdr1 = cpu_to_le32(FIELD_PREP(H2C_HDR_TOTAL_LEN, in rtw89_h2c_pkt_set_hdr()
352 hdr->hdr1 = cpu_to_le32(FIELD_PREP(H2C_HDR_TOTAL_LEN, in rtw89_h2c_pkt_set_hdr_fwdl()
Dfw.h2641 __le32 hdr1; member
/linux-6.1.9/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-6.1.9/fs/ntfs3/
Dindex.c1690 struct INDEX_HDR *hdr1 = &n1->index->ihdr; in indx_insert_into_buffer() local
1699 e = hdr_insert_de(indx, hdr1, new_de, e, ctx); in indx_insert_into_buffer()
1718 sp = hdr_find_split(hdr1); in indx_insert_into_buffer()
1728 if (!hdr1->flags) { in indx_insert_into_buffer()
1755 de_t = hdr_first_de(hdr1); in indx_insert_into_buffer()
1760 used = le32_to_cpu(hdr1->used) - to_copy - sp_size; in indx_insert_into_buffer()
1761 memmove(de_t, Add2Ptr(sp, sp_size), used - le32_to_cpu(hdr1->de_off)); in indx_insert_into_buffer()
1762 hdr1->used = cpu_to_le32(used); in indx_insert_into_buffer()
1773 : hdr1, in indx_insert_into_buffer()
/linux-6.1.9/arch/arm/kernel/
Datags_parse.c40 struct tag_header hdr1; member
/linux-6.1.9/drivers/infiniband/core/
Duser_mad.c448 static int same_destination(struct ib_user_mad_hdr *hdr1, 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-6.1.9/drivers/crypto/
Dtalitos.h37 __be32 hdr1; /* header for SEC1 */ member
Dtalitos.c294 desc->hdr1 = desc->hdr; in talitos_submit()
295 request->dma_desc = dma_map_single(dev, &desc->hdr1, in talitos_submit()
332 return request->desc->hdr1; in get_request_hdr()
336 return ((struct talitos_desc *)(edesc->buf + edesc->dma_len))->hdr1; in get_request_hdr()
1870 desc2->hdr1 = desc2->hdr; in common_nonsnoop_hash()
1895 next_desc = dma_map_single(dev, &desc2->hdr1, TALITOS_DESC_SIZE, in common_nonsnoop_hash()
/linux-6.1.9/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-6.1.9/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()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dchip.c7925 u64 info, hdr0, hdr1; in handle_dcc_err() local
8006 hdr1 = read_csr(dd, DCC_ERR_INFO_PORTRCV_HDR1); in handle_dcc_err()
8019 dd->err_info_rcvport.packet_flit2 = hdr1; in handle_dcc_err()
8050 extra, hdr0, hdr1); in handle_dcc_err()