Searched refs:i2cPort (Results 1 – 2 of 2) sorted by relevance
64 uint32_t i2cPort; in InitI2cDevice() local74 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() local119 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() local311 i2cPort = (uint32_t)device->port; in i2c_transfer()[all …]
88 uint32_t i2cPort; in InitI2cDevice() local109 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() local364 i2cPort = (uint32_t)device->port; in i2c_transfer()365 if (i2cPort > HAL_I2C_ID_NUM) { in i2c_transfer()[all …]