Home
last modified time | relevance | path

Searched refs:i2cPort (Results 1 – 2 of 2) sorted by relevance

/drivers/hdf_core/adapter/platform/i2c/
Di2c_wm.c64 uint32_t i2cPort; in InitI2cDevice() local
74 i2cPort = device->port; in InitI2cDevice()
75 if (i2cPort >= HAL_I2C_ID_NUM) { in InitI2cDevice()
76 HDF_LOGE("i2c port %u not support\r\n", i2cPort); in InitI2cDevice()
107 uint32_t i2cPort; in HostRestI2cDevice() local
119 i2cPort = device->port; in HostRestI2cDevice()
120 if (i2cPort > HAL_I2C_ID_NUM) { in HostRestI2cDevice()
121 HDF_LOGE("i2c port %u not support\r\n", i2cPort); in HostRestI2cDevice()
306 uint32_t i2cPort; in i2c_transfer() local
311 i2cPort = (uint32_t)device->port; in i2c_transfer()
[all …]
Di2c_bes.c88 uint32_t i2cPort; in InitI2cDevice() local
109 i2cPort = device->port; in InitI2cDevice()
110 if (i2cPort > HAL_I2C_ID_NUM) { in InitI2cDevice()
111 HDF_LOGE("i2c port %u not support\r\n", i2cPort); in InitI2cDevice()
125 I2cDeviceIomuxInit(i2cPort, resource); in InitI2cDevice()
127 ret = hal_i2c_open(i2cPort, i2cConfig); in InitI2cDevice()
129 HDF_LOGD("open %u i2c succ.\r\n", i2cPort); in InitI2cDevice()
358 uint32_t i2cPort; in i2c_transfer() local
364 i2cPort = (uint32_t)device->port; in i2c_transfer()
365 if (i2cPort > HAL_I2C_ID_NUM) { in i2c_transfer()
[all …]