Lines Matching refs:locBase

358     CySCB_Type *locBase = (CySCB_Type *) callbackParams->base;  in Cy_SCB_SPI_DeepSleepCallback()  local
370 … if (0UL == (CY_SCB_SPI_TRANSFER_ACTIVE & Cy_SCB_SPI_GetTransferStatus(locBase, locContext))) in Cy_SCB_SPI_DeepSleepCallback()
376 if (!Cy_SCB_SPI_IsBusBusy(locBase)) in Cy_SCB_SPI_DeepSleepCallback()
378 if (Cy_SCB_SPI_IsTxComplete(locBase)) in Cy_SCB_SPI_DeepSleepCallback()
380 if (0UL == Cy_SCB_SPI_GetNumInRxFifo(locBase)) in Cy_SCB_SPI_DeepSleepCallback()
382 if (_FLD2BOOL(SCB_CTRL_EC_AM_MODE, SCB_CTRL(locBase))) in Cy_SCB_SPI_DeepSleepCallback()
390 Cy_SCB_ClearSpiInterrupt(locBase, CY_SCB_SPI_INTR_WAKEUP); in Cy_SCB_SPI_DeepSleepCallback()
392 if (!Cy_SCB_SPI_IsBusBusy(locBase)) in Cy_SCB_SPI_DeepSleepCallback()
405 Cy_SCB_SPI_Disable(locBase, locContext); in Cy_SCB_SPI_DeepSleepCallback()
422 if (!_FLD2BOOL(SCB_CTRL_EC_AM_MODE, SCB_CTRL(locBase))) in Cy_SCB_SPI_DeepSleepCallback()
425 Cy_SCB_SPI_Enable(locBase); in Cy_SCB_SPI_DeepSleepCallback()
441 if (_FLD2BOOL(SCB_CTRL_EC_AM_MODE, SCB_CTRL(locBase))) in Cy_SCB_SPI_DeepSleepCallback()
447 Cy_SCB_SetSpiInterruptMask(locBase, CY_SCB_I2C_INTR_WAKEUP); in Cy_SCB_SPI_DeepSleepCallback()
450 SCB_I2C_CFG(locBase) &= (uint32_t) ~CY_SCB_I2C_CFG_CLK_ENABLE_Msk; in Cy_SCB_SPI_DeepSleepCallback()
465 if (_FLD2BOOL(SCB_CTRL_EC_AM_MODE, SCB_CTRL(locBase))) in Cy_SCB_SPI_DeepSleepCallback()
468 SCB_I2C_CFG(locBase) |= CY_SCB_I2C_CFG_CLK_ENABLE_Msk; in Cy_SCB_SPI_DeepSleepCallback()
479 Cy_SCB_SetSpiInterruptMask(locBase, CY_SCB_CLEAR_ALL_INTR_SRC); in Cy_SCB_SPI_DeepSleepCallback()
484 Cy_SCB_SPI_Enable(locBase); in Cy_SCB_SPI_DeepSleepCallback()
531 CySCB_Type *locBase = (CySCB_Type *) callbackParams->base; in Cy_SCB_SPI_HibernateCallback() local
543 … if (0UL == (CY_SCB_SPI_TRANSFER_ACTIVE & Cy_SCB_SPI_GetTransferStatus(locBase, locContext))) in Cy_SCB_SPI_HibernateCallback()
549 if (!Cy_SCB_SPI_IsBusBusy(locBase)) in Cy_SCB_SPI_HibernateCallback()
551 if (Cy_SCB_SPI_IsTxComplete(locBase)) in Cy_SCB_SPI_HibernateCallback()
553 if (0UL == Cy_SCB_SPI_GetNumInRxFifo(locBase)) in Cy_SCB_SPI_HibernateCallback()
560 Cy_SCB_SPI_Disable(locBase, locContext); in Cy_SCB_SPI_HibernateCallback()
577 Cy_SCB_SPI_Enable(locBase); in Cy_SCB_SPI_HibernateCallback()