Lines Matching refs:context
75 cy_stc_smif_context_t *context) in Cy_SMIF_Init() argument
79 if((NULL != base) && (NULL != config) && (NULL != context)) in Cy_SMIF_Init()
86 context->timeout = timeout; in Cy_SMIF_Init()
89 context->memReadyPollDealy = 0U; in Cy_SMIF_Init()
93 context->preXIPDataRate = CY_SMIF_SDR; in Cy_SMIF_Init()
361 cy_stc_smif_context_t const *context) in Cy_SMIF_TransmitCommand() argument
375 context); in Cy_SMIF_TransmitCommand()
392 uint32_t timeoutUnits = context->timeout; in Cy_SMIF_TransmitCommand()
484 cy_stc_smif_context_t *context) in Cy_SMIF_TransmitData() argument
494 context); in Cy_SMIF_TransmitData()
515 context->txBufferAddress = txBuffer; in Cy_SMIF_TransmitData()
516 context->txBufferSize = size; in Cy_SMIF_TransmitData()
517 context->txBufferCounter = size; in Cy_SMIF_TransmitData()
518 context->txCompleteCb = TxCompleteCb; in Cy_SMIF_TransmitData()
519 context->transferStatus = (uint32_t) CY_SMIF_SEND_BUSY; in Cy_SMIF_TransmitData()
581 cy_stc_smif_context_t const *context) in Cy_SMIF_TransmitDataBlocking() argument
589 context); in Cy_SMIF_TransmitDataBlocking()
613 uint32_t timeoutUnits = context->timeout; in Cy_SMIF_TransmitDataBlocking()
700 cy_stc_smif_context_t *context) in Cy_SMIF_ReceiveData() argument
709 context); in Cy_SMIF_ReceiveData()
732 context->rxBufferAddress = (uint8_t*)rxBuffer; in Cy_SMIF_ReceiveData()
733 context->rxBufferSize = size; in Cy_SMIF_ReceiveData()
734 context->rxBufferCounter = size; in Cy_SMIF_ReceiveData()
735 context->rxCompleteCb = RxCompleteCb; in Cy_SMIF_ReceiveData()
736 context->transferStatus = (uint32_t) CY_SMIF_RX_BUSY; in Cy_SMIF_ReceiveData()
803 cy_stc_smif_context_t const *context) in Cy_SMIF_ReceiveDataBlocking() argument
811 context); in Cy_SMIF_ReceiveDataBlocking()
834 uint32_t timeoutUnits = context->timeout; in Cy_SMIF_ReceiveDataBlocking()
934 uint32_t Cy_SMIF_GetTransferStatus(SMIF_Type const *base, cy_stc_smif_context_t const *context) in Cy_SMIF_GetTransferStatus() argument
937 return (context->transferStatus); in Cy_SMIF_GetTransferStatus()
958 void Cy_SMIF_Enable(SMIF_Type *base, cy_stc_smif_context_t *context) in Cy_SMIF_Enable() argument
961 context->txBufferAddress = NULL; in Cy_SMIF_Enable()
962 context->txBufferSize = 0U; in Cy_SMIF_Enable()
963 context->txBufferCounter = 0U; in Cy_SMIF_Enable()
964 context->rxBufferAddress = NULL; in Cy_SMIF_Enable()
965 context->rxBufferSize = 0U; in Cy_SMIF_Enable()
966 context->rxBufferCounter = 0U; in Cy_SMIF_Enable()
967 context->transferStatus = (uint32_t)CY_SMIF_STARTED; in Cy_SMIF_Enable()
1055 cy_stc_smif_context_t const *context) in Cy_SMIF_TransmitCommand_Ext() argument
1076 uint32_t timeoutUnits = context->timeout; in Cy_SMIF_TransmitCommand_Ext()
1183 SMIF_CTL(base) = temp | _VAL2FLD(SMIF_CTL_CLOCK_IF_TX_SEL, context->preXIPDataRate); in Cy_SMIF_TransmitCommand_Ext()
1253 cy_stc_smif_context_t *context) in Cy_SMIF_TransmitData_Ext() argument
1301 context->txBufferAddress = (uint8_t*)txBuffer; in Cy_SMIF_TransmitData_Ext()
1302 context->txBufferSize = size; in Cy_SMIF_TransmitData_Ext()
1303 context->txBufferCounter = size; in Cy_SMIF_TransmitData_Ext()
1304 context->txCompleteCb = TxCmpltCb; in Cy_SMIF_TransmitData_Ext()
1305 context->transferStatus = (uint32_t) CY_SMIF_SEND_BUSY; in Cy_SMIF_TransmitData_Ext()
1306 context->preCmdDataRate = dataDataRate; in Cy_SMIF_TransmitData_Ext()
1307 context->preCmdWidth = transferWidth; in Cy_SMIF_TransmitData_Ext()
1325 SMIF_CTL(base) = temp | _VAL2FLD(SMIF_CTL_CLOCK_IF_TX_SEL, context->preXIPDataRate); in Cy_SMIF_TransmitData_Ext()
1385 cy_stc_smif_context_t const *context) in Cy_SMIF_TransmitDataBlocking_Ext() argument
1435 uint32_t timeoutUnits = context->timeout; in Cy_SMIF_TransmitDataBlocking_Ext()
1436 cy_stc_smif_context_t contextLoc = *context; in Cy_SMIF_TransmitDataBlocking_Ext()
1460 SMIF_CTL(base) = temp | _VAL2FLD(SMIF_CTL_CLOCK_IF_TX_SEL, context->preXIPDataRate); in Cy_SMIF_TransmitDataBlocking_Ext()
1536 cy_stc_smif_context_t *context) in Cy_SMIF_ReceiveData_Ext() argument
1585 context->rxBufferAddress = (uint8_t*)rxBuffer; in Cy_SMIF_ReceiveData_Ext()
1586 context->rxBufferSize = size; in Cy_SMIF_ReceiveData_Ext()
1587 context->rxBufferCounter = size; in Cy_SMIF_ReceiveData_Ext()
1588 context->rxCompleteCb = RxCmpltCb; in Cy_SMIF_ReceiveData_Ext()
1589 context->transferStatus = (uint32_t) CY_SMIF_REC_BUSY; in Cy_SMIF_ReceiveData_Ext()
1661 cy_stc_smif_context_t const *context) in Cy_SMIF_ReceiveDataBlocking_Ext() argument
1711 uint32_t timeoutUnits = context->timeout; in Cy_SMIF_ReceiveDataBlocking_Ext()
1734 SMIF_CTL(base) = temp | _VAL2FLD(SMIF_CTL_CLOCK_IF_TX_SEL, context->preXIPDataRate); in Cy_SMIF_ReceiveDataBlocking_Ext()
2036 cy_stc_smif_context_t const *context) in Cy_SMIF_Encrypt() argument
2040 uint32_t timeoutUnits = context->timeout; in Cy_SMIF_Encrypt()
2748 cy_stc_smif_context_t *locContext = (cy_stc_smif_context_t *) callbackParams->context; in Cy_SMIF_DeepSleepCallback()
2885 cy_stc_smif_context_t *locContext = (cy_stc_smif_context_t *) callbackParams->context; in Cy_SMIF_HibernateCallback()