musb_dbg
musb_dbg(musb, "BUS RESET as %s", musb_otg_state_string(musb));
musb_dbg(musb, "HNP: in %s, %d msec timeout",
musb_dbg(musb, "HNP: RESET (%s), to b_peripheral",
musb_dbg(musb, "Unhandled BUS RESET as %s",
musb_dbg(musb, "<== DevCtl=%02x, int_usb=0x%x", devctl, int_usb);
musb_dbg(musb, "<== devctl %02x", devctl);
musb_dbg(musb, "<== static silicon ep config");
musb_dbg(musb, "%s: hw_ep %d%s, %smax %d",
musb_dbg(musb, "%s: hw_ep %d%s, %smax %d",
musb_dbg(musb, "hw_ep %d not configured", i);
musb_dbg(musb,
musb_dbg(musb, "HNP: %s timeout",
musb_dbg(musb, "HNP: Unhandled mode %s",
musb_dbg(musb, "HNP: stop from %s", musb_otg_state_string(musb));
musb_dbg(musb, "HNP: back to %s", musb_otg_state_string(musb));
musb_dbg(musb, "HNP: Disabling HR");
musb_dbg(musb, "HNP: Stopping in unknown state %s",
musb_dbg(musb, "RESUME (%s)", musb_otg_state_string(musb));
musb_dbg(musb, "SessReq while on B state");
musb_dbg(musb, "SESSION_REQUEST (%s)", musb_otg_state_string(musb));
musb_dbg(musb, "SUSPEND (%s) devctl %02x",
musb_dbg(musb, "HNP: Setting timer for b_ase0_brst");
musb_dbg(musb, "REVISIT: SUSPEND as B_HOST");
musb_dbg(musb, "HNP: SUSPEND+CONNECT, now b_host");
musb_dbg(musb, "CONNECT as b_peripheral???");
musb_dbg(musb, "HNP: CONNECT, now b_host");
musb_dbg(musb, "CONNECT (%s) devctl %02x",
musb_dbg(musb, "DISCONNECT (%s) as %s, devctl %02x",
musb_dbg(musb, "Restoring DATA1 toggle.");
void musb_dbg(struct musb *musb, const char *fmt, ...);
musb_dbg(musb, "packet size beyond hardware FIFO size");
musb_dbg(musb, "%s", musb_ep->end_point.name);
musb_dbg(musb, "req %p queued to %s while ep %s",
musb_dbg(musb, "request in progress, cannot halt %s",
musb_dbg(musb, "FIFO busy, cannot halt %s",
musb_dbg(musb, "%s: %s stall", ep->name, value ? "set" : "clear");
musb_dbg(musb, "restarting the request");
musb_dbg(musb, "Sending SRP: devctl: %02x", devctl);
musb_dbg(musb, "Unhandled wake: %s",
musb_dbg(musb, "issue wakeup");
musb_dbg(musb, "gadget D+ pullup %s",
musb_dbg(musb, "<= %s =>\n", __func__);
musb_dbg(musb, "%s: abort DMA --> %d", ep->name, value);
musb_dbg(musb, "musb_g_suspend: devctl %02x", devctl);
musb_dbg(musb, "musb_g_disconnect: devctl %02x", devctl);
musb_dbg(musb, "Unhandled disconnect %s, setting a_idle",
musb_dbg(musb, "<== %s driver '%s'",
musb_dbg(musb, "ep:%s disabled - ignore request",
musb_dbg(musb, "dma pending...");
musb_dbg(musb, "%s old packet still ready , txcsr %03x",
musb_dbg(musb, "%s stalling, txcsr %03x",
musb_dbg(musb, "hw_ep%d, maxpacket %d, fifo count %d, txcsr %03x",
musb_dbg(musb, "%s TX/IN %s len %d/%d, txcsr %04x, fifo %d/%d",
musb_dbg(musb, "<== %s, txcsr %04x", musb_ep->end_point.name, csr);
musb_dbg(musb, "%s dma still busy?", musb_ep->end_point.name);
musb_dbg(musb, "TXCSR%d %04x, DMA off, len %zu, req %p",
musb_dbg(musb, "%s idle now",
musb_dbg(musb, "ep:%s disabled - ignore request",
musb_dbg(musb, "DMA pending...");
musb_dbg(musb, "%s stalling, RXCSR %04x",
musb_dbg(musb, "%s OUT/RX pio fifo %d/%d, maxpacket %d",
musb_dbg(musb, "<== %s, rxcsr %04x%s %p", musb_ep->end_point.name,
musb_dbg(musb, "%s iso overrun on %p", musb_ep->name, request);
musb_dbg(musb, "%s, incomprx", musb_ep->end_point.name);
musb_dbg(musb, "%s busy, csr %04x",
musb_dbg(musb, "no support for high bandwidth ISO");
musb_dbg(musb, "packet size beyond hardware FIFO size");
musb_dbg(musb, "ep0 can't halt in state %d", musb->ep0_state);
musb_dbg(musb, "HNP: Setting HR");
musb_dbg(musb, "restarting the request");
musb_dbg(musb, "odd; csr0 %04x", musb_readw(regs, MUSB_CSR0));
musb_dbg(musb, "SETUP req%02x.%02x v%04x i%04x l%d",
musb_dbg(musb, "csr %04x, count %d, ep0stage %s",
musb_dbg(musb, "entering TESTMODE");
musb_dbg(musb, "handled %d, csr %04x, ep0stage %s",
musb_dbg(musb, "stall (%d)", handled);
musb_dbg(musb, "ep0 request queued in state %d",
musb_dbg(musb, "queue to %s (%s), length=%d",
musb_dbg(musb, "start no-DATA");
musb_dbg(musb, "start IN-DATA");
musb_dbg(musb, "start OUT-DATA");
musb_dbg(musb, "Sending %d byte%s to ep0 fifo %p",
musb_dbg(musb, "<== csr0 %04x, qh %p, count %d, urb %p, stage %d",
musb_dbg(musb, "STALLING ENDPOINT");
musb_dbg(musb, "no response, csr0 %04x", csr);
musb_dbg(musb, "control NAK timeout");
musb_dbg(musb, "aborting");
musb_dbg(musb, "ep0 STATUS, csr %04x", csr);
musb_dbg(musb, "extra TX%d ready, csr %04x", epnum, tx_csr);
musb_dbg(musb, "OUT/TX%d end, csr %04x%s", epnum, tx_csr,
musb_dbg(musb, "TX end %d stall", epnum);
musb_dbg(musb, "TX 3strikes on ep=%d", epnum);
musb_dbg(musb, "NAK timeout on TX%d ep", epnum);
musb_dbg(musb, "TX ep%d device not responding", epnum);
musb_dbg(musb, "extra TX%d ready, csr %04x", epnum, tx_csr);
musb_dbg(musb,
musb_dbg(musb, "not complete, but DMA enabled?");
musb_dbg(musb, "** OVERFLOW %d into %d",
musb_dbg(musb, "BOGUS RX%d ready, csr %04x, count %d",
musb_dbg(musb, "RX end %d STALL", epnum);
musb_dbg(musb, "RX end %d NAK timeout", epnum);
musb_dbg(musb, "RX end %d ISO data error", epnum);
musb_dbg(musb, "end %d high bandwidth incomplete ISO packet RX",
musb_dbg(musb, "RXCSR%d %04x, reqpkt, len %zu%s", epnum, rx_csr,
musb_dbg(hw_ep->musb,
musb_dbg(hw_ep->musb,
musb_dbg(musb, "read %spacket", done ? "last " : "");
musb_dbg(musb, "qh %p periodic slot %d", qh, best_end);
musb_dbg(musb, "abort %cX%d DMA for urb %p --> %d",
musb_dbg(musb, "check whether there's still time for periodic Tx");
musb_dbg(musb, "SOF for %d", epnum);
musb_dbg(musb, "Start TX%d %s", epnum,
musb_dbg(musb, "... next ep%d %cX urb %p",
musb_dbg(musb, "RX%d count %d, buffer %p len %d/%d", epnum, rx_count,
musb_dbg(musb, "OVERFLOW %d into %d", rx_count, length);
musb_dbg(musb, "OVERFLOW %d into %d", rx_count, length);
musb_dbg(musb, "%s hw%d urb %p spd%d dev%d ep%d%s "
musb_dbg(musb, "RXCSR%d := %04x", epnum, csr);
musb_dbg(musb, "bogus rh suspend? %s",
musb_dbg(musb, "Root port resuming, power %02x", power);
musb_dbg(musb, "HNP: Returning from HNP; no hub reset from b_idle");
musb_dbg(musb, "root port reset stopped");
musb_dbg(musb, "high-speed device connected");
musb_dbg(musb, "host disconnect (%s)",
musb_dbg(musb, "clear feature %d", wValue);
musb_dbg(musb, "root port resume stopped, power %02x", power);
musb_dbg(musb, "port status %08x", musb->port1_status);
musb_dbg(musb, "set feature %d", wValue);
musb_dbg(musb, "Root port suspended, power %02x", power);
musb_dbg(musb, "%p, pkt_sz %d, addr %pad, len %d, mode %d",
musb_dbg(musb, "ep%d-%s pkt_sz %d, dma_addr %pad length %d, mode %d",
musb_dbg(musb, "spurious DMA irq");
musb_dbg(musb, "int_hsdma = 0x%x", int_hsdma);
musb_dbg(musb, "ch %p, 0x%x -> 0x%x (%zu / %d) %s",