Home
last modified time | relevance | path

Searched refs:context (Results 1 – 19 of 19) sorted by relevance

/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_smartcard_emvsim.c35 static void smartcard_emvsim_CompleteSendData(EMVSIM_Type *base, smartcard_context_t *context);
36 static void smartcard_emvsim_StartSendData(EMVSIM_Type *base, smartcard_context_t *context);
37 static void smartcard_emvsim_CompleteReceiveData(EMVSIM_Type *base, smartcard_context_t *context);
38 static void smartcard_emvsim_StartReceiveData(EMVSIM_Type *base, smartcard_context_t *context);
40 smartcard_context_t *context,
77 static void smartcard_emvsim_CompleteSendData(EMVSIM_Type *base, smartcard_context_t *context) in smartcard_emvsim_CompleteSendData() argument
79 assert((NULL != context)); in smartcard_emvsim_CompleteSendData()
91 context->xIsBusy = false; in smartcard_emvsim_CompleteSendData()
92 context->transferState = kSMARTCARD_IdleState; in smartcard_emvsim_CompleteSendData()
94 context->xSize = 0u; in smartcard_emvsim_CompleteSendData()
[all …]
Dfsl_smartcard_phy_emvsim.c98 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
[all …]
Dfsl_smartcard_emvsim.h96 status_t SMARTCARD_EMVSIM_Init(EMVSIM_Type *base, smartcard_context_t *context, uint32_t srcClock_H…
119 int32_t SMARTCARD_EMVSIM_GetTransferRemainingBytes(EMVSIM_Type *base, smartcard_context_t *context);
132 status_t SMARTCARD_EMVSIM_AbortTransfer(EMVSIM_Type *base, smartcard_context_t *context);
149 status_t SMARTCARD_EMVSIM_TransferNonBlocking(EMVSIM_Type *base, smartcard_context_t *context, smar…
163 smartcard_context_t *context,
173 void SMARTCARD_EMVSIM_IRQHandler(EMVSIM_Type *base, smartcard_context_t *context);
Dfsl_smartcard_phy.h83 status_t SMARTCARD_PHY_Activate(void *base, smartcard_context_t *context, smartcard_reset_type_t re…
93 status_t SMARTCARD_PHY_Deactivate(void *base, smartcard_context_t *context);
106 smartcard_context_t *context,
117 void SMARTCARD_PHY_IRQHandler(void *base, smartcard_context_t *context);
Dfsl_enet.c1829 void *context) in ENET_SendFrame() argument
1908 txDirty->context = context; in ENET_SendFrame()
2000 txDirty->context = context; in ENET_SendFrame()
2739 txDirty->context = txFrame->context; in ENET_StartTxFrame()
2765 void *context) in ENET_SendFrameZeroCopy() argument
2834 txDirty->context = context; in ENET_SendFrameZeroCopy()
2909 txDirty->context = context; in ENET_SendFrameZeroCopy()
Dfsl_enet.h518 void *context; /*!< User specified data */ member
767 …void *context; /*!< Driver reclaims and gives it in Tx over callback, usually store network packet… member
1535 void *context);
1691 void *context);
Dfsl_enet_qos.h440 void *context; /*!< User specified data, could be buffer address for free */ member
1542 void *context);
Dfsl_enet_qos.c2435 void *context) in ENET_QOS_SendFrame() argument
2462 txDirty->context = context; in ENET_QOS_SendFrame()
Dfsl_caam.c2655 void *context, in caam_hash_schedule_input_data() argument
2729 descriptor[4] = ADD_OFFSET((uint32_t)(uint32_t *)context); in caam_hash_schedule_input_data()
2784 descriptor[9] = ADD_OFFSET((uint32_t)(uint32_t *)context); in caam_hash_schedule_input_data()
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_smartcard_emvsim.c35 static void smartcard_emvsim_CompleteSendData(EMVSIM_Type *base, smartcard_context_t *context);
36 static void smartcard_emvsim_StartSendData(EMVSIM_Type *base, smartcard_context_t *context);
37 static void smartcard_emvsim_CompleteReceiveData(EMVSIM_Type *base, smartcard_context_t *context);
38 static void smartcard_emvsim_StartReceiveData(EMVSIM_Type *base, smartcard_context_t *context);
40 smartcard_context_t *context,
77 static void smartcard_emvsim_CompleteSendData(EMVSIM_Type *base, smartcard_context_t *context) in smartcard_emvsim_CompleteSendData() argument
79 assert((NULL != context)); in smartcard_emvsim_CompleteSendData()
91 context->xIsBusy = false; in smartcard_emvsim_CompleteSendData()
92 context->transferState = kSMARTCARD_IdleState; in smartcard_emvsim_CompleteSendData()
94 context->xSize = 0u; in smartcard_emvsim_CompleteSendData()
[all …]
Dfsl_smartcard_phy_tda8035.c301 status_t SMARTCARD_PHY_Activate(void *base, smartcard_context_t *context, smartcard_reset_type_t re… in SMARTCARD_PHY_Activate() argument
303 if ((NULL == context) || (NULL == context->timeDelay)) in SMARTCARD_PHY_Activate()
308 context->timersState.initCharTimerExpired = false; in SMARTCARD_PHY_Activate()
309 context->resetType = resetType; in SMARTCARD_PHY_Activate()
326 …((GPIO_Type *)gpio_base[context->interfaceConfig.resetPort])->PCOR |= (1u << context->interfaceCon… in SMARTCARD_PHY_Activate()
327 ((GPIO_Type *)gpio_base[context->interfaceConfig.controlPort])->PSOR |= in SMARTCARD_PHY_Activate()
328 (1u << context->interfaceConfig.controlPin); in SMARTCARD_PHY_Activate()
335 ((GPIO_Type *)gpio_base[context->interfaceConfig.controlPort])->PCOR |= in SMARTCARD_PHY_Activate()
336 (1u << context->interfaceConfig.controlPin); in SMARTCARD_PHY_Activate()
347 context->timeDelay(3500u); in SMARTCARD_PHY_Activate()
[all …]
Dfsl_smartcard_phy_emvsim.c98 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
[all …]
Dfsl_smartcard_emvsim.h96 status_t SMARTCARD_EMVSIM_Init(EMVSIM_Type *base, smartcard_context_t *context, uint32_t srcClock_H…
119 int32_t SMARTCARD_EMVSIM_GetTransferRemainingBytes(EMVSIM_Type *base, smartcard_context_t *context);
132 status_t SMARTCARD_EMVSIM_AbortTransfer(EMVSIM_Type *base, smartcard_context_t *context);
149 status_t SMARTCARD_EMVSIM_TransferNonBlocking(EMVSIM_Type *base, smartcard_context_t *context, smar…
163 smartcard_context_t *context,
173 void SMARTCARD_EMVSIM_IRQHandler(EMVSIM_Type *base, smartcard_context_t *context);
Dfsl_smartcard_phy.h83 status_t SMARTCARD_PHY_Activate(void *base, smartcard_context_t *context, smartcard_reset_type_t re…
93 status_t SMARTCARD_PHY_Deactivate(void *base, smartcard_context_t *context);
106 smartcard_context_t *context,
117 void SMARTCARD_PHY_IRQHandler(void *base, smartcard_context_t *context);
Dfsl_enet.c1829 void *context) in ENET_SendFrame() argument
1908 txDirty->context = context; in ENET_SendFrame()
2000 txDirty->context = context; in ENET_SendFrame()
2739 txDirty->context = txFrame->context; in ENET_StartTxFrame()
2765 void *context) in ENET_SendFrameZeroCopy() argument
2834 txDirty->context = context; in ENET_SendFrameZeroCopy()
2909 txDirty->context = context; in ENET_SendFrameZeroCopy()
Dfsl_enet.h518 void *context; /*!< User specified data */ member
767 …void *context; /*!< Driver reclaims and gives it in Tx over callback, usually store network packet… member
1535 void *context);
1691 void *context);
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_sdma.c219 sdma_context_data_t *context = handle->context; in SDMA_LoadContext() local
221 (void)memset(context, 0, sizeof(sdma_context_data_t)); in SDMA_LoadContext()
224 context->PC = (uint16_t)config->scriptAddr; in SDMA_LoadContext()
227 context->GeneralReg[0] = config->eventMask1; in SDMA_LoadContext()
228 context->GeneralReg[1] = config->eventMask0; in SDMA_LoadContext()
229 context->GeneralReg[2] = (uint32_t)config->srcAddr; in SDMA_LoadContext()
230 context->GeneralReg[6] = (uint32_t)config->destAddr; in SDMA_LoadContext()
231 context->GeneralReg[7] = config->watermarkLevel; in SDMA_LoadContext()
238 context->GeneralReg[0] = (1UL << (config->eventSource - 32U)); in SDMA_LoadContext()
242 context->GeneralReg[1] = (1UL << config->eventSource); in SDMA_LoadContext()
[all …]
Dfsl_sdma.h329 sdma_context_data_t *context; /*!< Channel context to exectute in SDMA */ member
654 …eHandle(sdma_handle_t *handle, SDMAARM_Type *base, uint32_t channel, sdma_context_data_t *context);
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_iap_kbp.h174 kb_options_t context; member