Home
last modified time | relevance | path

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

/external/u-boot/drivers/i2c/
Di2c-cdns.c269 static inline bool cdns_is_hold_quirk(int hold_quirk, int curr_recv_count) in cdns_is_hold_quirk() argument
271 return hold_quirk && (curr_recv_count == CDNS_I2C_FIFO_DEPTH + 1); in cdns_is_hold_quirk()
280 int updatetx, hold_quirk; in cdns_i2c_read_data() local
307 hold_quirk = (i2c_bus->quirks & CDNS_I2C_BROKEN_HOLD_BIT) && updatetx; in cdns_i2c_read_data()
320 if (cdns_is_hold_quirk(hold_quirk, curr_recv_count)) in cdns_i2c_read_data()
324 if (cdns_is_hold_quirk(hold_quirk, curr_recv_count)) { in cdns_i2c_read_data()
344 } else if (recv_count && !hold_quirk && !curr_recv_count) { in cdns_i2c_read_data()
369 bool hold_quirk; in cdns_i2c_xfer() local
371 hold_quirk = !!(i2c_bus->quirks & CDNS_I2C_BROKEN_HOLD_BIT); in cdns_i2c_xfer()
381 for (count = 0; (count < nmsgs - 1) && hold_quirk; count++) { in cdns_i2c_xfer()