Lines Matching refs:Nbw
1031 NdefMap->SendRecvBuf[BufIndex] = NdefMap->FelicaAttrInfo.Nbw;
1230 NdefMap->SendRecvBuf[BufIndex] = NdefMap->FelicaAttrInfo.Nbw;
1438 * Each write operation supports,minimum Nbw blocks of bytes.
1439 * Also checks for the EOF,>=NBW,<NBW etc
1554 /* check blocks to write exceeds nbw*/
1555 if ( BlkNo >= NdefMap->FelicaAttrInfo.Nbw )
1557 BlkNo = NdefMap->FelicaAttrInfo.Nbw;
1558 /* No. Blks to write are more than Nbw*/
1610 /* check are we exceeding the NBW limit, while a write?*/
1611 if ( BlkNo >= NdefMap->FelicaAttrInfo.Nbw )
1613 BlkNo = NdefMap->FelicaAttrInfo.Nbw;
1615 /* No. Blks to write are more than Nbw*/
1678 /* Block List for NBw : 1st byte : two byte len list: 2nd byte is the block number*/
1724 /* check nbw limit*/
1763 /*Copy Nbw*16 bytes of data to the trx buffer*/
1766 (NdefMap->FelicaAttrInfo.Nbw - 1) * 16);
1769 BufIndex += ((NdefMap->FelicaAttrInfo.Nbw - 1 )*16);
1772 NdefMap->NumOfBytesWritten+= ((NdefMap->FelicaAttrInfo.Nbw -1)*16);
1778 /* check nbw limit*/
1816 /*Copy Nbw*16 bytes of data to the trx buffer*/
1819 (NdefMap->FelicaAttrInfo.Nbw - 1) * 16);
1822 BufIndex += ((NdefMap->FelicaAttrInfo.Nbw - 1 )*16);
1825 NdefMap->NumOfBytesWritten+= ((NdefMap->FelicaAttrInfo.Nbw -1)*16);
1889 if ( (NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex) >= (uint32_t)(16* NdefMap->FelicaAttrInfo.Nbw ))
1891 /* check for the card size and write Nbw Blks*/
1892 if ( NdefMap->FelicaAttrInfo.Nmaxb - NdefMap->Felica.CurBlockNo >= NdefMap->FelicaAttrInfo.Nbw)
1896 NdefMap->SendRecvBuf[BufIndex] = NdefMap->FelicaAttrInfo.Nbw;
1899 /* Block List for NBw : 1st byte : two byte len list: 2nd byte is the block number*/
1900 for ( i=1; i<= NdefMap->FelicaAttrInfo.Nbw; i++)
1908 /*Copy Nbw*16 bytes of data to the trx buffer*/
1912 NdefMap->FelicaAttrInfo.Nbw * 16);
1915 BufIndex += (NdefMap->FelicaAttrInfo.Nbw*16);
1921 NdefMap->NumOfBytesWritten = (NdefMap->FelicaAttrInfo.Nbw*16);
1922 NdefMap->Felica.NoBlocksWritten = NdefMap->FelicaAttrInfo.Nbw;
1928 }/*if ( NdefMap->FelicaAttrInfo.Nmaxb - NdefMap->Felica.CurBlockNo >= NdefMap->FelicaAttrInfo.Nbw)*/
1931 /* we need to write less than nbw blks*/
1937 /* Block List for NBw : 1st byte : two byte len list: 2nd byte is the block number*/
1946 /*Copy Nbw*16 bytes of data to the trx buffer*/
1966 }/* if ( (NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex) >= (uint32_t)(16* NdefMap->FelicaAttrInfo.Nbw )) */
2002 /* Block List for NBw : 1st byte : two byte len list: 2nd byte is the block number*/
2071 }/* else of if ( (NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex) >= (uint32_t)(16* NdefMap->FelicaAttrInfo.Nbw )) */
2910 /*check Nbw > Nmaxb*/
2946 NdefMap->FelicaAttrInfo.Nbw = NdefMap->SendRecvBuf[15];