Lines Matching refs:DBG
61 #ifdef DBG
62 #undef DBG
70 # define DBG(f,x...) printk(KERN_DEBUG "ibm-iic" f, ##x) macro
72 # define DBG(f,x...) ((void)0) macro
75 # define DBG2(f,x...) DBG(f, ##x)
136 DBG("%d: init\n", dev->idx); in iic_dev_init()
183 DBG("%d: soft reset\n", dev->idx); in iic_dev_reset()
192 DBG("%d: trying to regain bus control\n", dev->idx); in iic_dev_reset()
247 DBG("%d: smbus_quick - 10 bit addresses are not supported\n", in iic_smbus_quick()
252 DBG("%d: smbus_quick(0x%02x)\n", dev->idx, p->addr); in iic_smbus_quick()
305 DBG("%d: smbus_quick -> %s\n", dev->idx, res ? "NACK" : "ACK"); in iic_smbus_quick()
315 DBG("%d: smbus_quick - bus is stuck\n", dev->idx); in iic_smbus_quick()
347 DBG("%d: xfer error, EXTSTS = 0x%02x\n", dev->idx, in iic_xfer_result()
363 DBG("%d: bus is stuck, resetting\n", dev->idx); in iic_xfer_result()
380 DBG("%d: iic_abort_xfer\n", dev->idx); in iic_abort_xfer()
391 DBG("%d: abort timeout, resetting...\n", dev->idx); in iic_abort_xfer()
418 DBG("%d: wait interrupted\n", dev->idx); in iic_wait_for_tc()
420 DBG("%d: wait timeout\n", dev->idx); in iic_wait_for_tc()
430 DBG("%d: poll timeout\n", dev->idx); in iic_wait_for_tc()
436 DBG("%d: poll interrupted\n", dev->idx); in iic_wait_for_tc()
494 DBG("%d: xfer_bytes, requested %d, transferred %d\n", in iic_xfer_bytes()
563 DBG("%d: invalid address 0x%03x (%d-bit)\n", dev->idx, in iic_xfer()
576 DBG("%d: invalid len %d in msg[%d]\n", dev->idx, in iic_xfer()
581 DBG("%d: invalid addr in msg[%d]\n", dev->idx, i); in iic_xfer()
588 DBG("%d: iic_xfer, bus is not free\n", dev->idx); in iic_xfer()
601 DBG("%d: iic_xfer, bus is still not free\n", dev->idx); in iic_xfer()