Home
last modified time | relevance | path

Searched refs:I2C_GetInstance (Results 1 – 12 of 12) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpc_i2c/
Dfsl_i2c.c101 uint32_t I2C_GetInstance(I2C_Type *base) in I2C_GetInstance() function
161 CLOCK_EnableClock(s_i2cClocks[I2C_GetInstance(base)]); in I2C_MasterInit()
165 RESET_PeripheralReset(s_i2cResets[I2C_GetInstance(base)]); in I2C_MasterInit()
186 CLOCK_DisableClock(s_i2cClocks[I2C_GetInstance(base)]); in I2C_MasterDeinit()
636 instance = I2C_GetInstance(base); in I2C_MasterTransferCreateHandle()
1462 CLOCK_EnableClock(s_i2cClocks[I2C_GetInstance(base)]); in I2C_SlaveInit()
1466 RESET_PeripheralReset(s_i2cResets[I2C_GetInstance(base)]); in I2C_SlaveInit()
1512 CLOCK_DisableClock(s_i2cClocks[I2C_GetInstance(base)]); in I2C_SlaveDeinit()
1716 instance = I2C_GetInstance(base); in I2C_SlaveTransferCreateHandle()
Dfsl_i2c.h442 uint32_t I2C_GetInstance(I2C_Type *base);
Dfsl_i2c_dma.c484 instance = I2C_GetInstance(base); in I2C_MasterTransferCreateHandleDMA()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ii2c/
Dfsl_i2c.c49 static uint32_t I2C_GetInstance(I2C_Type *base);
138 static uint32_t I2C_GetInstance(I2C_Type *base) in I2C_GetInstance() function
481 CLOCK_EnableClock(s_i2cClocks[I2C_GetInstance(base)]); in I2C_MasterInit()
515 CLOCK_DisableClock(s_i2cClocks[I2C_GetInstance(base)]); in I2C_MasterDeinit()
1063 uint32_t instance = I2C_GetInstance(base); in I2C_MasterTransferCreateHandle()
1276 CLOCK_EnableClock(s_i2cClocks[I2C_GetInstance(base)]); in I2C_SlaveInit()
1301 CLOCK_DisableClock(s_i2cClocks[I2C_GetInstance(base)]); in I2C_SlaveDeinit()
1423 uint32_t instance = I2C_GetInstance(base); in I2C_SlaveTransferCreateHandle()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/i2c/
Dfsl_i2c.c145 uint32_t I2C_GetInstance(I2C_Type *base) in I2C_GetInstance() function
572 CLOCK_EnableClock(s_i2cClocks[I2C_GetInstance(base)]); in I2C_MasterInit()
635 CLOCK_DisableClock(s_i2cClocks[I2C_GetInstance(base)]); in I2C_MasterDeinit()
1467 uint32_t instance = I2C_GetInstance(base); in I2C_MasterTransferCreateHandle()
1717 CLOCK_EnableClock(s_i2cClocks[I2C_GetInstance(base)]); in I2C_SlaveInit()
1786 CLOCK_DisableClock(s_i2cClocks[I2C_GetInstance(base)]); in I2C_SlaveDeinit()
1998 uint32_t instance = I2C_GetInstance(base); in I2C_SlaveTransferCreateHandle()
Dfsl_i2c.h348 uint32_t I2C_GetInstance(I2C_Type *base);
Dfsl_i2c_dma.c404 uint32_t instance = I2C_GetInstance(base); in I2C_MasterTransferCreateHandleDMA()
Dfsl_i2c_edma.c412 uint32_t instance = I2C_GetInstance(base); in I2C_MasterCreateEDMAHandle()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexcomm/i2c/
Dfsl_i2c.c187 uint32_t I2C_GetInstance(I2C_Type *base) in I2C_GetInstance() function
852 instance = I2C_GetInstance(base); in I2C_MasterTransferCreateHandle()
1887 instance = I2C_GetInstance(base); in I2C_SlaveTransferCreateHandle()
Dfsl_i2c.h508 uint32_t I2C_GetInstance(I2C_Type *base);
Dfsl_i2c_dma.c509 instance = I2C_GetInstance(base); in I2C_MasterTransferCreateHandleDMA()
/hal_nxp-3.5.0/mcux/mcux-sdk/cmsis_drivers/i2c/
Dfsl_i2c_cmsis.c412 CLOCK_EnableClock(s_i2cClocks[I2C_GetInstance(i2c->resource->base)]); in I2C_Master_DmaPowerControl()
726 CLOCK_EnableClock(s_i2cClocks[I2C_GetInstance(i2c->resource->base)]); in I2C_Master_EdmaPowerControl()
1160 CLOCK_EnableClock(s_i2cClocks[I2C_GetInstance(i2c->resource->base)]); in I2C_InterruptPowerControl()