Searched refs:hdr2 (Results 1 – 6 of 6) sorted by relevance
| /drivers/net/wireless/realtek/rtw88/ |
| 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)) 47 u8 hdr1, hdr2; in rtw_dump_logical_efuse_map() local 54 hdr2 = phy_map[phy_idx + 1]; in rtw_dump_logical_efuse_map() 55 if (invalid_efuse_header(hdr1, hdr2)) in rtw_dump_logical_efuse_map() 60 blk_idx = get_efuse_blk_idx_2_byte(hdr1, hdr2); in rtw_dump_logical_efuse_map() 61 word_en = hdr2 & 0xf; in rtw_dump_logical_efuse_map()
|
| /drivers/net/wireless/realtek/rtw89/ |
| A D | efuse_be.c | 205 #define get_efuse_blk_idx_be(hdr1, hdr2, hdr3) \ argument 206 (((hdr1) << 16) | ((hdr2) << 8) | (hdr3)) 211 ((hdr1) == 0xff || (hdr2) == 0xff) 212 #define get_efuse_blk_idx_dav_be(hdr1, hdr2) \ argument 213 (((hdr1) << 8) | (hdr2)) 224 u8 hdr1, hdr2, hdr3; in rtw89_eeprom_parser_be() local 243 hdr2 = phy_map[phy_idx + 1]; in rtw89_eeprom_parser_be() 244 if (invalid_efuse_header_dav_be(hdr1, hdr2)) in rtw89_eeprom_parser_be() 249 hdr = get_efuse_blk_idx_dav_be(hdr1, hdr2); in rtw89_eeprom_parser_be() 256 hdr2 = phy_map[phy_idx + 1]; in rtw89_eeprom_parser_be() [all …]
|
| A D | efuse.c | 215 #define invalid_efuse_header(hdr1, hdr2) \ argument 216 ((hdr1) == 0xff || (hdr2) == 0xff) 219 #define get_efuse_blk_idx(hdr1, hdr2) \ argument 220 ((((hdr2) & 0xf0) >> 4) | (((hdr1) & 0x0f) << 4)) 231 u8 hdr1, hdr2; in rtw89_dump_logical_efuse_map() local 241 hdr2 = phy_map[phy_idx + 1]; in rtw89_dump_logical_efuse_map() 242 if (invalid_efuse_header(hdr1, hdr2)) in rtw89_dump_logical_efuse_map() 245 blk_idx = get_efuse_blk_idx(hdr1, hdr2); in rtw89_dump_logical_efuse_map() 246 word_en = hdr2 & 0xf; in rtw89_dump_logical_efuse_map()
|
| /drivers/infiniband/core/ |
| A D | user_mad.c | 463 struct ib_user_mad_hdr *hdr2) 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/scsi/csiostor/ |
| 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()
|
| /drivers/net/ethernet/chelsio/cxgb4/ |
| A 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()
|
Completed in 32 milliseconds