Home
last modified time | relevance | path

Searched refs:I2cDevice (Results 1 – 4 of 4) sorted by relevance

/drivers/hdf_core/adapter/platform/i2c/
Di2c_wm.c30 struct I2cDevice { struct
62 static int32_t InitI2cDevice(struct I2cDevice *device) in InitI2cDevice()
104 static int32_t HostRestI2cDevice(struct I2cDevice *device) in HostRestI2cDevice()
128 static uint32_t GetI2cDeviceResource(struct I2cDevice *device, in GetI2cDeviceResource()
177 struct I2cDevice *i2cDevice = NULL; in AttachI2cDevice()
184 i2cDevice = (struct I2cDevice *)OsalMemAlloc(sizeof(struct I2cDevice)); in AttachI2cDevice()
189 (void)memset_s(i2cDevice, sizeof(struct I2cDevice), 0, sizeof(struct I2cDevice)); in AttachI2cDevice()
250 struct I2cDevice *i2cDevice = NULL; in i2cDriverRelease()
262 i2cDevice = (struct I2cDevice *)i2cCntrl->priv; in i2cDriverRelease()
302 static int32_t i2c_transfer(struct I2cDevice *device, struct I2cMsg *msgs, int16_t count) in i2c_transfer()
[all …]
Di2c_bes.c85 static int32_t InitI2cDevice(struct I2cDevice *device) in InitI2cDevice()
154 static uint32_t GetI2cDeviceResource(struct I2cDevice *device, in GetI2cDeviceResource()
174 static uint32_t GetI2cDeviceResource(struct I2cDevice *device, in GetI2cDeviceResource()
242 struct I2cDevice *i2cDevice = NULL; in AttachI2cDevice()
249 i2cDevice = (struct I2cDevice *)OsalMemAlloc(sizeof(struct I2cDevice)); in AttachI2cDevice()
254 (void)memset_s(i2cDevice, sizeof(struct I2cDevice), 0, sizeof(struct I2cDevice)); in AttachI2cDevice()
332 struct I2cDevice *i2cDevice = NULL; in i2cDriverRelease()
344 i2cDevice = (struct I2cDevice *)i2cCntrl->priv; in i2cDriverRelease()
353 static int32_t i2c_transfer(struct I2cDevice *device, struct I2cMsg *msgs, int16_t count) in i2c_transfer()
406 struct I2cDevice *device = NULL; in i2cHostTransfer()
[all …]
Di2c_bes.h36 struct I2cDevice { struct
Di2c_stm32f4xx.c181 struct RealI2cResource *device = (struct I2cDevice *)cntlr->priv; in I2cDataTransfer()
258 struct RealI2cResource *i2cDevice = (struct I2cDevice *)i2cCntrl->priv; in I2cDriverRelease()