Lines Matching defs:debugf

86 #define	debugf(sc, fmt, args...)	if ((sc)->debug)	\
102 debugf(sc, "read %x from %lx\n", val, off);
111 debugf(sc, "Writing %x to %lx\n", val, off);
121 debugf(sc, "read val=%x\n", val);
124 debugf(sc, "write val=%x\n", val);
134 debugf(sc, "read val=%x\n", val);
137 debugf(sc, "write val=%x\n", val);
166 debugf(sc, "Waiting for ctrl reg to match mask %x\n", mask);
172 debugf(sc, "done\n");
196 debugf(sc, "send start\n");
200 debugf(sc, "IFLG set, clearing (mask=%x)\n", mask);
211 debugf(sc, "timeout sending %sSTART condition\n",
217 debugf(sc, "status=%x\n", status);
220 debugf(sc, "wrong status (%02x) after sending %sSTART condition\n",
230 debugf(sc, "timeout sending slave address (timeout=%d)\n", timeout);
238 debugf(sc, "no ACK (status: %02x) after sending slave address\n",
263 debugf(sc, "Bus clock is at %ju\n", clk);
300 debugf(sc, "Using IIC_FAST mode with speed param=%x\n", param);
306 debugf(sc, "Using IIC_FASTEST/UNKNOWN mode with speed param=%x\n", param);
311 debugf(sc, "Using clock param=%x\n", param);
330 debugf(sc, "%s\n", __func__);
352 debugf(sc, "%s: slave=%x\n", __func__, slave);
376 debugf(sc, "%s: slave=%x\n", __func__, slave);
414 debugf(sc, "timeout reading data (delay=%d)\n", delay);
422 debugf(sc, "wrong status (%02x) while reading\n", status);
453 debugf(sc, "timeout writing data (timeout=%d)\n", timeout);
460 debugf(sc, "wrong status (%02x) while writing\n", status);
478 debugf(sc, "Sending STOP condition for error %d\n", err);
501 debugf(sc, "transmitting %d messages\n", nmsgs);
503 debugf(sc, "status=0x%x\n", status);
505 debugf(sc, "Bad status at start of transfer\n");
518 debugf(sc, "msg %d is %d bytes long\n", i, msgs[i].len);
525 debugf(sc, "pause finish\n");
533 debugf(sc, "Error: %d\n", sc->error);
537 debugf(sc, "status=0x%x\n", TWSI_READ(sc, sc->reg_status));
539 debugf(sc, "status=0x%x\n", TWSI_READ(sc, sc->reg_status));
558 debugf(sc, "Got interrupt, current msg=%u\n", sc->msg_idx);
561 debugf(sc, "reg control = 0x%x, status = 0x%x\n",
579 debugf(sc, "Send address 0x%x\n",
591 debugf(sc, "Address ACK-ed (write)\n");
596 debugf(sc, "Sending byte 0 (of %d) = %x\n",
602 debugf(sc, "Zero-length write, sending STOP\n");
609 debugf(sc, "Address ACK-ed (read)\n");
613 debugf(sc, "Zero-length read, sending STOP\n");
625 debugf(sc, "Address NACK-ed\n");
629 debugf(sc, "Data byte NACK-ed\n");
635 debugf(sc, "ACK received after transmitting data\n");
637 debugf(sc, "Done TX data\n");
644 debugf(sc, "NOSTOP flag\n");
650 debugf(sc, "Sending byte %d (of %d) = 0x%x\n",
660 debugf(sc, "Received and ACK-ed data\n");
666 debugf(sc, "Received byte %d (of %d) = 0x%x\n",
680 debugf(sc, "RX all but asked for more?\n");
686 debugf(sc, "Received and NACK-ed data\n");
691 debugf(sc, "Received byte %d (of %d) = 0x%x\n",
698 debugf(sc, "Done RX data\n");
700 debugf(sc, "Send STOP\n");
710 debugf(sc, "NACK-ed before receving all bytes?\n");
716 debugf(sc, "Bus error\n");
720 debugf(sc, "Arbitration lost\n");
724 debugf(sc, "unexpected status 0x%x\n", status);
732 debugf(sc, "All messages transmitted\n");
736 debugf(sc, "Send (repeated) start\n");
745 debugf(sc, "NOSTART message after NOSTOP\n");
752 debugf(sc, "Read+NOSTART unsupported\n");
761 debugf(sc, "Refresh reg_control\n");
766 debugf(sc, "Done with interrupt, transfer = %d\n", sc->transfer);