Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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))
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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/halmac/halmac_88xx/
H A Dhalmac_efuse_88xx.c1207 u8 hdr2 = 0; in eeprom_parser_88xx() local
1222 hdr2 = value8; in eeprom_parser_88xx()
1223 if (hdr2 == 0xff) in eeprom_parser_88xx()
1225 blk_idx = ((hdr2 & 0xF0) >> 1) | ((hdr >> 5) & 0x07); in eeprom_parser_88xx()
1226 word_en = hdr2 & 0x0F; in eeprom_parser_88xx()
1253 hdr2); in eeprom_parser_88xx()
1295 u8 hdr2 = 0; in eeprom_mask_parser_88xx() local
1310 hdr2 = value8; in eeprom_mask_parser_88xx()
1311 if (hdr2 == 0xff) in eeprom_mask_parser_88xx()
1313 blk_idx = ((hdr2 & 0xF0) >> 1) | ((hdr >> 5) & 0x07); in eeprom_mask_parser_88xx()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/halmac/halmac_88xx/
H A Dhalmac_efuse_88xx.c1206 u8 hdr2 = 0; in eeprom_parser_88xx() local
1221 hdr2 = value8; in eeprom_parser_88xx()
1222 if (hdr2 == 0xff) in eeprom_parser_88xx()
1224 blk_idx = ((hdr2 & 0xF0) >> 1) | ((hdr >> 5) & 0x07); in eeprom_parser_88xx()
1225 word_en = hdr2 & 0x0F; in eeprom_parser_88xx()
1252 hdr2); in eeprom_parser_88xx()
1294 u8 hdr2 = 0; in eeprom_mask_parser_88xx() local
1309 hdr2 = value8; in eeprom_mask_parser_88xx()
1310 if (hdr2 == 0xff) in eeprom_mask_parser_88xx()
1312 blk_idx = ((hdr2 & 0xF0) >> 1) | ((hdr >> 5) & 0x07); in eeprom_mask_parser_88xx()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/halmac/halmac_88xx/
H A Dhalmac_efuse_88xx.c1206 u8 hdr2 = 0; in eeprom_parser_88xx() local
1221 hdr2 = value8; in eeprom_parser_88xx()
1222 if (hdr2 == 0xff) in eeprom_parser_88xx()
1224 blk_idx = ((hdr2 & 0xF0) >> 1) | ((hdr >> 5) & 0x07); in eeprom_parser_88xx()
1225 word_en = hdr2 & 0x0F; in eeprom_parser_88xx()
1252 hdr2); in eeprom_parser_88xx()
1294 u8 hdr2 = 0; in eeprom_mask_parser_88xx() local
1309 hdr2 = value8; in eeprom_mask_parser_88xx()
1310 if (hdr2 == 0xff) in eeprom_mask_parser_88xx()
1312 blk_idx = ((hdr2 & 0xF0) >> 1) | ((hdr >> 5) & 0x07); in eeprom_mask_parser_88xx()
[all …]
/OK3568_Linux_fs/kernel/fs/xfs/libxfs/
H A Dxfs_dir2_node.c1038 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_order() local
1041 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &hdr2, leaf2); in xfs_dir2_leafn_order()
1043 ents2 = hdr2.ents; in xfs_dir2_leafn_order()
1045 if (hdr1.count > 0 && hdr2.count > 0 && in xfs_dir2_leafn_order()
1047 be32_to_cpu(ents2[hdr2.count - 1].hashval) < in xfs_dir2_leafn_order()
1080 struct xfs_dir3_icleaf_hdr hdr2; in xfs_dir2_leafn_rebalance() local
1094 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &hdr2, leaf2); in xfs_dir2_leafn_rebalance()
1096 ents2 = hdr2.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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/halmac/halmac_88xx/
H A Dhalmac_efuse_88xx.c1079 u8 hdr2 = 0; in eeprom_parser_88xx() local
1094 hdr2 = value8; in eeprom_parser_88xx()
1095 if (hdr2 == 0xff) in eeprom_parser_88xx()
1097 blk_idx = ((hdr2 & 0xF0) >> 1) | ((hdr >> 5) & 0x07); in eeprom_parser_88xx()
1098 word_en = hdr2 & 0x0F; in eeprom_parser_88xx()
1125 hdr2); in eeprom_parser_88xx()
1167 u8 hdr2 = 0; in eeprom_mask_parser_88xx() local
1182 hdr2 = value8; in eeprom_mask_parser_88xx()
1183 if (hdr2 == 0xff) in eeprom_mask_parser_88xx()
1185 blk_idx = ((hdr2 & 0xF0) >> 1) | ((hdr >> 5) & 0x07); in eeprom_mask_parser_88xx()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/mac_ax/
H A Defuse.c2747 u8 hdr2 = 0; in eeprom_parser() local
2780 hdr2 = value8; in eeprom_parser()
2781 if (hdr2 == 0xff) in eeprom_parser()
2784 blk_idx = (((hdr2 & 0xF0) >> 4) << 3) + in eeprom_parser()
2786 word_en = hdr2 & 0x0F; in eeprom_parser()
2792 hdr2 = value8; in eeprom_parser()
2793 if (hdr2 == 0xff) in eeprom_parser()
2796 blk_idx = ((hdr2 & 0xF0) >> 4) | ((hdr & 0x0F) << 4); in eeprom_parser()
2797 word_en = hdr2 & 0x0F; in eeprom_parser()
2817 hdr2); in eeprom_parser()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/mac_ax/
H A Defuse.c2747 u8 hdr2 = 0; in eeprom_parser() local
2780 hdr2 = value8; in eeprom_parser()
2781 if (hdr2 == 0xff) in eeprom_parser()
2784 blk_idx = (((hdr2 & 0xF0) >> 4) << 3) + in eeprom_parser()
2786 word_en = hdr2 & 0x0F; in eeprom_parser()
2792 hdr2 = value8; in eeprom_parser()
2793 if (hdr2 == 0xff) in eeprom_parser()
2796 blk_idx = ((hdr2 & 0xF0) >> 4) | ((hdr & 0x0F) << 4); in eeprom_parser()
2797 word_en = hdr2 & 0x0F; in eeprom_parser()
2817 hdr2); in eeprom_parser()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Duser_mad.c449 struct ib_user_mad_hdr *hdr2) 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()
/OK3568_Linux_fs/kernel/arch/arm/kernel/
H A Datags_parse.c42 struct tag_header hdr2; member
/OK3568_Linux_fs/yocto/meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/
H A D0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch204 if ((hdr2.FormattedSize != hdr.FormattedSize) ||
205 (hdr2.NumEraseUnits != hdr.NumEraseUnits) ||
206 (hdr2.SerialNumber != hdr.SerialNumber))
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c3445 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible() argument
3449 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) in fw_compatible()
3452 #define SAME_INTF(x) (hdr1->intfver_##x == hdr2->intfver_##x) in fw_compatible()
3453 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()