Lines Matching refs:DBG_I2C
38 #define DBG_I2C 1<<0
75 PDEBUG(DBG_I2C,"Needed %d retries for address %#2x", i, addr);
76 PDEBUG(DBG_I2C,"Maybe there's no device at this address");
99 PDEBUG(DBG_I2C,"Needed %d retries for address %#2x", i, addr);
100 PDEBUG(DBG_I2C,"Maybe there's no device at this address");
167 PDEBUG(DBG_I2C,"got NAK from device, message #%d", i);
219 PDEBUG(DBG_I2C,"Adaptername: %s", usbvision->i2c_adap.name);
229 PDEBUG(DBG_I2C, "I2C debugging is enabled [i2c]");
230 PDEBUG(DBG_I2C, "ALGO debugging is enabled [i2c]");
241 PDEBUG(DBG_I2C, "i2c bus for %s registered", usbvision->i2c_adap.name);
287 PDEBUG(DBG_I2C,"i2c bus for %s unregistered", usbvision->i2c_adap.name);
347 if (i2c_debug & DBG_I2C) {
350 PDEBUG(DBG_I2C,"read %x from address %x", (unsigned char)buf[idx], addr);
408 if (i2c_debug & DBG_I2C) {
411 PDEBUG(DBG_I2C,"wrote %x at address %x", (unsigned char)buf[idx], addr);