/freebsd-11-stable/sys/dev/usb/ |
H A D | usb_debug.h | 38 #define DPRINTFN(n,fmt,...) do { \ macro 44 #define DPRINTF(...) DPRINTFN(1, __VA_ARGS__) 47 #define DPRINTFN(...) do { } while (0) macro
|
H A D | usb_dev.c | 195 DPRINTFN(2, "cpd=%p need uref=%d\n", cpd, need_uref); 203 DPRINTFN(2, "no bus at %u\n", cpd->bus_index); 208 DPRINTFN(2, "no device at %u\n", cpd->dev_index); 213 DPRINTFN(2, "device is detached\n"); 217 DPRINTFN(2, "ref udev - needed\n"); 220 DPRINTFN(2, "no dev ref\n"); 286 DPRINTFN(2, "ref write\n"); 290 DPRINTFN(2, "ref read\n"); 306 DPRINTFN(2, "fail\n"); 354 DPRINTFN( [all...] |
H A D | usb_hub.c | 225 DPRINTFN(2, "\n"); 468 DPRINTFN(6, "cannot reset root HUB\n"); 493 DPRINTFN(0, "Could not unconfigure " 498 DPRINTFN(6, "cannot set port feature\n"); 505 DPRINTFN(0, "Could not disable port " 597 DPRINTFN(4, "port %d, HUB looks dead, too many errors\n", portno); 618 DPRINTFN(4, "port %d, wPortStatus=0x%04x, " 741 DPRINTFN(0, "port %d reset " 757 DPRINTFN(0, "giving up port reset " 819 DPRINTFN( [all...] |
H A D | usb_hid.c | 185 DPRINTFN(0, "Only one bit can be " 271 DPRINTFN(1, "Using last usage\n"); 281 DPRINTFN(1, "%u,%u,%u\n", h->loc.pos, 339 DPRINTFN(0, "bad length %u (data=0x%02x)\n", 357 DPRINTFN(0, "Number of " 391 DPRINTFN(0, "invalid end collection\n"); 398 DPRINTFN(0, "Main bTag=%d\n", bTag); 439 DPRINTFN(0, "Cannot push item @ %d\n", s->pushlevel); 453 DPRINTFN(0, "Cannot pop item @ 0\n"); 469 DPRINTFN( [all...] |
H A D | usb_generic.c | 182 DPRINTFN(1, "flag=0x%x pid=%d name=%s\n", fflags, 214 DPRINTFN(1, "flag=0x%x pid=%d name=%s\n", fflags, 229 DPRINTFN(6, "no FIFOs\n"); 413 DPRINTFN(4, "actlen=%u, aframes=%u\n", xfer->actlen, xfer->aframes); 465 DPRINTFN(4, "actlen=%u, aframes=%u\n", xfer->actlen, xfer->aframes); 508 DPRINTFN(5, "f=%p: stall cleared\n", f); 525 DPRINTFN(5, "f=%p: stall cleared\n", f); 538 DPRINTFN(4, "actlen=%u, aframes=%u\n", xfer->actlen, xfer->aframes); 543 DPRINTFN(6, "actlen=%d\n", xfer->actlen); 578 DPRINTFN( [all...] |
H A D | usb_device.c | 372 DPRINTFN(10, "udev=%p iface_index=%d address=0x%x " 682 DPRINTFN(6, "udev=%p index=%d\n", udev, index); 727 DPRINTFN(0, "could not read " 754 DPRINTFN(0, "power exceeded %d > %d\n", power, max_power); 841 DPRINTFN(5, "iface_index=%d cmd=%d\n", 926 DPRINTFN(5, "found idesc nendpt=%d\n", id->bNumEndpoints); 948 DPRINTFN(5, "Found endpoint companion descriptor\n"); 1277 DPRINTFN(4, "udev=%p\n", udev); 1510 DPRINTFN(2, "end of interfaces " 1531 DPRINTFN( [all...] |
H A D | usb_request.c | 433 DPRINTFN(5, "udev=%p bmRequestType=0x%02x bRequest=0x%02x " 477 DPRINTFN(1, "The handle request function " 856 DPRINTFN(2, "port %d reset returning error=%s\n", 955 DPRINTFN(2, "port %d warm reset returning error=%s\n", 995 DPRINTFN(4, "id=%d, type=%d, index=%d, max_len=%d\n", 1274 DPRINTFN(4, "confidx=%d\n", conf_index); 1347 DPRINTFN(4, "index=%d\n", index); 1392 DPRINTFN(4, "\n"); 1563 DPRINTFN(6, "setting device address=%d\n", addr); 1783 DPRINTFN( [all...] |
H A D | usb_transfer.c | 1027 DPRINTFN(6, "setup array has zero length!\n"); 1031 DPRINTFN(6, "ifaces array is NULL!\n"); 1035 DPRINTFN(6, "using global lock\n"); 1347 DPRINTFN(0, "cannot allocate memory block for " 1611 DPRINTFN(0, "Too many frames: %u\n", 1642 DPRINTFN(0, "Wrong framelength %u != %zu\n", 1690 DPRINTFN(0, "Length (%d) greater than " 1703 DPRINTFN(0, "Short control transfer without " 1723 DPRINTFN(0, "Invalid parameter " 2436 DPRINTFN( [all...] |
/freebsd-11-stable/sys/dev/usb/controller/ |
H A D | atmegadci.c | 154 DPRINTFN(5, "\n"); 175 DPRINTFN(5, "\n"); 237 DPRINTFN(5, "addr=%d\n", addr); 261 DPRINTFN(5, "UEINTX=0x%02x\n", temp); 278 DPRINTFN(0, "Invalid SETUP packet " 283 DPRINTFN(0, "Unsupported SETUP packet " 314 DPRINTFN(5, "stalling\n"); 353 DPRINTFN(5, "temp=0x%02x rem=%u\n", temp, td->remainder); 361 DPRINTFN(5, "faking complete\n"); 465 DPRINTFN( [all...] |
H A D | avr32dci.c | 200 DPRINTFN(5, "\n"); 216 DPRINTFN(5, "\n"); 268 DPRINTFN(5, "addr=%d\n", addr); 287 DPRINTFN(5, "EPTSTA(%u)=0x%08x\n", td->ep_no, temp); 299 DPRINTFN(0, "Invalid SETUP packet " 304 DPRINTFN(0, "Unsupported SETUP packet " 340 DPRINTFN(5, "stalling\n"); 369 DPRINTFN(5, "EPTSTA(%u)=0x%08x\n", td->ep_no, temp); 377 DPRINTFN(5, "faking complete\n"); 466 DPRINTFN( [all...] |
H A D | at91dci.c | 224 DPRINTFN(5, "\n"); 241 DPRINTFN(5, "\n"); 295 DPRINTFN(5, "addr=%d\n", addr); 312 DPRINTFN(5, "csr=0x%08x rem=%u\n", csr, td->remainder); 332 DPRINTFN(0, "Invalid SETUP packet " 337 DPRINTFN(0, "Unsupported SETUP packet " 374 DPRINTFN(5, "stalling\n"); 381 DPRINTFN(5, "clearing 0x%08x\n", temp); 406 DPRINTFN(5, "csr=0x%08x rem=%u\n", csr, td->remainder); 414 DPRINTFN( [all...] |
H A D | musb_otg.c | 194 DPRINTFN(-1, "No available channels. Mask: %04x\n", sc->sc_channel_mask); 203 DPRINTFN(1, "ep_no=%d\n", td->channel); 244 DPRINTFN(4, "\n"); 260 DPRINTFN(4, "\n"); 373 DPRINTFN(4, "addr=%d\n", addr); 396 DPRINTFN(1, "ep_no=%d\n", td->channel); 404 DPRINTFN(4, "csr=0x%02x\n", csr); 414 DPRINTFN(1, "CSR0 DATAEND\n"); 436 DPRINTFN(1, "EP0 BUSY\n"); 447 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 | 237 DPRINTFN(0, "not supported\n"); 243 DPRINTFN(5, "addr=%d\n", addr); 262 DPRINTFN(5, "rx_stat=0x%02x rem=%u\n", rx_stat, td->remainder); 288 DPRINTFN(0, "Invalid SETUP packet " 293 DPRINTFN(0, "Unsupported SETUP packet " 355 DPRINTFN(5, "stalling\n"); 397 DPRINTFN(5, "rx_stat=0x%02x rx_flag=0x%02x rem=%u\n", 408 DPRINTFN(5, "faking complete\n"); 420 DPRINTFN(5, "overflow or underflow\n"); 443 DPRINTFN( [all...] |
H A D | uhci.c | 286 DPRINTFN(2, "Already started\n"); 290 DPRINTFN(2, "Restarting\n"); 309 DPRINTFN(2, "Failed\n"); 394 DPRINTFN(2, "enabling\n"); 713 DPRINTFN(0, "%s regs: cmd=%04x, sts=%04x, intr=%04x, frnum=%04x, " 795 DPRINTFN(0, "QH(%p) at 0x%08x: h_next=0x%08x e_next=0x%08x\n", sqh, 846 DPRINTFN(6, "add\n"); 869 DPRINTFN(6, "remove\n"); 897 DPRINTFN(11, "%p to %p\n", std, last); 923 DPRINTFN(1 [all...] |
H A D | xhci.c | 177 DPRINTFN(5, "trb = %p\n", trb); 178 DPRINTFN(5, "qwTrb0 = 0x%016llx\n", (long long)le64toh(trb->qwTrb0)); 179 DPRINTFN(5, "dwTrb2 = 0x%08x\n", le32toh(trb->dwTrb2)); 180 DPRINTFN(5, "dwTrb3 = 0x%08x\n", le32toh(trb->dwTrb3)); 186 DPRINTFN(5, "pep = %p\n", pep); 187 DPRINTFN(5, "dwEpCtx0=0x%08x\n", xhci_ctx_get_le32(sc, &pep->dwEpCtx0)); 188 DPRINTFN(5, "dwEpCtx1=0x%08x\n", xhci_ctx_get_le32(sc, &pep->dwEpCtx1)); 189 DPRINTFN(5, "qwEpCtx2=0x%016llx\n", (long long)xhci_ctx_get_le64(sc, &pep->qwEpCtx2)); 190 DPRINTFN(5, "dwEpCtx4=0x%08x\n", xhci_ctx_get_le32(sc, &pep->dwEpCtx4)); 191 DPRINTFN( [all...] |
H A D | dwc_otg.c | 329 DPRINTFN(-1, "Not enough data space for EP0 FIFO.\n"); 513 DPRINTFN(5, "\n"); 526 DPRINTFN(5, "\n"); 634 DPRINTFN(5, "Remote wakeup\n"); 680 DPRINTFN(5, "addr=%d\n", addr); 691 DPRINTFN(5, "RX status clear\n"); 1136 DPRINTFN(5, "GRXSTSR=0x%08x\n", sc->sc_last_rx_status); 1145 DPRINTFN(0, "Unsupported SETUP packet " 1186 DPRINTFN(5, "stalling IN and OUT direction\n"); 1694 DPRINTFN( [all...] |
H A D | ohci.c | 659 DPRINTFN(11, "%p to %p\n", sed, last); 663 DPRINTFN(0, "ED already linked!\n"); 692 DPRINTFN(11, "%p from %p\n", sed, last); 885 DPRINTFN(16, "error cc=%d (%s)\n", 897 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n", 1000 DPRINTFN(13, "xfer=%p following alt next\n", xfer); 1035 DPRINTFN(13, "xfer=%p checking transfer\n", xfer); 1068 DPRINTFN(13, "xfer=%p is still active\n", xfer); 1075 DPRINTFN(5, "\n"); 1123 DPRINTFN(1 [all...] |
/freebsd-11-stable/sys/dev/usb/net/ |
H A D | if_cdce.c | 342 DPRINTFN(1, "Found NCM functional descriptor.\n"); 379 DPRINTFN(1, "Using default maximum receive length\n"); 387 DPRINTFN(1, "Using default maximum transmit length\n"); 401 DPRINTFN(1, "Using default other alignment: 4 bytes\n"); 415 DPRINTFN(1, "Using default transmit modulus: 4 bytes\n"); 422 DPRINTFN(1, "Using default transmit remainder: 0 bytes\n"); 439 DPRINTFN(1, "Using default max " 467 DPRINTFN(1, "Setting input size " 481 DPRINTFN(1, "Setting CRC mode to off failed.\n"); 494 DPRINTFN( [all...] |
/freebsd-11-stable/sys/dev/usb/gadget/ |
H A D | g_mouse.c | 234 DPRINTFN(11, "Timeout %p (button press)\n", sc->sc_xfer[G_MOUSE_INTR_DT]); 248 DPRINTFN(11, "Timeout %p (cursor update)\n", sc->sc_xfer[G_MOUSE_INTR_DT]); 260 DPRINTFN(11, "\n"); 280 DPRINTFN(11, "\n");
|
H A D | g_keyboard.c | 198 DPRINTFN(11, "Timeout %p\n", sc->sc_xfer[G_KEYBOARD_INTR_DT]); 210 DPRINTFN(11, "\n"); 230 DPRINTFN(11, "\n");
|
/freebsd-11-stable/sys/dev/usb/template/ |
H A D | usb_template.c | 805 DPRINTFN(0, "Endpoint profile %u " 817 DPRINTFN(0, "Endpoint profile %u " 825 DPRINTFN(0, "Endpoint profile %u " 833 DPRINTFN(0, "Endpoint profile %u " 923 DPRINTFN(0, "Endpoint 0 does not " 981 DPRINTFN(0, "Could not get needs\n"); 994 DPRINTFN(0, "Could not find match\n"); 1008 DPRINTFN(0, "Could not update endpoint address\n"); 1351 DPRINTFN(0, "Could not resolve endpoints for " 1364 DPRINTFN( [all...] |
/freebsd-11-stable/sys/dev/usb/input/ |
H A D | wsp.c | 676 DPRINTFN(WSP_LLEVEL_INFO, "enabled wsp\n"); 684 DPRINTFN(WSP_LLEVEL_INFO, "disabled wsp\n"); 726 DPRINTFN(WSP_LLEVEL_INFO, "sc=%p\n", sc); 873 DPRINTFN(WSP_LLEVEL_INFO, "Invalid length: %d, %x, %x\n", 912 DPRINTFN(WSP_LLEVEL_INFO, 981 DPRINTFN(WSP_LLEVEL_INFO, "LEFT CLICK!\n"); 985 DPRINTFN(WSP_LLEVEL_INFO, "sum_x=%5d, sum_y=%5d\n", 990 DPRINTFN(WSP_LLEVEL_INFO, "RIGHT CLICK!\n"); 1034 DPRINTFN(WSP_LLEVEL_INFO, "Fist pre_x=%5d, pre_y=%5d\n", 1089 DPRINTFN(WSP_LLEVEL_INF [all...] |
/freebsd-11-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", 940 DPRINTFN(sc, 10, "%s\n", "data frame sent successfully"); 951 DPRINTFN(sc, 9, "data frame sent after %u retries\n", 963 DPRINTFN(sc, 9, "data frame failed after %d retries\n", 991 DPRINTFN(sc, 15, "tx done idx=%u\n", sc->txq.next); 1029 DPRINTFN(sc, 10, "%s\n", "mgt frame sent successfully"); 1033 DPRINTFN(sc, 9, "mgt frame sent after %u retries\n", 1038 DPRINTFN(s [all...] |
/freebsd-11-stable/sys/mips/cavium/usb/ |
H A D | octusb.c | 174 DPRINTFN(1, "cvmx_usb_open_pipe failed: %d\n", ep_handle); 338 DPRINTFN(1, "Excess setup transmit data\n"); 465 DPRINTFN(1, "Fixup buffer is too small\n"); 593 DPRINTFN(1, "Fixup buffer is too small\n"); 652 DPRINTFN(8, "\n"); 698 DPRINTFN(8, "\n"); 761 DPRINTFN(12, "xfer=%p endpoint=%p transfer done\n", 828 DPRINTFN(8, "\n"); 935 DPRINTFN(16, "real interrupt\n"); 1002 DPRINTFN( [all...] |