Home
last modified time | relevance | path

Searched refs:pg_header (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_efuse.c517 u8 pg_header = 0, tmp_header = 0, pg_header_temp = 0; in hal_EfusePgPacketWrite2ByteHeader() local
521 pg_header = ((pTargetPkt->offset & 0x07) << 5) | 0x0F; in hal_EfusePgPacketWrite2ByteHeader()
522 efuse_OneByteWrite(pAdapter, efuse_addr, pg_header); in hal_EfusePgPacketWrite2ByteHeader()
529 efuse_OneByteWrite(pAdapter, efuse_addr, pg_header); in hal_EfusePgPacketWrite2ByteHeader()
534 if (tmp_header == pg_header) { in hal_EfusePgPacketWrite2ByteHeader()
536 pg_header_temp = pg_header; in hal_EfusePgPacketWrite2ByteHeader()
537 pg_header = ((pTargetPkt->offset & 0x78) << 1) | pTargetPkt->word_en; in hal_EfusePgPacketWrite2ByteHeader()
539 efuse_OneByteWrite(pAdapter, efuse_addr, pg_header); in hal_EfusePgPacketWrite2ByteHeader()
546 efuse_OneByteWrite(pAdapter, efuse_addr, pg_header); in hal_EfusePgPacketWrite2ByteHeader()
556 } else if (pg_header != tmp_header) { /* offset PG fail */ in hal_EfusePgPacketWrite2ByteHeader()
[all …]
/Linux-v5.10/drivers/staging/rtl8712/
Drtl8712_efuse.c358 u8 pg_header = 0; in r8712_efuse_pg_packet_write() local
369 pg_header = MAKE_EFUSE_HEADER(offset, word_en); in r8712_efuse_pg_packet_write()
379 efuse_one_byte_write(adapter, efuse_addr, pg_header); /*hdr*/ in r8712_efuse_pg_packet_write()
390 (pg_header == efuse_data)) { in r8712_efuse_pg_packet_write()
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c1688 u8 pg_header = 0, tmp_header = 0; in hal_EfusePgPacketWrite1ByteHeader() local
1694 pg_header = ((pTargetPkt->offset << 4) & 0xf0) | pTargetPkt->word_en; in hal_EfusePgPacketWrite1ByteHeader()
1697 efuse_OneByteWrite(padapter, efuse_addr, pg_header, bPseudoTest); in hal_EfusePgPacketWrite1ByteHeader()
1707 if (tmp_header != pg_header) { in hal_EfusePgPacketWrite1ByteHeader()
1708 …DBG_8192C(KERN_ERR "%s: PG Header Fail!!(pg = 0x%02X read = 0x%02X)\n", __func__, pg_header, tmp_h… in hal_EfusePgPacketWrite1ByteHeader()
1726 u8 pg_header = 0, tmp_header = 0; in hal_EfusePgPacketWrite2ByteHeader() local
1740 pg_header = ((pTargetPkt->offset & 0x07) << 5) | 0x0F; in hal_EfusePgPacketWrite2ByteHeader()
1744 efuse_OneByteWrite(padapter, efuse_addr, pg_header, bPseudoTest); in hal_EfusePgPacketWrite2ByteHeader()
1754 if (tmp_header != pg_header) { in hal_EfusePgPacketWrite2ByteHeader()
1755 …DBG_8192C(KERN_ERR "%s: PG Header Fail!!(pg = 0x%02X read = 0x%02X)\n", __func__, pg_header, tmp_h… in hal_EfusePgPacketWrite2ByteHeader()
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/
Defuse.c851 u8 pg_header; in efuse_write_data_case2() local
857 pg_header = ((target_pkt.offset << 4) & 0xf0) | target_pkt.word_en; in efuse_write_data_case2()
858 efuse_one_byte_write(hw, *efuse_addr, pg_header); in efuse_write_data_case2()
861 if (tmp_header == pg_header) { in efuse_write_data_case2()