| /linux/drivers/net/wireless/realtek/rtw88/ |
| H 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)) 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/drivers/net/wireless/realtek/rtw89/ |
| H A D | efuse_be.c | 210 #define invalid_efuse_header_be(hdr1, hdr2, hdr3) \ argument 211 ((hdr1) == 0xff || (hdr2) == 0xff || (hdr3) == 0xff) 214 #define get_efuse_blk_idx_be(hdr1, hdr2, hdr3) \ argument 215 (((hdr1) << 16) | ((hdr2) << 8) | (hdr3)) 219 #define invalid_efuse_header_dav_be(hdr1, hdr2) \ argument 220 ((hdr1) == 0xff || (hdr2) == 0xff) 221 #define get_efuse_blk_idx_dav_be(hdr1, hdr2) \ argument 222 (((hdr1) << 8) | (hdr2)) 233 u8 hdr1, hdr2, hdr3; in rtw89_eeprom_parser_be() local 251 hdr1 = phy_map[phy_idx]; in rtw89_eeprom_parser_be() [all …]
|
| H A D | fw.h | 4636 __le32 hdr1; member
|
| H A D | fw.c | 1649 hdr->hdr1 = cpu_to_le32(FIELD_PREP(H2C_HDR_TOTAL_LEN, in rtw89_h2c_pkt_set_hdr() 1672 hdr->hdr1 = cpu_to_le32(FIELD_PREP(H2C_HDR_TOTAL_LEN, in rtw89_h2c_pkt_set_hdr_fwdl()
|
| /linux/drivers/platform/x86/intel/pmc/ |
| H A D | pwrm_telemetry.c | 63 u64 hdr0, hdr1; in pmc_parse_telem_dsd() local 79 hdr1 = vsec_pkg->package.elements[4].integer.value; in pmc_parse_telem_dsd() 84 header->tbir = FIELD_GET(TBIR_MASK, hdr1); in pmc_parse_telem_dsd() 85 header->offset = hdr1 & DISC_TBL_OFF_MASK; in pmc_parse_telem_dsd()
|
| /linux/fs/ntfs3/ |
| H A D | index.c | 1869 struct INDEX_HDR *hdr1 = &n1->index->ihdr; in indx_insert_into_buffer() local 1879 e = hdr_insert_de(indx, hdr1, new_de, e, ctx, cmp); in indx_insert_into_buffer() 1897 sp = hdr_find_split(hdr1); in indx_insert_into_buffer() 1908 used1 = le32_to_cpu(hdr1->used); in indx_insert_into_buffer() 1918 if (PtrOffset(hdr1, sp) + sp_size > used1) { in indx_insert_into_buffer() 1923 hdr1_saved = kmemdup(hdr1, used1, GFP_NOFS); in indx_insert_into_buffer() 1929 if (!hdr1->flags) { in indx_insert_into_buffer() 1956 de_t = hdr_first_de(hdr1); in indx_insert_into_buffer() 1962 memmove(de_t, Add2Ptr(sp, sp_size), used - le32_to_cpu(hdr1->de_off)); in indx_insert_into_buffer() 1963 hdr1->used = cpu_to_le32(used); in indx_insert_into_buffer() [all …]
|
| /linux/arch/arm/kernel/ |
| H A D | atags_parse.c | 40 struct tag_header hdr1; member
|
| /linux/drivers/infiniband/core/ |
| H A 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()
|
| /linux/drivers/scsi/csiostor/ |
| H 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/crypto/ |
| H A D | talitos.c | 266 edesc->desc.hdr1 = edesc->desc.hdr; in dma_map_request() 268 dma_desc = dma_map_single(dev, &edesc->desc.hdr1, in dma_map_request() 377 return edesc->desc.hdr1; in get_request_hdr() 532 return edesc->next_desc->desc.hdr1;
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | t4_hw.c | 3416 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument 3420 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) in fw_compatible() 3423 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) in fw_compatible() 3424 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()
|