Lines Matching refs:i2c_quirk_error
2004 static int i2c_quirk_error(struct i2c_adapter *adap, struct i2c_msg *msg, char *err_msg) in i2c_quirk_error() function
2024 return i2c_quirk_error(adap, &msgs[0], "1st comb msg must be write"); in i2c_check_for_quirks()
2027 return i2c_quirk_error(adap, &msgs[1], "2nd comb msg must be read"); in i2c_check_for_quirks()
2030 return i2c_quirk_error(adap, &msgs[0], "comb msg only to same addr"); in i2c_check_for_quirks()
2033 return i2c_quirk_error(adap, &msgs[0], "msg too long"); in i2c_check_for_quirks()
2036 return i2c_quirk_error(adap, &msgs[1], "msg too long"); in i2c_check_for_quirks()
2043 return i2c_quirk_error(adap, &msgs[0], "too many messages"); in i2c_check_for_quirks()
2050 return i2c_quirk_error(adap, &msgs[i], "msg too long"); in i2c_check_for_quirks()
2053 return i2c_quirk_error(adap, &msgs[i], "no zero length"); in i2c_check_for_quirks()
2056 return i2c_quirk_error(adap, &msgs[i], "msg too long"); in i2c_check_for_quirks()
2059 return i2c_quirk_error(adap, &msgs[i], "no zero length"); in i2c_check_for_quirks()