Searched refs:locBase (Results 1 – 8 of 8) sorted by relevance
/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/source/ |
D | cy_i2s.c | 254 I2S_Type * locBase = (I2S_Type*) callbackParams->base; in Cy_I2S_DeepSleepCallback() local 265 *locInterruptMask = Cy_I2S_GetInterruptMask(locBase); /* Store I2S interrupts */ in Cy_I2S_DeepSleepCallback() 266 *locState = Cy_I2S_GetCurrentState(locBase); /* Store I2S state */ in Cy_I2S_DeepSleepCallback() 269 Cy_I2S_DisableTx(locBase); /* Stop TX operation */ in Cy_I2S_DeepSleepCallback() 273 Cy_I2S_DisableRx(locBase); /* Stop RX operation */ in Cy_I2S_DeepSleepCallback() 275 Cy_I2S_SetInterruptMask(locBase, 0UL); /* Disable I2S interrupts */ in Cy_I2S_DeepSleepCallback() 282 Cy_I2S_ClearRxFifo(locBase); /* Clear the RX FIFO */ in Cy_I2S_DeepSleepCallback() 283 Cy_I2S_EnableRx(locBase); /* Start RX operation */ in Cy_I2S_DeepSleepCallback() 287 Cy_I2S_ClearTxFifo(locBase); /* Clear the TX FIFO */ in Cy_I2S_DeepSleepCallback() 288 Cy_I2S_WriteTxData(locBase, 0UL); /* Fill at least one TX frame */ in Cy_I2S_DeepSleepCallback() [all …]
|
D | cy_scb_spi.c | 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() [all …]
|
D | cy_scb_ezi2c.c | 257 CySCB_Type *locBase = (CySCB_Type *) callbackParams->base; in Cy_SCB_EZI2C_DeepSleepCallback() local 267 Cy_SCB_SetSlaveInterruptMask(locBase, CY_SCB_CLEAR_ALL_INTR_SRC); in Cy_SCB_EZI2C_DeepSleepCallback() 275 if (_FLD2BOOL(SCB_CTRL_EC_AM_MODE, SCB_CTRL(locBase))) in Cy_SCB_EZI2C_DeepSleepCallback() 283 Cy_SCB_SetSlaveInterruptMask(locBase, CY_SCB_EZI2C_SLAVE_INTR_NO_ADDR); in Cy_SCB_EZI2C_DeepSleepCallback() 293 Cy_SCB_EZI2C_Disable(locBase, locContext); in Cy_SCB_EZI2C_DeepSleepCallback() 294 Cy_SCB_SetSlaveInterruptMask(locBase, CY_SCB_EZI2C_SLAVE_INTR); in Cy_SCB_EZI2C_DeepSleepCallback() 302 Cy_SCB_SetSlaveInterruptMask(locBase, CY_SCB_EZI2C_SLAVE_INTR); in Cy_SCB_EZI2C_DeepSleepCallback() 313 if (_FLD2BOOL(SCB_CTRL_EC_AM_MODE, SCB_CTRL(locBase))) in Cy_SCB_EZI2C_DeepSleepCallback() 318 Cy_SCB_SetSlaveInterruptMask(locBase, CY_SCB_EZI2C_SLAVE_INTR); in Cy_SCB_EZI2C_DeepSleepCallback() 323 Cy_SCB_EZI2C_Enable(locBase); in Cy_SCB_EZI2C_DeepSleepCallback() [all …]
|
D | cy_lpcomp.c | 801 LPCOMP_Type *locBase = (LPCOMP_Type *) (callbackParams->base); in Cy_LPComp_DeepSleepCallback() local 821 enabled_status = _FLD2VAL(LPCOMP_CONFIG_ENABLED, LPCOMP_CONFIG(locBase)); in Cy_LPComp_DeepSleepCallback() 826 …if( !(((_FLD2VAL(LPCOMP_CMP0_CTRL_MODE0, LPCOMP_CMP0_CTRL(locBase)) == (uint32_t)CY_LPCOMP_MODE_UL… in Cy_LPComp_DeepSleepCallback() 827 _FLD2BOOL(LPCOMP_INTR_MASK_COMP0_MASK, LPCOMP_INTR_MASK(locBase))) || in Cy_LPComp_DeepSleepCallback() 828 … ((_FLD2VAL(LPCOMP_CMP1_CTRL_MODE1, LPCOMP_CMP1_CTRL(locBase)) == (uint32_t)CY_LPCOMP_MODE_ULP) && in Cy_LPComp_DeepSleepCallback() 829 _FLD2BOOL(LPCOMP_INTR_MASK_COMP1_MASK, LPCOMP_INTR_MASK(locBase))))) in Cy_LPComp_DeepSleepCallback() 833 Cy_LPComp_GlobalDisable(locBase); in Cy_LPComp_DeepSleepCallback() 859 Cy_LPComp_GlobalEnable(locBase); in Cy_LPComp_DeepSleepCallback() 912 LPCOMP_Type *locBase = (LPCOMP_Type *) (callbackParams->base); in Cy_LPComp_HibernateCallback() local 932 enabled_status = _FLD2VAL(LPCOMP_CONFIG_ENABLED, LPCOMP_CONFIG(locBase)); in Cy_LPComp_HibernateCallback() [all …]
|
D | cy_smif.c | 2747 SMIF_Type *locBase = (SMIF_Type *) callbackParams->base; in Cy_SMIF_DeepSleepCallback() local 2760 Cy_SMIF_GetTransferStatus(locBase, locContext)); in Cy_SMIF_DeepSleepCallback() 2761 checkFail = (Cy_SMIF_BusyCheck(locBase)) || checkFail; in Cy_SMIF_DeepSleepCallback() 2762 checkFail = (Cy_SMIF_GetMode(locBase) == CY_SMIF_MEMORY) || checkFail; in Cy_SMIF_DeepSleepCallback() 2771 if (locBase == SMIF0_CORE0) in Cy_SMIF_DeepSleepCallback() 2775 if (locBase == SMIF0_CORE1) in Cy_SMIF_DeepSleepCallback() 2780 Cy_SMIF_Disable(locBase); in Cy_SMIF_DeepSleepCallback() 2793 if (locBase == SMIF0_CORE0) in Cy_SMIF_DeepSleepCallback() 2797 if (locBase == SMIF0_CORE1) in Cy_SMIF_DeepSleepCallback() 2802 Cy_SMIF_Enable(locBase, locContext); in Cy_SMIF_DeepSleepCallback() [all …]
|
D | cy_scb_i2c.c | 283 CySCB_Type *locBase = (CySCB_Type *) callbackParams->base; in Cy_SCB_I2C_DeepSleepCallback() local 293 Cy_SCB_SetSlaveInterruptMask(locBase, CY_SCB_CLEAR_ALL_INTR_SRC); in Cy_SCB_I2C_DeepSleepCallback() 301 if (_FLD2BOOL(SCB_CTRL_EC_AM_MODE, SCB_CTRL(locBase))) in Cy_SCB_I2C_DeepSleepCallback() 309 Cy_SCB_SetSlaveInterruptMask(locBase, CY_SCB_I2C_SLAVE_INTR_NO_ADDR); in Cy_SCB_I2C_DeepSleepCallback() 319 Cy_SCB_I2C_Disable(locBase, locContext); in Cy_SCB_I2C_DeepSleepCallback() 320 Cy_SCB_SetSlaveInterruptMask(locBase, CY_SCB_I2C_SLAVE_INTR); in Cy_SCB_I2C_DeepSleepCallback() 328 Cy_SCB_SetSlaveInterruptMask(locBase, CY_SCB_I2C_SLAVE_INTR); in Cy_SCB_I2C_DeepSleepCallback() 339 if (_FLD2BOOL(SCB_CTRL_EC_AM_MODE, SCB_CTRL(locBase))) in Cy_SCB_I2C_DeepSleepCallback() 342 Cy_SCB_SetSlaveInterruptMask(locBase, CY_SCB_I2C_SLAVE_INTR); in Cy_SCB_I2C_DeepSleepCallback() 347 Cy_SCB_I2C_Enable(locBase); in Cy_SCB_I2C_DeepSleepCallback() [all …]
|
D | cy_scb_uart.c | 514 CySCB_Type *locBase = (CySCB_Type *) callbackParams->base; in Cy_SCB_UART_DeepSleepCallback() local 524 … if ((0UL == (CY_SCB_UART_TRANSMIT_ACTIVE & Cy_SCB_UART_GetTransmitStatus(locBase, locContext))) && in Cy_SCB_UART_DeepSleepCallback() 525 … (0UL == (CY_SCB_UART_RECEIVE_ACTIVE & Cy_SCB_UART_GetReceiveStatus (locBase, locContext)))) in Cy_SCB_UART_DeepSleepCallback() 531 if (Cy_SCB_UART_IsTxComplete(locBase)) in Cy_SCB_UART_DeepSleepCallback() 533 if (0UL == Cy_SCB_UART_GetNumInRxFifo(locBase)) in Cy_SCB_UART_DeepSleepCallback() 541 Cy_SCB_UART_Disable(locBase, locContext); in Cy_SCB_UART_DeepSleepCallback() 557 Cy_SCB_UART_Enable(locBase); in Cy_SCB_UART_DeepSleepCallback() 572 Cy_SCB_UART_Enable(locBase); in Cy_SCB_UART_DeepSleepCallback()
|
D | cy_sd_host.c | 5308 SDHC_Type *locBase = (SDHC_Type *) (callbackParams->base); in Cy_SD_Host_DeepSleepCallback() local 5315 uint32_t pState = Cy_SD_Host_GetPresentState(locBase); in Cy_SD_Host_DeepSleepCallback() 5333 Cy_SD_Host_DisableSdClk(locBase); in Cy_SD_Host_DeepSleepCallback() 5342 Cy_SD_Host_EnableSdClk(locBase); in Cy_SD_Host_DeepSleepCallback()
|