Lines Matching refs:smbus
170 bool smbus = false;
186 * On smbus systems in OP mode, the i2c_reg_read will fail with
187 * -ETIMEDOUT. In this case, try again using the smbus equivalent
190 if (cyapa->smbus && (error == -ETIMEDOUT || error == -ENXIO)) {
194 smbus = true;
226 !smbus && even_addr) {
237 if (!smbus) {
251 } while (--retries > 0 && !smbus);
1272 /* i2c isn't supported, use smbus */
1274 cyapa->smbus = true;