Searched refs:hold_quirk (Results 1 – 2 of 2) sorted by relevance
301 static inline bool cdns_is_hold_quirk(int hold_quirk, int curr_recv_count) in cdns_is_hold_quirk() argument303 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() local336 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() local408 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()
827 bool hold_quirk; in cdns_i2c_master_xfer() local865 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()