Searched refs:I2C_GetInstance (Results 1 – 12 of 12) sorted by relevance
101 uint32_t I2C_GetInstance(I2C_Type *base) in I2C_GetInstance() function161 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()
442 uint32_t I2C_GetInstance(I2C_Type *base);
484 instance = I2C_GetInstance(base); in I2C_MasterTransferCreateHandleDMA()
49 static uint32_t I2C_GetInstance(I2C_Type *base);138 static uint32_t I2C_GetInstance(I2C_Type *base) in I2C_GetInstance() function481 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()
145 uint32_t I2C_GetInstance(I2C_Type *base) in I2C_GetInstance() function572 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()
348 uint32_t I2C_GetInstance(I2C_Type *base);
404 uint32_t instance = I2C_GetInstance(base); in I2C_MasterTransferCreateHandleDMA()
412 uint32_t instance = I2C_GetInstance(base); in I2C_MasterCreateEDMAHandle()
187 uint32_t I2C_GetInstance(I2C_Type *base) in I2C_GetInstance() function852 instance = I2C_GetInstance(base); in I2C_MasterTransferCreateHandle()1887 instance = I2C_GetInstance(base); in I2C_SlaveTransferCreateHandle()
508 uint32_t I2C_GetInstance(I2C_Type *base);
509 instance = I2C_GetInstance(base); in I2C_MasterTransferCreateHandleDMA()
412 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()