Lines Matching defs:i2c

50 int MXC_I2C_Init(mxc_i2c_regs_t *i2c, int masterMode, unsigned int slaveAddr)  in MXC_I2C_Init()
78 int MXC_I2C_SetSlaveAddr(mxc_i2c_regs_t *i2c, unsigned int slaveAddr, int idx) in MXC_I2C_SetSlaveAddr()
96 int MXC_I2C_Shutdown(mxc_i2c_regs_t *i2c) in MXC_I2C_Shutdown()
115 int MXC_I2C_SetFrequency(mxc_i2c_regs_t *i2c, unsigned int hz) in MXC_I2C_SetFrequency()
125 unsigned int MXC_I2C_GetFrequency(mxc_i2c_regs_t *i2c) in MXC_I2C_GetFrequency()
131 int MXC_I2C_ReadyForSleep(mxc_i2c_regs_t *i2c) in MXC_I2C_ReadyForSleep()
140 int MXC_I2C_SetClockStretching(mxc_i2c_regs_t *i2c, int enable) in MXC_I2C_SetClockStretching()
146 int MXC_I2C_GetClockStretching(mxc_i2c_regs_t *i2c) in MXC_I2C_GetClockStretching()
152 int MXC_I2C_DMA_Init(mxc_i2c_regs_t *i2c, mxc_dma_regs_t *dma, bool use_dma_tx, bool use_dma_rx) in MXC_I2C_DMA_Init()
159 int MXC_I2C_DMA_GetTXChannel(mxc_i2c_regs_t *i2c) in MXC_I2C_DMA_GetTXChannel()
165 int MXC_I2C_DMA_GetRXChannel(mxc_i2c_regs_t *i2c) in MXC_I2C_DMA_GetRXChannel()
171 int MXC_I2C_DMA_SetRequestSelect(mxc_i2c_regs_t *i2c, uint8_t *txData, uint8_t *rxData) in MXC_I2C_DMA_SetRequestSelect()
218 int MXC_I2C_Start(mxc_i2c_regs_t *i2c) in MXC_I2C_Start()
224 int MXC_I2C_Stop(mxc_i2c_regs_t *i2c) in MXC_I2C_Stop()
230 int MXC_I2C_WriteByte(mxc_i2c_regs_t *i2c, unsigned char byte) in MXC_I2C_WriteByte()
236 int MXC_I2C_ReadByte(mxc_i2c_regs_t *i2c, unsigned char *byte, int ack) in MXC_I2C_ReadByte()
242 int MXC_I2C_ReadByteInteractive(mxc_i2c_regs_t *i2c, unsigned char *byte, mxc_i2c_getAck_t getAck) in MXC_I2C_ReadByteInteractive()
249 int MXC_I2C_Write(mxc_i2c_regs_t *i2c, unsigned char *bytes, unsigned int *len) in MXC_I2C_Write()
255 int MXC_I2C_Read(mxc_i2c_regs_t *i2c, unsigned char *bytes, unsigned int *len, int ack) in MXC_I2C_Read()
261 int MXC_I2C_ReadRXFIFO(mxc_i2c_regs_t *i2c, volatile unsigned char *bytes, unsigned int len) in MXC_I2C_ReadRXFIFO()
267 int MXC_I2C_ReadRXFIFODMA(mxc_i2c_regs_t *i2c, unsigned char *bytes, unsigned int len, in MXC_I2C_ReadRXFIFODMA()
275 int MXC_I2C_GetRXFIFOAvailable(mxc_i2c_regs_t *i2c) in MXC_I2C_GetRXFIFOAvailable()
281 int MXC_I2C_WriteTXFIFO(mxc_i2c_regs_t *i2c, volatile unsigned char *bytes, unsigned int len) in MXC_I2C_WriteTXFIFO()
287 int MXC_I2C_WriteTXFIFODMA(mxc_i2c_regs_t *i2c, unsigned char *bytes, unsigned int len, in MXC_I2C_WriteTXFIFODMA()
295 int MXC_I2C_GetTXFIFOAvailable(mxc_i2c_regs_t *i2c) in MXC_I2C_GetTXFIFOAvailable()
301 void MXC_I2C_ClearRXFIFO(mxc_i2c_regs_t *i2c) in MXC_I2C_ClearRXFIFO()
307 void MXC_I2C_ClearTXFIFO(mxc_i2c_regs_t *i2c) in MXC_I2C_ClearTXFIFO()
313 int MXC_I2C_GetFlags(mxc_i2c_regs_t *i2c, unsigned int *flags0, unsigned int *flags1) in MXC_I2C_GetFlags()
319 void MXC_I2C_ClearFlags(mxc_i2c_regs_t *i2c, unsigned int flags0, unsigned int flags1) in MXC_I2C_ClearFlags()
325 void MXC_I2C_EnableInt(mxc_i2c_regs_t *i2c, unsigned int flags0, unsigned int flags1) in MXC_I2C_EnableInt()
331 void MXC_I2C_DisableInt(mxc_i2c_regs_t *i2c, unsigned int flags0, unsigned int flags1) in MXC_I2C_DisableInt()
337 void MXC_I2C_EnablePreload(mxc_i2c_regs_t *i2c) in MXC_I2C_EnablePreload()
343 void MXC_I2C_DisablePreload(mxc_i2c_regs_t *i2c) in MXC_I2C_DisablePreload()
349 void MXC_I2C_EnableGeneralCall(mxc_i2c_regs_t *i2c) in MXC_I2C_EnableGeneralCall()
355 void MXC_I2C_DisableGeneralCall(mxc_i2c_regs_t *i2c) in MXC_I2C_DisableGeneralCall()
361 void MXC_I2C_SetTimeout(mxc_i2c_regs_t *i2c, unsigned int timeout) in MXC_I2C_SetTimeout()
367 unsigned int MXC_I2C_GetTimeout(mxc_i2c_regs_t *i2c) in MXC_I2C_GetTimeout()
373 int MXC_I2C_Recover(mxc_i2c_regs_t *i2c, unsigned int retries) in MXC_I2C_Recover()
397 int MXC_I2C_SlaveTransaction(mxc_i2c_regs_t *i2c, mxc_i2c_slave_handler_t callback) in MXC_I2C_SlaveTransaction()
404 int MXC_I2C_SlaveTransactionAsync(mxc_i2c_regs_t *i2c, mxc_i2c_slave_handler_t callback) in MXC_I2C_SlaveTransactionAsync()
411 int MXC_I2C_SetRXThreshold(mxc_i2c_regs_t *i2c, unsigned int numBytes) in MXC_I2C_SetRXThreshold()
417 unsigned int MXC_I2C_GetRXThreshold(mxc_i2c_regs_t *i2c) in MXC_I2C_GetRXThreshold()
423 int MXC_I2C_SetTXThreshold(mxc_i2c_regs_t *i2c, unsigned int numBytes) in MXC_I2C_SetTXThreshold()
429 unsigned int MXC_I2C_GetTXThreshold(mxc_i2c_regs_t *i2c) in MXC_I2C_GetTXThreshold()
435 void MXC_I2C_AsyncCallback(mxc_i2c_regs_t *i2c, int retVal) in MXC_I2C_AsyncCallback()
441 void MXC_I2C_AsyncStop(mxc_i2c_regs_t *i2c) in MXC_I2C_AsyncStop()
447 void MXC_I2C_AbortAsync(mxc_i2c_regs_t *i2c) in MXC_I2C_AbortAsync()
459 void MXC_I2C_AsyncHandler(mxc_i2c_regs_t *i2c) in MXC_I2C_AsyncHandler()