Searched refs:hdr1 (Results 1 – 10 of 10) sorted by relevance
/drivers/net/wireless/realtek/rtw88/ |
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)) 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 …]
|
/drivers/net/wireless/realtek/rtw89/ |
D | efuse.c | 183 #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()
|
D | fw.c | 711 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()
|
D | fw.h | 3444 __le32 hdr1; member
|
/drivers/infiniband/core/ |
D | user_mad.c | 462 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()
|
/drivers/crypto/ |
D | talitos.h | 37 __be32 hdr1; /* header for SEC1 */ member
|
D | talitos.c | 294 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()
|
/drivers/scsi/csiostor/ |
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()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
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()
|
/drivers/infiniband/hw/hfi1/ |
D | chip.c | 7927 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()
|