/freebsd-12-stable/sys/dev/usb/ |
H A D | usb_debug.h | 40 #define DPRINTFN(n,fmt,...) do { \ macro 46 #define DPRINTF(...) DPRINTFN(1, __VA_ARGS__) 49 #define DPRINTFN(...) do { } while (0) macro
|
H A D | usb_dev.c | 197 DPRINTFN(2, "cpd=%p need uref=%d\n", cpd, need_uref); 205 DPRINTFN(2, "no bus at %u\n", cpd->bus_index); 210 DPRINTFN(2, "no device at %u\n", cpd->dev_index); 215 DPRINTFN(2, "device is detached\n"); 219 DPRINTFN(2, "ref udev - needed\n"); 222 DPRINTFN(2, "no dev ref\n"); 288 DPRINTFN(2, "ref write\n"); 292 DPRINTFN(2, "ref read\n"); 308 DPRINTFN(2, "fail\n"); 356 DPRINTFN( [all...] |
H A D | usb_hub.c | 227 DPRINTFN(2, "\n"); 470 DPRINTFN(6, "cannot reset root HUB\n"); 495 DPRINTFN(0, "Could not unconfigure " 500 DPRINTFN(6, "cannot set port feature\n"); 507 DPRINTFN(0, "Could not disable port " 599 DPRINTFN(4, "port %d, HUB looks dead, too many errors\n", portno); 620 DPRINTFN(4, "port %d, wPortStatus=0x%04x, " 743 DPRINTFN(0, "port %d reset " 759 DPRINTFN(0, "giving up port %d reset - " 823 DPRINTFN( [all...] |
H A D | usb_hid.c | 187 DPRINTFN(0, "Only one bit can be " 273 DPRINTFN(1, "Using last usage\n"); 283 DPRINTFN(1, "%u,%u,%u\n", h->loc.pos, 341 DPRINTFN(0, "bad length %u (data=0x%02x)\n", 359 DPRINTFN(0, "Number of " 393 DPRINTFN(0, "invalid end collection\n"); 400 DPRINTFN(0, "Main bTag=%d\n", bTag); 441 DPRINTFN(0, "Cannot push item @ %d\n", s->pushlevel); 455 DPRINTFN(0, "Cannot pop item @ 0\n"); 471 DPRINTFN( [all...] |
H A D | usb_generic.c | 184 DPRINTFN(1, "flag=0x%x pid=%d name=%s\n", fflags, 216 DPRINTFN(1, "flag=0x%x pid=%d name=%s\n", fflags, 231 DPRINTFN(6, "no FIFOs\n"); 415 DPRINTFN(4, "actlen=%u, aframes=%u\n", xfer->actlen, xfer->aframes); 467 DPRINTFN(4, "actlen=%u, aframes=%u\n", xfer->actlen, xfer->aframes); 510 DPRINTFN(5, "f=%p: stall cleared\n", f); 527 DPRINTFN(5, "f=%p: stall cleared\n", f); 540 DPRINTFN(4, "actlen=%u, aframes=%u\n", xfer->actlen, xfer->aframes); 545 DPRINTFN(6, "actlen=%d\n", xfer->actlen); 580 DPRINTFN( [all...] |
H A D | usb_device.c | 374 DPRINTFN(10, "udev=%p iface_index=%d address=0x%x " 684 DPRINTFN(6, "udev=%p index=%d\n", udev, index); 729 DPRINTFN(0, "could not read " 756 DPRINTFN(0, "power exceeded %d > %d\n", power, max_power); 843 DPRINTFN(5, "iface_index=%d cmd=%d\n", 928 DPRINTFN(5, "found idesc nendpt=%d\n", id->bNumEndpoints); 950 DPRINTFN(5, "Found endpoint companion descriptor\n"); 1279 DPRINTFN(4, "udev=%p\n", udev); 1512 DPRINTFN(2, "end of interfaces " 1533 DPRINTFN( [all...] |
H A D | usb_request.c | 435 DPRINTFN(5, "udev=%p bmRequestType=0x%02x bRequest=0x%02x " 479 DPRINTFN(1, "The handle request function " 858 DPRINTFN(2, "port %d reset returning error=%s\n", 957 DPRINTFN(2, "port %d warm reset returning error=%s\n", 997 DPRINTFN(4, "id=%d, type=%d, index=%d, max_len=%d\n", 1280 DPRINTFN(4, "confidx=%d\n", conf_index); 1353 DPRINTFN(4, "index=%d\n", index); 1398 DPRINTFN(4, "\n"); 1569 DPRINTFN(6, "setting device address=%d\n", addr); 1789 DPRINTFN( [all...] |
H A D | usb_transfer.c | 1028 DPRINTFN(6, "setup array has zero length!\n"); 1032 DPRINTFN(6, "ifaces array is NULL!\n"); 1036 DPRINTFN(6, "using global lock\n"); 1348 DPRINTFN(0, "cannot allocate memory block for " 1612 DPRINTFN(0, "Too many frames: %u\n", 1643 DPRINTFN(0, "Wrong framelength %u != %zu\n", 1691 DPRINTFN(0, "Length (%d) greater than " 1704 DPRINTFN(0, "Short control transfer without " 1724 DPRINTFN(0, "Invalid parameter " 2437 DPRINTFN( [all...] |
/freebsd-12-stable/sys/dev/usb/controller/ |
H A D | atmegadci.c | 156 DPRINTFN(5, "\n"); 177 DPRINTFN(5, "\n"); 239 DPRINTFN(5, "addr=%d\n", addr); 263 DPRINTFN(5, "UEINTX=0x%02x\n", temp); 280 DPRINTFN(0, "Invalid SETUP packet " 285 DPRINTFN(0, "Unsupported SETUP packet " 316 DPRINTFN(5, "stalling\n"); 355 DPRINTFN(5, "temp=0x%02x rem=%u\n", temp, td->remainder); 363 DPRINTFN(5, "faking complete\n"); 467 DPRINTFN( [all...] |
H A D | avr32dci.c | 202 DPRINTFN(5, "\n"); 218 DPRINTFN(5, "\n"); 270 DPRINTFN(5, "addr=%d\n", addr); 289 DPRINTFN(5, "EPTSTA(%u)=0x%08x\n", td->ep_no, temp); 301 DPRINTFN(0, "Invalid SETUP packet " 306 DPRINTFN(0, "Unsupported SETUP packet " 342 DPRINTFN(5, "stalling\n"); 371 DPRINTFN(5, "EPTSTA(%u)=0x%08x\n", td->ep_no, temp); 379 DPRINTFN(5, "faking complete\n"); 468 DPRINTFN( [all...] |
H A D | musb_otg.c | 217 DPRINTFN(-1, "No available channels. Mask: %04x\n", sc->sc_channel_mask); 226 DPRINTFN(1, "ep_no=%d\n", td->channel); 267 DPRINTFN(4, "\n"); 283 DPRINTFN(4, "\n"); 396 DPRINTFN(4, "addr=%d\n", addr); 419 DPRINTFN(1, "ep_no=%d\n", td->channel); 427 DPRINTFN(4, "csr=0x%02x\n", csr); 437 DPRINTFN(1, "CSR0 DATAEND\n"); 459 DPRINTFN(1, "EP0 BUSY\n"); 470 DPRINTFN( [all...] |
H A D | saf1761_otg.c | 206 DPRINTFN(5, "\n"); 446 DPRINTFN(5, "STATUS=0x%08x\n", status); 516 DPRINTFN(5, "STATUS=0x%08x\n", status); 640 DPRINTFN(5, "STATUS=0x%08x\n", status); 728 DPRINTFN(5, "STATUS=0x%08x\n", status); 841 DPRINTFN(5, "STATUS=0x%08x\n", status); 937 DPRINTFN(5, "STATUS=0x%08x\n", status); 1032 DPRINTFN(5, "STATUS=0x%08x\n", status); 1093 DPRINTFN(5, "addr=%d\n", addr); 1207 DPRINTFN( [all...] |
H A D | uss820dci.c | 239 DPRINTFN(0, "not supported\n"); 245 DPRINTFN(5, "addr=%d\n", addr); 264 DPRINTFN(5, "rx_stat=0x%02x rem=%u\n", rx_stat, td->remainder); 290 DPRINTFN(0, "Invalid SETUP packet " 295 DPRINTFN(0, "Unsupported SETUP packet " 357 DPRINTFN(5, "stalling\n"); 399 DPRINTFN(5, "rx_stat=0x%02x rx_flag=0x%02x rem=%u\n", 410 DPRINTFN(5, "faking complete\n"); 422 DPRINTFN(5, "overflow or underflow\n"); 445 DPRINTFN( [all...] |
H A D | uhci.c | 288 DPRINTFN(2, "Already started\n"); 292 DPRINTFN(2, "Restarting\n"); 311 DPRINTFN(2, "Failed\n"); 396 DPRINTFN(2, "enabling\n"); 715 DPRINTFN(0, "%s regs: cmd=%04x, sts=%04x, intr=%04x, frnum=%04x, " 797 DPRINTFN(0, "QH(%p) at 0x%08x: h_next=0x%08x e_next=0x%08x\n", sqh, 848 DPRINTFN(6, "add\n"); 871 DPRINTFN(6, "remove\n"); 899 DPRINTFN(11, "%p to %p\n", std, last); 925 DPRINTFN(1 [all...] |
H A D | xhci.c | 179 DPRINTFN(5, "trb = %p\n", trb); 180 DPRINTFN(5, "qwTrb0 = 0x%016llx\n", (long long)le64toh(trb->qwTrb0)); 181 DPRINTFN(5, "dwTrb2 = 0x%08x\n", le32toh(trb->dwTrb2)); 182 DPRINTFN(5, "dwTrb3 = 0x%08x\n", le32toh(trb->dwTrb3)); 188 DPRINTFN(5, "pep = %p\n", pep); 189 DPRINTFN(5, "dwEpCtx0=0x%08x\n", xhci_ctx_get_le32(sc, &pep->dwEpCtx0)); 190 DPRINTFN(5, "dwEpCtx1=0x%08x\n", xhci_ctx_get_le32(sc, &pep->dwEpCtx1)); 191 DPRINTFN(5, "qwEpCtx2=0x%016llx\n", (long long)xhci_ctx_get_le64(sc, &pep->qwEpCtx2)); 192 DPRINTFN(5, "dwEpCtx4=0x%08x\n", xhci_ctx_get_le32(sc, &pep->dwEpCtx4)); 193 DPRINTFN( [all...] |
H A D | dwc_otg.c | 327 DPRINTFN(-1, "Not enough data space for EP0 FIFO.\n"); 511 DPRINTFN(5, "\n"); 524 DPRINTFN(5, "\n"); 632 DPRINTFN(5, "Remote wakeup\n"); 678 DPRINTFN(5, "addr=%d\n", addr); 689 DPRINTFN(5, "RX status clear\n"); 1134 DPRINTFN(5, "GRXSTSR=0x%08x\n", sc->sc_last_rx_status); 1143 DPRINTFN(0, "Unsupported SETUP packet " 1184 DPRINTFN(5, "stalling IN and OUT direction\n"); 1692 DPRINTFN( [all...] |
H A D | ohci.c | 661 DPRINTFN(11, "%p to %p\n", sed, last); 665 DPRINTFN(0, "ED already linked!\n"); 694 DPRINTFN(11, "%p from %p\n", sed, last); 887 DPRINTFN(16, "error cc=%d (%s)\n", 899 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n", 1002 DPRINTFN(13, "xfer=%p following alt next\n", xfer); 1037 DPRINTFN(13, "xfer=%p checking transfer\n", xfer); 1070 DPRINTFN(13, "xfer=%p is still active\n", xfer); 1077 DPRINTFN(5, "\n"); 1125 DPRINTFN(1 [all...] |
H A D | ehci.c | 925 DPRINTFN(11, "%p to %p\n", std, last); 951 DPRINTFN(11, "%p to %p\n", std, last); 977 DPRINTFN(11, "%p to %p\n", sqh, last); 981 DPRINTFN(0, "QH already linked!\n"); 1009 DPRINTFN(11, "%p from %p\n", std, last); 1029 DPRINTFN(11, "%p from %p\n", std, last); 1049 DPRINTFN(11, "%p from %p\n", sqh, last); 1169 DPRINTFN(11, "error, addr=%d, endpt=0x%02x, frame=0x%02x" 1200 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n", 1267 DPRINTFN(1 [all...] |
/freebsd-12-stable/sys/dev/usb/net/ |
H A D | if_cdce.c | 344 DPRINTFN(1, "Found NCM functional descriptor.\n"); 381 DPRINTFN(1, "Using default maximum receive length\n"); 389 DPRINTFN(1, "Using default maximum transmit length\n"); 403 DPRINTFN(1, "Using default other alignment: 4 bytes\n"); 417 DPRINTFN(1, "Using default transmit modulus: 4 bytes\n"); 424 DPRINTFN(1, "Using default transmit remainder: 0 bytes\n"); 441 DPRINTFN(1, "Using default max " 469 DPRINTFN(1, "Setting input size " 483 DPRINTFN(1, "Setting CRC mode to off failed.\n"); 496 DPRINTFN( [all...] |
/freebsd-12-stable/sys/dev/usb/gadget/ |
H A D | g_mouse.c | 236 DPRINTFN(11, "Timeout %p (button press)\n", sc->sc_xfer[G_MOUSE_INTR_DT]); 250 DPRINTFN(11, "Timeout %p (cursor update)\n", sc->sc_xfer[G_MOUSE_INTR_DT]); 262 DPRINTFN(11, "\n"); 282 DPRINTFN(11, "\n");
|
H A D | g_keyboard.c | 200 DPRINTFN(11, "Timeout %p\n", sc->sc_xfer[G_KEYBOARD_INTR_DT]); 212 DPRINTFN(11, "\n"); 232 DPRINTFN(11, "\n");
|
/freebsd-12-stable/sys/dev/usb/template/ |
H A D | usb_template.c | 841 DPRINTFN(0, "Endpoint profile %u " 853 DPRINTFN(0, "Endpoint profile %u " 861 DPRINTFN(0, "Endpoint profile %u " 869 DPRINTFN(0, "Endpoint profile %u " 959 DPRINTFN(0, "Endpoint 0 does not " 1017 DPRINTFN(0, "Could not get needs\n"); 1030 DPRINTFN(0, "Could not find match\n"); 1044 DPRINTFN(0, "Could not update endpoint address\n"); 1387 DPRINTFN(0, "Could not resolve endpoints for " 1400 DPRINTFN( [all...] |
/freebsd-12-stable/sys/dev/usb/input/ |
H A D | wsp.c | 678 DPRINTFN(WSP_LLEVEL_INFO, "enabled wsp\n"); 686 DPRINTFN(WSP_LLEVEL_INFO, "disabled wsp\n"); 728 DPRINTFN(WSP_LLEVEL_INFO, "sc=%p\n", sc); 875 DPRINTFN(WSP_LLEVEL_INFO, "Invalid length: %d, %x, %x\n", 914 DPRINTFN(WSP_LLEVEL_INFO, 983 DPRINTFN(WSP_LLEVEL_INFO, "LEFT CLICK!\n"); 987 DPRINTFN(WSP_LLEVEL_INFO, "sum_x=%5d, sum_y=%5d\n", 992 DPRINTFN(WSP_LLEVEL_INFO, "RIGHT CLICK!\n"); 1036 DPRINTFN(WSP_LLEVEL_INFO, "Fist pre_x=%5d, pre_y=%5d\n", 1091 DPRINTFN(WSP_LLEVEL_INF [all...] |
/freebsd-12-stable/sys/dev/ral/ |
H A D | rt2560.c | 79 #define DPRINTFN(sc, n, fmt, ...) do { \ macro 85 #define DPRINTFN(sc, n, fmt, ...) macro 894 DPRINTFN(sc, 15, "encryption done idx=%u\n", 941 DPRINTFN(sc, 10, "%s\n", "data frame sent successfully"); 951 DPRINTFN(sc, 9, "data frame sent after %u retries\n", 962 DPRINTFN(sc, 9, "data frame failed after %d retries\n", 988 DPRINTFN(sc, 15, "tx done idx=%u\n", sc->txq.next); 1026 DPRINTFN(sc, 10, "%s\n", "mgt frame sent successfully"); 1030 DPRINTFN(sc, 9, "mgt frame sent after %u retries\n", 1035 DPRINTFN(s [all...] |
/freebsd-12-stable/sys/mips/cavium/usb/ |
H A D | octusb.c | 176 DPRINTFN(1, "cvmx_usb_open_pipe failed: %d\n", ep_handle); 340 DPRINTFN(1, "Excess setup transmit data\n"); 467 DPRINTFN(1, "Fixup buffer is too small\n"); 595 DPRINTFN(1, "Fixup buffer is too small\n"); 654 DPRINTFN(8, "\n"); 700 DPRINTFN(8, "\n"); 763 DPRINTFN(12, "xfer=%p endpoint=%p transfer done\n", 830 DPRINTFN(8, "\n"); 937 DPRINTFN(16, "real interrupt\n"); 1004 DPRINTFN( [all...] |