Lines Matching refs:locBase
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()
339 if (_FLD2BOOL(SCB_CTRL_EC_AM_MODE, SCB_CTRL(locBase))) in Cy_SCB_EZI2C_DeepSleepCallback()
347 Cy_SCB_SetI2CInterruptMask(locBase, CY_SCB_I2C_INTR_WAKEUP); in Cy_SCB_EZI2C_DeepSleepCallback()
350 SCB_I2C_CFG(locBase) &= (uint32_t) ~CY_SCB_I2C_CFG_CLK_ENABLE_Msk; in Cy_SCB_EZI2C_DeepSleepCallback()
365 if (_FLD2BOOL(SCB_CTRL_EC_AM_MODE, SCB_CTRL(locBase))) in Cy_SCB_EZI2C_DeepSleepCallback()
368 SCB_I2C_CFG(locBase) |= CY_SCB_I2C_CFG_CLK_ENABLE_Msk; in Cy_SCB_EZI2C_DeepSleepCallback()
379 Cy_SCB_SetI2CInterruptMask (locBase, CY_SCB_CLEAR_ALL_INTR_SRC); in Cy_SCB_EZI2C_DeepSleepCallback()
380 Cy_SCB_SetSlaveInterruptMask(locBase, CY_SCB_EZI2C_SLAVE_INTR); in Cy_SCB_EZI2C_DeepSleepCallback()
385 Cy_SCB_EZI2C_Enable(locBase); in Cy_SCB_EZI2C_DeepSleepCallback()
431 CySCB_Type *locBase = (CySCB_Type *) callbackParams->base; in Cy_SCB_EZI2C_HibernateCallback() local
441 Cy_SCB_SetSlaveInterruptMask(locBase, CY_SCB_CLEAR_ALL_INTR_SRC); in Cy_SCB_EZI2C_HibernateCallback()
452 Cy_SCB_EZI2C_Disable(locBase, locContext); in Cy_SCB_EZI2C_HibernateCallback()
458 Cy_SCB_SetSlaveInterruptMask(locBase, CY_SCB_EZI2C_SLAVE_INTR); in Cy_SCB_EZI2C_HibernateCallback()
469 Cy_SCB_EZI2C_Enable(locBase); in Cy_SCB_EZI2C_HibernateCallback()