Lines Matching defs:i2c
50 int MXC_I2C_RevB_Init(mxc_i2c_revb_regs_t *i2c, int masterMode, unsigned int slaveAddr) in MXC_I2C_RevB_Init()
55 int MXC_I2C_RevB_SetSlaveAddr(mxc_i2c_revb_regs_t *i2c, unsigned int slaveAddr, int idx) in MXC_I2C_RevB_SetSlaveAddr()
72 int MXC_I2C_RevB_Shutdown(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_Shutdown()
77 int MXC_I2C_RevB_SetFrequency(mxc_i2c_revb_regs_t *i2c, unsigned int hz) in MXC_I2C_RevB_SetFrequency()
82 unsigned int MXC_I2C_RevB_GetFrequency(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_GetFrequency()
87 int MXC_I2C_RevB_ReadyForSleep(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_ReadyForSleep()
92 int MXC_I2C_RevB_SetClockStretching(mxc_i2c_revb_regs_t *i2c, int enable) in MXC_I2C_RevB_SetClockStretching()
97 int MXC_I2C_RevB_GetClockStretching(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_GetClockStretching()
106 int MXC_I2C_RevB_Start(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_Start()
111 int MXC_I2C_RevB_Stop(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_Stop()
116 int MXC_I2C_RevB_WriteByte(mxc_i2c_revb_regs_t *i2c, unsigned char byte) in MXC_I2C_RevB_WriteByte()
121 int MXC_I2C_RevB_ReadByte(mxc_i2c_revb_regs_t *i2c, unsigned char *byte, int ack) in MXC_I2C_RevB_ReadByte()
126 int MXC_I2C_RevB_ReadByteInteractive(mxc_i2c_revb_regs_t *i2c, unsigned char *byte, in MXC_I2C_RevB_ReadByteInteractive()
133 int MXC_I2C_RevB_Write(mxc_i2c_revb_regs_t *i2c, unsigned char *bytes, unsigned int *len) in MXC_I2C_RevB_Write()
138 int MXC_I2C_RevB_Read(mxc_i2c_revb_regs_t *i2c, unsigned char *bytes, unsigned int *len, int ack) in MXC_I2C_RevB_Read()
143 int MXC_I2C_RevB_ReadRXFIFO(mxc_i2c_revb_regs_t *i2c, volatile unsigned char *bytes, in MXC_I2C_RevB_ReadRXFIFO()
149 int MXC_I2C_RevB_ReadRXFIFODMA(mxc_i2c_revb_regs_t *i2c, unsigned char *bytes, unsigned int len, in MXC_I2C_RevB_ReadRXFIFODMA()
155 int MXC_I2C_RevB_GetRXFIFOAvailable(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_GetRXFIFOAvailable()
160 int MXC_I2C_RevB_WriteTXFIFO(mxc_i2c_revb_regs_t *i2c, volatile unsigned char *bytes, in MXC_I2C_RevB_WriteTXFIFO()
166 int MXC_I2C_RevB_WriteTXFIFODMA(mxc_i2c_revb_regs_t *i2c, unsigned char *bytes, unsigned int len, in MXC_I2C_RevB_WriteTXFIFODMA()
172 int MXC_I2C_RevB_GetTXFIFOAvailable(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_GetTXFIFOAvailable()
177 void MXC_I2C_RevB_ClearRXFIFO(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_ClearRXFIFO()
182 void MXC_I2C_RevB_ClearTXFIFO(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_ClearTXFIFO()
187 int MXC_I2C_RevB_GetFlags(mxc_i2c_revb_regs_t *i2c, unsigned int *flags0, unsigned int *flags1) in MXC_I2C_RevB_GetFlags()
192 void MXC_I2C_RevB_ClearFlags(mxc_i2c_revb_regs_t *i2c, unsigned int flags0, unsigned int flags1) in MXC_I2C_RevB_ClearFlags()
197 void MXC_I2C_RevB_EnableInt(mxc_i2c_revb_regs_t *i2c, unsigned int flags0, unsigned int flags1) in MXC_I2C_RevB_EnableInt()
202 void MXC_I2C_RevB_DisableInt(mxc_i2c_revb_regs_t *i2c, unsigned int flags0, unsigned int flags1) in MXC_I2C_RevB_DisableInt()
207 void MXC_I2C_RevB_EnablePreload(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_EnablePreload()
212 void MXC_I2C_RevB_DisablePreload(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_DisablePreload()
217 void MXC_I2C_RevB_EnableGeneralCall(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_EnableGeneralCall()
222 void MXC_I2C_RevB_DisableGeneralCall(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_DisableGeneralCall()
227 void MXC_I2C_RevB_SetTimeout(mxc_i2c_revb_regs_t *i2c, unsigned int timeout) in MXC_I2C_RevB_SetTimeout()
232 unsigned int MXC_I2C_RevB_GetTimeout(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_GetTimeout()
237 int MXC_I2C_RevB_Recover(mxc_i2c_revb_regs_t *i2c, unsigned int retries) in MXC_I2C_RevB_Recover()
261 int MXC_I2C_RevB_SlaveTransaction(mxc_i2c_revb_regs_t *i2c, mxc_i2c_revb_slave_handler_t callback, in MXC_I2C_RevB_SlaveTransaction()
268 int MXC_I2C_RevB_SlaveTransactionAsync(mxc_i2c_revb_regs_t *i2c, in MXC_I2C_RevB_SlaveTransactionAsync()
276 int MXC_I2C_RevB_SetRXThreshold(mxc_i2c_revb_regs_t *i2c, unsigned int numBytes) in MXC_I2C_RevB_SetRXThreshold()
281 unsigned int MXC_I2C_RevB_GetRXThreshold(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_GetRXThreshold()
286 int MXC_I2C_RevB_SetTXThreshold(mxc_i2c_revb_regs_t *i2c, unsigned int numBytes) in MXC_I2C_RevB_SetTXThreshold()
291 unsigned int MXC_I2C_RevB_GetTXThreshold(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_GetTXThreshold()
296 void MXC_I2C_RevB_AsyncCallback(mxc_i2c_revb_regs_t *i2c, int retVal) in MXC_I2C_RevB_AsyncCallback()
301 void MXC_I2C_RevB_AsyncStop(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_AsyncStop()
306 void MXC_I2C_RevB_AbortAsync(mxc_i2c_revb_regs_t *i2c) in MXC_I2C_RevB_AbortAsync()
316 unsigned int MXC_I2C_RevB_SlaveAsyncHandler(mxc_i2c_revb_regs_t *i2c, in MXC_I2C_RevB_SlaveAsyncHandler()
423 void MXC_I2C_RevB_AsyncHandler(mxc_i2c_revb_regs_t *i2c, uint32_t interruptCheck) in MXC_I2C_RevB_AsyncHandler()