Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A 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 …]
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Defuse.c183 #define invalid_efuse_header(hdr1, hdr2) \ argument
184 ((hdr1) == 0xff || (hdr2) == 0xff)
187 #define get_efuse_blk_idx(hdr1, hdr2) \ argument
188 ((((hdr2) & 0xf0) >> 4) | (((hdr1) & 0x0f) << 4))
199 u8 hdr1, hdr2; in rtw89_dump_logical_efuse_map() local
208 hdr1 = phy_map[phy_idx]; in rtw89_dump_logical_efuse_map()
210 if (invalid_efuse_header(hdr1, hdr2)) in rtw89_dump_logical_efuse_map()
213 blk_idx = get_efuse_blk_idx(hdr1, hdr2); in rtw89_dump_logical_efuse_map()
H A Dfw.c711 hdr->hdr1 = cpu_to_le32(FIELD_PREP(H2C_HDR_TOTAL_LEN, in rtw89_h2c_pkt_set_hdr()
734 hdr->hdr1 = cpu_to_le32(FIELD_PREP(H2C_HDR_TOTAL_LEN, in rtw89_h2c_pkt_set_hdr_fwdl()
H A Dfw.h3444 __le32 hdr1; member
/openbmc/linux/fs/xfs/libxfs/
H A 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 …]
/openbmc/linux/fs/ntfs3/
H A Dindex.c1797 struct INDEX_HDR *hdr1 = &n1->index->ihdr; in indx_insert_into_buffer() local
1807 e = hdr_insert_de(indx, hdr1, new_de, e, ctx); in indx_insert_into_buffer()
1826 sp = hdr_find_split(hdr1); in indx_insert_into_buffer()
1836 used1 = le32_to_cpu(hdr1->used); in indx_insert_into_buffer()
1837 hdr1_saved = kmemdup(hdr1, used1, GFP_NOFS); in indx_insert_into_buffer()
1843 if (!hdr1->flags) { in indx_insert_into_buffer()
1870 de_t = hdr_first_de(hdr1); in indx_insert_into_buffer()
1876 memmove(de_t, Add2Ptr(sp, sp_size), used - le32_to_cpu(hdr1->de_off)); in indx_insert_into_buffer()
1877 hdr1->used = cpu_to_le32(used); in indx_insert_into_buffer()
1888 hdr1, in indx_insert_into_buffer()
[all …]
/openbmc/linux/arch/arm/kernel/
H A Datags_parse.c40 struct tag_header hdr1; member
/openbmc/linux/drivers/infiniband/core/
H A Duser_mad.c462 static int same_destination(struct ib_user_mad_hdr *hdr1, 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()
/openbmc/linux/drivers/crypto/
H A Dtalitos.h37 __be32 hdr1; /* header for SEC1 */ member
H A 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()
/openbmc/linux/arch/arm64/boot/dts/ti/
H A Dk3-am69-sk.dts228 mcu_rpi_hdr1_gpio0_pins_default: mcu-rpi-hdr1-gpio0-default-pins {
/openbmc/linux/drivers/scsi/csiostor/
H A 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()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
/openbmc/libpldm/tests/dsp/
H A Dpdr.cpp2135 pldm_pdr_hdr* hdr1 = reinterpret_cast<pldm_pdr_hdr*>(outData); in TEST() local
2136 EXPECT_EQ(hdr1->record_handle, 23); in TEST()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dchip.c7927 u64 info, hdr0, hdr1; in handle_dcc_err() local
8008 hdr1 = read_csr(dd, DCC_ERR_INFO_PORTRCV_HDR1); in handle_dcc_err()
8021 dd->err_info_rcvport.packet_flit2 = hdr1; in handle_dcc_err()
8052 extra, hdr0, hdr1); in handle_dcc_err()
/openbmc/linux/kernel/bpf/
H A Dverifier.c1971 struct bpf_verifier_state *cur1, *hdr1; in update_loop_entry() local
1974 hdr1 = get_loop_entry(hdr) ?: hdr; in update_loop_entry()
1981 if (hdr1->branches && hdr1->dfs_depth <= cur1->dfs_depth) { in update_loop_entry()