Lines Matching refs:gDalContext
97 static phDal4Nfc_SContext_t gDalContext; variable
252 if ( gDalContext.hw_valid == TRUE ) in phDal4Nfc_Init()
298 if (gDalContext.hw_valid == TRUE) in phDal4Nfc_Shutdown()
321 if (gDalContext.hw_valid == TRUE) in phDal4Nfc_ConfigRelease()
352 if (gDalContext.pDev != NULL) { in phDal4Nfc_ConfigRelease()
353 nfc_pn544_close(gDalContext.pDev); in phDal4Nfc_ConfigRelease()
358 memset((void *)&gDalContext,0,sizeof(gDalContext)); in phDal4Nfc_ConfigRelease()
361 gDalContext.hw_valid = FALSE; in phDal4Nfc_ConfigRelease()
388 if( gDalContext.hw_valid== TRUE) in phDal4Nfc_Write()
451 if ( gDalContext.hw_valid== TRUE) in phDal4Nfc_Read()
615 (void)memset(&gDalContext,0,sizeof(phDal4Nfc_SContext_t)); in phDal4Nfc_Config()
616 pgDalContext = &gDalContext; in phDal4Nfc_Config()
631 gDalContext.pDev = pn544_dev; in phDal4Nfc_Config()
639 gDalContext.hw_valid = TRUE; in phDal4Nfc_Config()
722 if (gDalContext.pDev != NULL) { in phDal4Nfc_ReaderThread()
723 i2c_workaround = gDalContext.pDev->enable_i2c_workaround; in phDal4Nfc_ReaderThread()
724 if (gDalContext.pDev->i2c_device_address) { in phDal4Nfc_ReaderThread()
725 i2c_device_address = gDalContext.pDev->i2c_device_address; in phDal4Nfc_ReaderThread()