Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/i2c/
H A Dstm32f7_i2c.c99 #define STM32_I2C_MAX_LEN 0xff macro
285 if (msg->len > STM32_I2C_MAX_LEN) { in stm32_i2c_message_start()
286 cr2 |= STM32_I2C_CR2_NBYTES(STM32_I2C_MAX_LEN); in stm32_i2c_message_start()
312 if (msg->len > STM32_I2C_MAX_LEN) { in stm32_i2c_handle_reload()
313 cr2 |= STM32_I2C_CR2_NBYTES(STM32_I2C_MAX_LEN); in stm32_i2c_handle_reload()
404 int bytes_to_rw = msg->len > STM32_I2C_MAX_LEN ? in stm32_i2c_message_xfer()
405 STM32_I2C_MAX_LEN : msg->len; in stm32_i2c_message_xfer()
444 bytes_to_rw = msg->len > STM32_I2C_MAX_LEN ? in stm32_i2c_message_xfer()
445 STM32_I2C_MAX_LEN : msg->len; in stm32_i2c_message_xfer()