Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/i2c/
H A Dstm32f7_i2c.c98 #define STM32_I2C_MAX_LEN 0xff macro
282 if (msg->len > STM32_I2C_MAX_LEN) { in stm32_i2c_message_start()
283 cr2 |= STM32_I2C_CR2_NBYTES(STM32_I2C_MAX_LEN); in stm32_i2c_message_start()
309 if (msg->len > STM32_I2C_MAX_LEN) { in stm32_i2c_handle_reload()
310 cr2 |= STM32_I2C_CR2_NBYTES(STM32_I2C_MAX_LEN); in stm32_i2c_handle_reload()
401 int bytes_to_rw = msg->len > STM32_I2C_MAX_LEN ? in stm32_i2c_message_xfer()
402 STM32_I2C_MAX_LEN : msg->len; in stm32_i2c_message_xfer()
441 bytes_to_rw = msg->len > STM32_I2C_MAX_LEN ? in stm32_i2c_message_xfer()
442 STM32_I2C_MAX_LEN : msg->len; in stm32_i2c_message_xfer()