Home
last modified time | relevance | path

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

/aosp12/hardware/nxp/nfc/pn8x/halimpl/mifare/
H A DNxpMfcReader.cc158 uint8_t BlockNumber = mMfcTagCmdIntfData.sendBuf[1]; in CalcSectorAddress() local
159 if (BlockNumber >= MFC_4K_BLK128) { in CalcSectorAddress()
162 ((BlockNumber - MFC_4K_BLK128) / MFC_BYTES_PER_BLOCK)); in CalcSectorAddress()
164 mMfcTagCmdIntfData.byAddr = BlockNumber / MFC_BLKS_PER_SECTOR; in CalcSectorAddress()
/aosp12/hardware/nxp/nfc/snxxx/halimpl/mifare/
H A DNxpMfcReader.cc153 uint8_t BlockNumber = mMfcTagCmdIntfData.sendBuf[1]; in CalcSectorAddress() local
154 if (BlockNumber >= MFC_4K_BLK128) { in CalcSectorAddress()
157 ((BlockNumber - MFC_4K_BLK128) / MFC_BYTES_PER_BLOCK)); in CalcSectorAddress()
159 mMfcTagCmdIntfData.byAddr = BlockNumber / MFC_BLKS_PER_SECTOR; in CalcSectorAddress()
/aosp12/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/
H A DphNxpExtns_MifareStd.cpp1497 uint8_t BlockNumber = 0x00; in phLibNfc_CalSectorAddress() local
1500 BlockNumber = *Sector_Address; in phLibNfc_CalSectorAddress()
1501 if (BlockNumber >= PHLIBNFC_MIFARESTD4K_BLK128) { in phLibNfc_CalSectorAddress()
1503 ((BlockNumber - PHLIBNFC_MIFARESTD4K_BLK128) / in phLibNfc_CalSectorAddress()
1506 *Sector_Address = BlockNumber / PHLIBNFC_NO_OF_BLKPERSECTOR; in phLibNfc_CalSectorAddress()
H A DphFriNfc_MifareStdMap.cpp33 static uint8_t phFriNfc_MifStd_H_GetSect(uint8_t BlockNumber);
1484 static uint8_t phFriNfc_MifStd_H_GetSect(uint8_t BlockNumber) { in phFriNfc_MifStd_H_GetSect() argument
1487 if (BlockNumber >= PH_FRINFC_MIFARESTD4K_BLK128) { in phFriNfc_MifStd_H_GetSect()
1489 ((BlockNumber - PH_FRINFC_MIFARESTD4K_BLK128) / in phFriNfc_MifStd_H_GetSect()
1492 SectorID = (BlockNumber / PH_FRINFC_MIFARESTD_BLK4); in phFriNfc_MifStd_H_GetSect()