Lines Matching refs:context
98 status_t SMARTCARD_PHY_Activate(void *base, smartcard_context_t *context, smartcard_reset_type_t re… in SMARTCARD_PHY_Activate() argument
100 if ((NULL == context) || (NULL == context->timeDelay)) in SMARTCARD_PHY_Activate()
104 assert(context->interfaceConfig.vcc == kSMARTCARD_VoltageClassB3_3V); in SMARTCARD_PHY_Activate()
108 context->timersState.initCharTimerExpired = false; in SMARTCARD_PHY_Activate()
109 context->resetType = resetType; in SMARTCARD_PHY_Activate()
122 if (!context->cardParams.active) in SMARTCARD_PHY_Activate()
135 …((((uint32_t)10000u * context->interfaceConfig.clockToResetDelay) / context->interfaceConfig.smart… in SMARTCARD_PHY_Activate()
138 context->timeDelay(temp); in SMARTCARD_PHY_Activate()
161 context->cardParams.active = true; in SMARTCARD_PHY_Activate()
166 status_t SMARTCARD_PHY_Deactivate(void *base, smartcard_context_t *context) in SMARTCARD_PHY_Deactivate() argument
168 if ((NULL == context)) in SMARTCARD_PHY_Deactivate()
185 context->timeDelay(100 * 1000); in SMARTCARD_PHY_Deactivate()
187 context->cardParams.active = false; in SMARTCARD_PHY_Deactivate()
193 smartcard_context_t *context, in SMARTCARD_PHY_Control() argument
197 if ((NULL == context)) in SMARTCARD_PHY_Control()
209 context->interfaceConfig.vcc = (smartcard_card_voltage_class_t)param; in SMARTCARD_PHY_Control()
213 context->interfaceConfig.clockToResetDelay = param; in SMARTCARD_PHY_Control()
217 context->cardParams.present = (bool)((emvsim_presence_detect_status_t)(uint32_t)( in SMARTCARD_PHY_Control()