Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/i2c/
H A Di2c-cdns.c301 static inline bool cdns_is_hold_quirk(int hold_quirk, int curr_recv_count) in cdns_is_hold_quirk() argument
303 return hold_quirk && (curr_recv_count == CDNS_I2C_FIFO_DEPTH + 1); in cdns_is_hold_quirk()
312 int updatetx, hold_quirk; in cdns_i2c_read_data() local
336 hold_quirk = (i2c_bus->quirks & CDNS_I2C_BROKEN_HOLD_BIT) && updatetx; in cdns_i2c_read_data()
349 if (cdns_is_hold_quirk(hold_quirk, curr_recv_count)) in cdns_i2c_read_data()
353 if (cdns_is_hold_quirk(hold_quirk, curr_recv_count)) { in cdns_i2c_read_data()
373 } else if (recv_count && !hold_quirk && !curr_recv_count) { in cdns_i2c_read_data()
404 bool hold_quirk; in cdns_i2c_xfer() local
408 hold_quirk = !!(i2c_bus->quirks & CDNS_I2C_BROKEN_HOLD_BIT); in cdns_i2c_xfer()
418 for (count = 0; (count < nmsgs - 1) && hold_quirk; count++) { in cdns_i2c_xfer()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-cadence.c827 bool hold_quirk; in cdns_i2c_master_xfer() local
865 hold_quirk = !!(id->quirks & CDNS_I2C_BROKEN_HOLD_BIT); in cdns_i2c_master_xfer()
878 for (count = 0; (count < num - 1 && hold_quirk); count++) { in cdns_i2c_master_xfer()