pTargetPkt 513 drivers/staging/rtl8188eu/core/rtw_efuse.c static bool hal_EfusePgPacketWrite2ByteHeader(struct adapter *pAdapter, u8 efuseType, u16 *pAddr, struct pgpkt *pTargetPkt) pTargetPkt 523 drivers/staging/rtl8188eu/core/rtw_efuse.c pg_header = ((pTargetPkt->offset & 0x07) << 5) | 0x0F; pTargetPkt 539 drivers/staging/rtl8188eu/core/rtw_efuse.c pg_header = ((pTargetPkt->offset & 0x78) << 1) | pTargetPkt->word_en; pTargetPkt 580 drivers/staging/rtl8188eu/core/rtw_efuse.c static bool hal_EfusePgPacketWrite1ByteHeader(struct adapter *pAdapter, u8 efuseType, u16 *pAddr, struct pgpkt *pTargetPkt) pTargetPkt 587 drivers/staging/rtl8188eu/core/rtw_efuse.c pg_header = ((pTargetPkt->offset << 4) & 0xf0) | pTargetPkt->word_en; pTargetPkt 615 drivers/staging/rtl8188eu/core/rtw_efuse.c static bool hal_EfusePgPacketWriteData(struct adapter *pAdapter, u8 efuseType, u16 *pAddr, struct pgpkt *pTargetPkt) pTargetPkt 622 drivers/staging/rtl8188eu/core/rtw_efuse.c badworden = Efuse_WordEnableDataWrite(pAdapter, efuse_addr + 1, pTargetPkt->word_en, pTargetPkt->data); pTargetPkt 628 drivers/staging/rtl8188eu/core/rtw_efuse.c PgWriteSuccess = Efuse_PgPacketWrite(pAdapter, pTargetPkt->offset, badworden, pTargetPkt->data); pTargetPkt 640 drivers/staging/rtl8188eu/core/rtw_efuse.c struct pgpkt *pTargetPkt) pTargetPkt 644 drivers/staging/rtl8188eu/core/rtw_efuse.c if (pTargetPkt->offset >= EFUSE_MAX_SECTION_BASE) pTargetPkt 645 drivers/staging/rtl8188eu/core/rtw_efuse.c ret = hal_EfusePgPacketWrite2ByteHeader(pAdapter, efuseType, pAddr, pTargetPkt); pTargetPkt 647 drivers/staging/rtl8188eu/core/rtw_efuse.c ret = hal_EfusePgPacketWrite1ByteHeader(pAdapter, efuseType, pAddr, pTargetPkt); pTargetPkt 652 drivers/staging/rtl8188eu/core/rtw_efuse.c static bool wordEnMatched(struct pgpkt *pTargetPkt, struct pgpkt *pCurPkt, pTargetPkt 658 drivers/staging/rtl8188eu/core/rtw_efuse.c if (((pTargetPkt->word_en & BIT(0)) == 0) && pTargetPkt 661 drivers/staging/rtl8188eu/core/rtw_efuse.c if (((pTargetPkt->word_en & BIT(1)) == 0) && pTargetPkt 664 drivers/staging/rtl8188eu/core/rtw_efuse.c if (((pTargetPkt->word_en & BIT(2)) == 0) && pTargetPkt 667 drivers/staging/rtl8188eu/core/rtw_efuse.c if (((pTargetPkt->word_en & BIT(3)) == 0) && pTargetPkt 691 drivers/staging/rtl8188eu/core/rtw_efuse.c static bool hal_EfusePartialWriteCheck(struct adapter *pAdapter, u8 efuseType, u16 *pAddr, struct pgpkt *pTargetPkt) pTargetPkt 731 drivers/staging/rtl8188eu/core/rtw_efuse.c if ((curPkt.offset == pTargetPkt->offset) && pTargetPkt 733 drivers/staging/rtl8188eu/core/rtw_efuse.c wordEnMatched(pTargetPkt, &curPkt, &matched_wden)) { pTargetPkt 735 drivers/staging/rtl8188eu/core/rtw_efuse.c badworden = Efuse_WordEnableDataWrite(pAdapter, startAddr + 1, matched_wden, pTargetPkt->data); pTargetPkt 740 drivers/staging/rtl8188eu/core/rtw_efuse.c PgWriteSuccess = Efuse_PgPacketWrite(pAdapter, pTargetPkt->offset, badworden, pTargetPkt->data); pTargetPkt 750 drivers/staging/rtl8188eu/core/rtw_efuse.c pTargetPkt->word_en |= (0x1 << i); /* disable the word */ pTargetPkt 752 drivers/staging/rtl8188eu/core/rtw_efuse.c pTargetPkt->word_cnts = Efuse_CalculateWordCnts(pTargetPkt->word_en); pTargetPkt 766 drivers/staging/rtl8188eu/core/rtw_efuse.c static void hal_EfuseConstructPGPkt(u8 offset, u8 word_en, u8 *pData, struct pgpkt *pTargetPkt) pTargetPkt 768 drivers/staging/rtl8188eu/core/rtw_efuse.c memset((void *)pTargetPkt->data, 0xFF, sizeof(u8) * 8); pTargetPkt 769 drivers/staging/rtl8188eu/core/rtw_efuse.c pTargetPkt->offset = offset; pTargetPkt 770 drivers/staging/rtl8188eu/core/rtw_efuse.c pTargetPkt->word_en = word_en; pTargetPkt 771 drivers/staging/rtl8188eu/core/rtw_efuse.c efuse_WordEnableDataRead(word_en, pData, pTargetPkt->data); pTargetPkt 772 drivers/staging/rtl8188eu/core/rtw_efuse.c pTargetPkt->word_cnts = Efuse_CalculateWordCnts(pTargetPkt->word_en); pTargetPkt 1552 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c PPGPKT_STRUCT pTargetPkt pTargetPkt 1555 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c memset(pTargetPkt->data, 0xFF, PGPKT_DATA_SIZE); pTargetPkt 1556 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pTargetPkt->offset = offset; pTargetPkt 1557 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pTargetPkt->word_en = word_en; pTargetPkt 1558 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c efuse_WordEnableDataRead(word_en, pData, pTargetPkt->data); pTargetPkt 1559 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pTargetPkt->word_cnts = Efuse_CalculateWordCnts(pTargetPkt->word_en); pTargetPkt 1566 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c PPGPKT_STRUCT pTargetPkt, pTargetPkt 1637 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c (curPkt.offset == pTargetPkt->offset) && pTargetPkt 1639 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c wordEnMatched(pTargetPkt, &curPkt, &matched_wden) == true pTargetPkt 1643 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c badworden = Efuse_WordEnableDataWrite(padapter, startAddr+1, matched_wden, pTargetPkt->data, bPseudoTest); pTargetPkt 1648 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c PgWriteSuccess = Efuse_PgPacketWrite(padapter, pTargetPkt->offset, badworden, pTargetPkt->data, bPseudoTest); pTargetPkt 1650 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c PgWriteSuccess = Efuse_PgPacketWrite_BT(padapter, pTargetPkt->offset, badworden, pTargetPkt->data, bPseudoTest); pTargetPkt 1660 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pTargetPkt->word_en |= (0x1<<i); /* disable the word */ pTargetPkt 1663 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pTargetPkt->word_cnts = Efuse_CalculateWordCnts(pTargetPkt->word_en); pTargetPkt 1684 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c PPGPKT_STRUCT pTargetPkt, pTargetPkt 1694 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pg_header = ((pTargetPkt->offset << 4) & 0xf0) | pTargetPkt->word_en; pTargetPkt 1721 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c PPGPKT_STRUCT pTargetPkt, pTargetPkt 1740 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pg_header = ((pTargetPkt->offset & 0x07) << 5) | 0x0F; pTargetPkt 1761 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c pg_header = ((pTargetPkt->offset & 0x78) << 1) | pTargetPkt->word_en; pTargetPkt 1788 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c PPGPKT_STRUCT pTargetPkt, pTargetPkt 1794 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (pTargetPkt->offset >= EFUSE_MAX_SECTION_BASE) pTargetPkt 1795 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c bRet = hal_EfusePgPacketWrite2ByteHeader(padapter, efuseType, pAddr, pTargetPkt, bPseudoTest); pTargetPkt 1797 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c bRet = hal_EfusePgPacketWrite1ByteHeader(padapter, efuseType, pAddr, pTargetPkt, bPseudoTest); pTargetPkt 1806 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c PPGPKT_STRUCT pTargetPkt, pTargetPkt 1815 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c badworden = Efuse_WordEnableDataWrite(padapter, efuse_addr+1, pTargetPkt->word_en, pTargetPkt->data, bPseudoTest);