Home
last modified time | relevance | path

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

/linux/drivers/i2c/
H A Di2c-core-base.c2150 static int i2c_quirk_error(struct i2c_adapter *adap, struct i2c_msg *msg, char *err_msg) in i2c_quirk_error() function
2170 return i2c_quirk_error(adap, &msgs[0], "1st comb msg must be write"); in i2c_check_for_quirks()
2173 return i2c_quirk_error(adap, &msgs[1], "2nd comb msg must be read"); in i2c_check_for_quirks()
2176 return i2c_quirk_error(adap, &msgs[0], "comb msg only to same addr"); in i2c_check_for_quirks()
2179 return i2c_quirk_error(adap, &msgs[0], "msg too long"); in i2c_check_for_quirks()
2182 return i2c_quirk_error(adap, &msgs[1], "msg too long"); in i2c_check_for_quirks()
2189 return i2c_quirk_error(adap, &msgs[0], "too many messages"); in i2c_check_for_quirks()
2196 return i2c_quirk_error(adap, &msgs[i], "msg too long"); in i2c_check_for_quirks()
2199 return i2c_quirk_error(adap, &msgs[i], "no zero length"); in i2c_check_for_quirks()
2202 return i2c_quirk_error(adap, &msgs[i], "msg too long"); in i2c_check_for_quirks()
[all …]