Lines Matching refs:Type2Info
212 NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock = PH_FRINFC_MFUL_FMT_VAL_0;
213 (void)memcpy(NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes,
215 sizeof(NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes));
217 NdefSmtCrdFmt->AddInfo.Type2Info.LockBytes[0] = 0;
218 NdefSmtCrdFmt->AddInfo.Type2Info.LockBytes[1] = 0;
219 NdefSmtCrdFmt->AddInfo.Type2Info.LockBytes[2] = 0;
220 NdefSmtCrdFmt->AddInfo.Type2Info.LockBytes[3] = 0;
229 NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock = PH_FRINFC_MFUL_FMT_VAL_0;
230 (void)memcpy(NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes,
232 sizeof(NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes));
237 NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock = PH_FRINFC_MFUL_FMT_VAL_2;
252 NdefSmtCrdFmt->AddInfo.Type2Info.DefaultLockBytesFlag = TRUE;
253 NdefSmtCrdFmt->AddInfo.Type2Info.ReadDataIndex = 0;
286 NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock =
306 otp_lock_page_size = sizeof (NdefSmtCrdFmt->AddInfo.Type2Info.LockBytes);
307 (void)memcpy ((void *)NdefSmtCrdFmt->AddInfo.Type2Info.LockBytes,
309 sizeof(NdefSmtCrdFmt->AddInfo.Type2Info.LockBytes));
311 NdefSmtCrdFmt->AddInfo.Type2Info.LockBytes[2] = (uint8_t)
312 (NdefSmtCrdFmt->AddInfo.Type2Info.LockBytes[2]
314 NdefSmtCrdFmt->AddInfo.Type2Info.LockBytes[3] = MIFARE_UL_LOCK_BYTE2_VALUE;
317 otp_lock_page_size = sizeof (NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes);
319 (void)memcpy ((void *)NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes,
321 sizeof(NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes));
323 NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes[(otp_lock_page_size - 1)] =
326 switch (NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes[TYPE_2_MEM_SIZE_POSITION])
342 NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock = 4;
366 switch (NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes[TYPE_2_MEM_SIZE_POSITION])
400 NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock =
401 NdefSmtCrdFmt->AddInfo.Type2Info.LockBlockNumber;
417 (void)memcpy ((void *)NdefSmtCrdFmt->AddInfo.Type2Info.ReadData,
419 sizeof(NdefSmtCrdFmt->AddInfo.Type2Info.ReadData));
421 NdefSmtCrdFmt->AddInfo.Type2Info.ReadDataIndex = 0;
436 NdefSmtCrdFmt->AddInfo.Type2Info.ReadDataIndex = (uint8_t)
437 (NdefSmtCrdFmt->AddInfo.Type2Info.ReadDataIndex +
446 else if ((NdefSmtCrdFmt->AddInfo.Type2Info.ReadDataIndex <
457 NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock = (uint8_t)
458 Type2Info.CurrentBlock + 4);
506 &NdefSmtCrdFmt->AddInfo.Type2Info;
531 &(NdefSmtCrdFmt->AddInfo.Type2Info);
600 &(NdefSmtCrdFmt->AddInfo.Type2Info);
615 &(NdefSmtCrdFmt->AddInfo.Type2Info);
738 &(NdefSmtCrdFmt->AddInfo.Type2Info);
795 &(NdefSmtCrdFmt->AddInfo.Type2Info);
834 (NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes[TYPE_2_MEM_SIZE_POSITION] * 8);
846 NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock,
894 NdefSmtCrdFmt->AddInfo.Type2Info.DefaultLockBytesFlag =
934 NdefSmtCrdFmt->AddInfo.Type2Info.DefaultLockBytesFlag =
936 NdefSmtCrdFmt->AddInfo.Type2Info.DynLockBytes[lock_mem_ndef_index] =
944 NdefSmtCrdFmt->AddInfo.Type2Info.DynLockBytes[lock_mem_ndef_index] =
1067 if ((NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes[TYPE_2_MEM_SIZE_POSITION]
1095 NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock =
1096 (NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock + 4);
1120 NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock);
1199 NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock;
1213 *NdefSmtCrdFmt->SendRecvBuf = NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock;
1230 *NdefSmtCrdFmt->SendRecvBuf = NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock;
1232 NdefSmtCrdFmt->AddInfo.Type2Info.DynLockBytes,
1252 NdefSmtCrdFmt->AddInfo.Type2Info.LockBytes,
1270 NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes,
1299 NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes,
1389 (void)memcpy(NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes,
1391 sizeof(NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes));
1398 (void)memcpy(NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes,
1400 sizeof(NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes));
1411 NdefSmtCrdFmt->AddInfo.Type2Info.OTPBytes,
1417 NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock =
1432 NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock =
1466 NdefSmtCrdFmt->AddInfo.Type2Info.CurrentBlock =