Home
last modified time | relevance | path

Searched refs:DPRINTFN (Results 1 – 25 of 74) sorted by relevance

123

/dragonfly/sys/bus/u4b/
HDusb_dev.c195 DPRINTFN(2, "cpd=%p need uref=%d\n", cpd, need_uref); in usb_ref_device()
203 DPRINTFN(2, "no bus at %u\n", cpd->bus_index); in usb_ref_device()
208 DPRINTFN(2, "no device at %u\n", cpd->dev_index); in usb_ref_device()
213 DPRINTFN(2, "device is detached\n"); in usb_ref_device()
217 DPRINTFN(2, "ref udev - needed\n"); in usb_ref_device()
220 DPRINTFN(2, "no dev ref\n"); in usb_ref_device()
280 DPRINTFN(2, "ref write\n"); in usb_ref_device()
284 DPRINTFN(2, "ref read\n"); in usb_ref_device()
300 DPRINTFN(2, "fail\n"); in usb_ref_device()
348 DPRINTFN(2, "cpd=%p is_uref=%d\n", cpd, crd->is_uref); in usb_unref_device()
[all …]
HDusb_hub.c220 DPRINTFN(2, "\n"); in uhub_intr_callback()
463 DPRINTFN(6, "cannot reset root HUB\n"); in uhub_explore_handle_re_enumerate()
482 DPRINTFN(0, "Could not unconfigure " in uhub_explore_handle_re_enumerate()
487 DPRINTFN(6, "cannot set port feature\n"); in uhub_explore_handle_re_enumerate()
494 DPRINTFN(0, "Could not disable port " in uhub_explore_handle_re_enumerate()
595 DPRINTFN(4, "port %d, wPortStatus=0x%04x, " in uhub_read_port_status()
718 DPRINTFN(0, "port %d reset " in uhub_reattach_port()
734 DPRINTFN(0, "giving up port reset " in uhub_reattach_port()
796 DPRINTFN(0, "port %d U1 timeout " in uhub_reattach_port()
803 DPRINTFN(0, "port %d U2 timeout " in uhub_reattach_port()
[all …]
HDusb_hid.c179 DPRINTFN(0, "Only one bit can be " in hid_start_parse()
265 DPRINTFN(1, "Using last usage\n"); in hid_get_item()
275 DPRINTFN(1, "%u,%u,%u\n", h->loc.pos, in hid_get_item()
333 DPRINTFN(0, "bad length %u (data=0x%02x)\n", in hid_get_item()
351 DPRINTFN(0, "Number of " in hid_get_item()
385 DPRINTFN(0, "invalid end collection\n"); in hid_get_item()
392 DPRINTFN(0, "Main bTag=%d\n", bTag); in hid_get_item()
440 DPRINTFN(0, "Cannot push " in hid_get_item()
458 DPRINTFN(0, "Cannot pop " in hid_get_item()
463 DPRINTFN(0, "Global bTag=%d\n", bTag); in hid_get_item()
[all …]
HDusb_debug.h38 #define DPRINTFN(n,fmt,...) do { \ macro
44 #define DPRINTF(...) DPRINTFN(1, __VA_ARGS__)
47 #define DPRINTFN(...) do { } while (0) macro
HDusb_device.c240 DPRINTFN(10, "udev=%p iface_index=%d address=0x%x " in usbd_get_endpoint()
550 DPRINTFN(6, "udev=%p index=%d\n", udev, index); in usbd_set_config_index()
595 DPRINTFN(0, "could not read " in usbd_set_config_index()
622 DPRINTFN(0, "power exceeded %d > %d\n", power, max_power); in usbd_set_config_index()
709 DPRINTFN(5, "iface_index=%d cmd=%d\n", in usb_config_parse()
790 DPRINTFN(5, "found idesc nendpt=%d\n", id->bNumEndpoints); in usb_config_parse()
812DPRINTFN(5, "Found endpoint companion descriptor\n"); in usb_config_parse()
1145 DPRINTFN(4, "udev=%p\n", udev); in usb_detach_device()
1378 DPRINTFN(2, "end of interfaces " in usb_probe_and_attach()
1399 DPRINTFN(2, "iclass=%u/%u/%u iindex=%u/%u\n", in usb_probe_and_attach()
[all …]
HDusb_generic.c179 DPRINTFN(6, "flag=0x%x\n", fflags); in ugen_open()
209 DPRINTFN(6, "flag=0x%x\n", fflags); in ugen_close()
223 DPRINTFN(6, "no FIFOs\n"); in ugen_close()
407 DPRINTFN(4, "actlen=%u, aframes=%u\n", xfer->actlen, xfer->aframes); in ugen_ctrl_read_callback()
459 DPRINTFN(4, "actlen=%u, aframes=%u\n", xfer->actlen, xfer->aframes); in ugen_ctrl_write_callback()
502 DPRINTFN(5, "f=%p: stall cleared\n", f); in ugen_read_clear_stall_callback()
519 DPRINTFN(5, "f=%p: stall cleared\n", f); in ugen_write_clear_stall_callback()
532 DPRINTFN(4, "actlen=%u, aframes=%u\n", xfer->actlen, xfer->aframes); in ugen_isoc_read_callback()
537 DPRINTFN(6, "actlen=%d\n", xfer->actlen); in ugen_isoc_read_callback()
572 DPRINTFN(4, "actlen=%u, aframes=%u\n", xfer->actlen, xfer->aframes); in ugen_isoc_write_callback()
[all …]
HDusb_transfer.c911 DPRINTFN(6, "setup array has zero length!\n"); in usbd_transfer_setup()
915 DPRINTFN(6, "ifaces array is NULL!\n"); in usbd_transfer_setup()
920 DPRINTFN(6, "using global lock\n"); in usbd_transfer_setup()
1224 DPRINTFN(0, "cannot allocate memory block for " in usbd_transfer_setup()
1530 DPRINTFN(0, "Too many frames: %u\n", in usbd_setup_ctrl_transfer()
1561 DPRINTFN(0, "Wrong framelength %u != %zu\n", in usbd_setup_ctrl_transfer()
1609 DPRINTFN(0, "Length (%d) greater than " in usbd_setup_ctrl_transfer()
1622 DPRINTFN(0, "Short control transfer without " in usbd_setup_ctrl_transfer()
1642 DPRINTFN(0, "Invalid parameter " in usbd_setup_ctrl_transfer()
2365 DPRINTFN(3, "case 5\n"); in usbd_callback_wrapper()
[all …]
HDusb_request.c431 DPRINTFN(5, "udev=%p bmRequestType=0x%02x bRequest=0x%02x "
485 DPRINTFN(1, "The handle request function "
875 DPRINTFN(2, "port %d reset returning error=%s\n",
974 DPRINTFN(2, "port %d warm reset returning error=%s\n",
1014 DPRINTFN(4, "id=%d, type=%d, index=%d, max_len=%d\n",
1272 DPRINTFN(4, "confidx=%d\n", conf_index);
1349 DPRINTFN(4, "index=%d\n", index);
1394 DPRINTFN(4, "\n");
1554 DPRINTFN(6, "setting device address=%d\n", addr);
1773 DPRINTFN(5, "iface=%p, report=%d, endpt=%d\n",
[all …]
/dragonfly/sys/bus/u4b/net/
HDif_cdce.c337 DPRINTFN(1, "Found NCM functional descriptor.\n"); in cdce_ncm_init()
374 DPRINTFN(1, "Using default maximum receive length\n"); in cdce_ncm_init()
382 DPRINTFN(1, "Using default maximum transmit length\n"); in cdce_ncm_init()
396 DPRINTFN(1, "Using default other alignment: 4 bytes\n"); in cdce_ncm_init()
410 DPRINTFN(1, "Using default transmit modulus: 4 bytes\n"); in cdce_ncm_init()
417 DPRINTFN(1, "Using default transmit remainder: 0 bytes\n"); in cdce_ncm_init()
434 DPRINTFN(1, "Using default max " in cdce_ncm_init()
462 DPRINTFN(1, "Setting input size " in cdce_ncm_init()
476 DPRINTFN(1, "Setting CRC mode to off failed.\n"); in cdce_ncm_init()
489 DPRINTFN(1, "Setting NTB format to 16-bit failed.\n"); in cdce_ncm_init()
[all …]
/dragonfly/sys/dev/netif/sk/
HDif_sk.c239 #define DPRINTFN(n,x) if (skdebug >= (n)) kprintf x macro
247 #define DPRINTFN(n,x) macro
392 DPRINTFN(9, ("sk_xmac_miibus_readreg\n")); in sk_xmac_miibus_readreg()
422 DPRINTFN(9, ("sk_xmac_miibus_writereg\n")); in sk_xmac_miibus_writereg()
453 DPRINTFN(9, ("sk_xmac_miibus_statchg\n")); in sk_xmac_miibus_statchg()
476 DPRINTFN(9, ("sk_marv_miibus_readreg (skip) phy=%d, reg=%#x\n", in sk_marv_miibus_readreg()
496 DPRINTFN(9, ("sk_marv_miibus_readreg: i=%d, timeout=%d\n", i, in sk_marv_miibus_readreg()
501 DPRINTFN(9, ("sk_marv_miibus_readreg phy=%d, reg=%#x, val=%#x\n", in sk_marv_miibus_readreg()
512 DPRINTFN(9, ("sk_marv_miibus_writereg phy=%d reg=%#x val=%#x\n", in sk_marv_miibus_writereg()
534 DPRINTFN(9, ("sk_marv_miibus_statchg: gpcr=%x\n", in sk_marv_miibus_statchg()
[all …]
/dragonfly/sys/netbt/
HDhci_unit.c197 DPRINTFN(10, "%s is added as child to %s\n", in hci_enable()
309 DPRINTFN(2, "(%s) opcode (%3.3x|%4.4x)\n", in hci_send_cmd()
344 DPRINTFN(10, "(%s) recv event, len = %d\n", in hci_intr()
360 DPRINTFN(10, "(%s) recv SCO, len = %d\n", in hci_intr()
377 DPRINTFN(10, "(%s) recv ACL, len = %d\n", in hci_intr()
392 DPRINTFN(11, "(%s) complete SCO\n", in hci_intr()
410 DPRINTFN(10, "done\n"); in hci_intr()
496 DPRINTFN(10, "(%s) num_cmd_pkts=%d\n", in hci_output_cmd()
517 DPRINTFN(10, "(%s) num_acl_pkts=%d\n", in hci_output_acl()
530 DPRINTFN(10, "(%s) num_sco_pkts=%d\n", in hci_output_sco()
HDhci_event.c173 DPRINTFN(1, "(%s) event %s\n", in hci_event()
248 DPRINTFN(1, "(%s) opcode (%03x|%04x) status = 0x%x num_cmd_pkts = %d\n", in hci_event_command_status()
303 DPRINTFN(1, "(%s) opcode (%03x|%04x) num_cmd_pkts = %d\n", in hci_event_command_compl()
451 DPRINTFN(1, "(%s) %d response%s\n", device_get_nameunit(unit->hci_dev), in hci_event_inquiry_result()
459 DPRINTFN(1, "bdaddr %02x:%02x:%02x:%02x:%02x:%02x\n", in hci_event_inquiry_result()
488 DPRINTFN(1, "%d response%s\n", ep.num_responses, in hci_event_rssi_result()
496 DPRINTFN(1, "bdaddr %02x:%02x:%02x:%02x:%02x:%02x\n", in hci_event_rssi_result()
528 DPRINTFN(1, "(%s) %s connection complete for " in hci_event_con_compl()
626 DPRINTFN(1, "(%s) handle #%d, status=0x%x\n", in hci_event_discon_compl()
652 DPRINTFN(1, "(%s) bdaddr %2.2x:%2.2x:%2.2x:%2.2x:%2.2x:%2.2x " in hci_event_con_req()
[all …]
HDl2cap_lower.c121 DPRINTFN(5, "(%s) received packet (%d bytes)\n", in l2cap_recv_frame()
168 DPRINTFN(5, "no data, pending = %d\n", chan->lc_pending); in l2cap_start()
200 DPRINTFN(5, "CID #%d sending packet (%d bytes)\n", in l2cap_start()
HDrfcomm_session.c669 DPRINTFN(10, "dlci %d, type %2.2x, len = %d\n", dlci, type, len); in rfcomm_session_input()
720 DPRINTFN(5, "SABM(%d)\n", dlci); in rfcomm_session_recv_sabm()
795 DPRINTFN(5, "DISC(%d)\n", dlci); in rfcomm_session_recv_disc()
834 DPRINTFN(5, "UA(%d)\n", dlci); in rfcomm_session_recv_ua()
902 DPRINTFN(5, "DM(%d)\n", dlci); in rfcomm_session_recv_dm()
924 DPRINTFN(10, "UIH(%d)\n", dlci); in rfcomm_session_recv_uih()
1046 DPRINTFN(2, "MCC %s type %2.2x (%d bytes)\n", in rfcomm_session_recv_mcc()
1503 DPRINTFN(5, "dlci %d type %2.2x (%d bytes, fcs=%#2.2x)\n", in rfcomm_session_send_frame()
1598 DPRINTFN(10, "dlci %d, pktlen %d (%d data, %d credits), fcs=%#2.2x\n", in rfcomm_session_send_uih()
1686 DPRINTFN(5, "%s type %2.2x len %d\n", in rfcomm_session_send_mcc()
HDbluetooth.h137 # define DPRINTFN(n, fmt, args...) do { \ macro
146 # define DPRINTFN(...) ((void)0) macro
/dragonfly/sys/bus/u4b/controller/
HDuhci.c281 DPRINTFN(2, "Already started\n"); in uhci_restart()
285 DPRINTFN(2, "Restarting\n"); in uhci_restart()
304 DPRINTFN(2, "Failed\n"); in uhci_restart()
390 DPRINTFN(2, "enabling\n"); in uhci_start()
710 DPRINTFN(0, "%s regs: cmd=%04x, sts=%04x, intr=%04x, frnum=%04x, " in uhci_dumpregs()
792 DPRINTFN(0, "QH(%p) at 0x%08x: h_next=0x%08x e_next=0x%08x\n", sqh, in uhci_dump_qh()
843 DPRINTFN(6, "add\n"); in uhci_add_loop()
866 DPRINTFN(6, "remove\n"); in uhci_rem_loop()
894 DPRINTFN(11, "%p to %p\n", std, last); in _uhci_append_td()
920 DPRINTFN(11, "%p to %p\n", sqh, last); in _uhci_append_qh()
[all …]
HDxhci.c169 DPRINTFN(5, "trb = %p\n", trb); in xhci_dump_trb()
170 DPRINTFN(5, "qwTrb0 = 0x%016llx\n", (long long)le64toh(trb->qwTrb0)); in xhci_dump_trb()
171 DPRINTFN(5, "dwTrb2 = 0x%08x\n", le32toh(trb->dwTrb2)); in xhci_dump_trb()
172 DPRINTFN(5, "dwTrb3 = 0x%08x\n", le32toh(trb->dwTrb3)); in xhci_dump_trb()
178 DPRINTFN(5, "pep = %p\n", pep); in xhci_dump_endpoint()
179 DPRINTFN(5, "dwEpCtx0=0x%08x\n", xhci_ctx_get_le32(sc, &pep->dwEpCtx0)); in xhci_dump_endpoint()
180 DPRINTFN(5, "dwEpCtx1=0x%08x\n", xhci_ctx_get_le32(sc, &pep->dwEpCtx1)); in xhci_dump_endpoint()
181 DPRINTFN(5, "qwEpCtx2=0x%016llx\n", (long long)xhci_ctx_get_le64(sc, &pep->qwEpCtx2)); in xhci_dump_endpoint()
182 DPRINTFN(5, "dwEpCtx4=0x%08x\n", xhci_ctx_get_le32(sc, &pep->dwEpCtx4)); in xhci_dump_endpoint()
183 DPRINTFN(5, "dwEpCtx5=0x%08x\n", xhci_ctx_get_le32(sc, &pep->dwEpCtx5)); in xhci_dump_endpoint()
[all …]
HDohci.c653 DPRINTFN(11, "%p to %p\n", sed, last); in _ohci_append_qh()
657 DPRINTFN(0, "ED already linked!\n"); in _ohci_append_qh()
686 DPRINTFN(11, "%p from %p\n", sed, last); in _ohci_remove_qh()
879 DPRINTFN(16, "error cc=%d (%s)\n", in ohci_non_isoc_done_sub()
891 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n", in ohci_non_isoc_done()
994 DPRINTFN(13, "xfer=%p following alt next\n", xfer); in ohci_check_transfer_sub()
1029 DPRINTFN(13, "xfer=%p checking transfer\n", xfer); in ohci_check_transfer()
1062 DPRINTFN(13, "xfer=%p is still active\n", xfer); in ohci_check_transfer()
1069 DPRINTFN(5, "\n"); in ohci_rhsc_enable()
1117 DPRINTFN(16, "real interrupt\n"); in ohci_interrupt()
[all …]
HDehci.c952 DPRINTFN(11, "%p to %p\n", std, last); in _ehci_append_fs_td()
978 DPRINTFN(11, "%p to %p\n", std, last); in _ehci_append_hs_td()
1004 DPRINTFN(11, "%p to %p\n", sqh, last); in _ehci_append_qh()
1008 DPRINTFN(0, "QH already linked!\n"); in _ehci_append_qh()
1036 DPRINTFN(11, "%p from %p\n", std, last); in _ehci_remove_fs_td()
1056 DPRINTFN(11, "%p from %p\n", std, last); in _ehci_remove_hs_td()
1076 DPRINTFN(11, "%p from %p\n", sqh, last); in _ehci_remove_qh()
1196 DPRINTFN(11, "error, addr=%d, endpt=0x%02x, frame=0x%02x" in ehci_non_isoc_done_sub()
1229 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n", in ehci_non_isoc_done()
1298 DPRINTFN(13, "xfer=%p checking transfer\n", xfer); in ehci_check_transfer()
[all …]
/dragonfly/sys/bus/u4b/input/
HDukbd.c439 DPRINTFN(2, "polling\n"); in ukbd_do_poll()
971 DPRINTFN(1, "error=%s\n", usbd_errstr(error)); in ukbd_set_leds_callback()
1014 DPRINTFN(11, "\n"); in ukbd_probe()
1077 DPRINTFN(1, "Found Apple eject-key\n"); in ukbd_parse_hid()
1085 DPRINTFN(1, "Found Apple FN-key\n"); in ukbd_parse_hid()
1094 DPRINTFN(1, "Found left control\n"); in ukbd_parse_hid()
1102 DPRINTFN(1, "Found right control\n"); in ukbd_parse_hid()
1110 DPRINTFN(1, "Found left shift\n"); in ukbd_parse_hid()
1118 DPRINTFN(1, "Found right shift\n"); in ukbd_parse_hid()
1126 DPRINTFN(1, "Found left alt\n"); in ukbd_parse_hid()
[all …]
HDwsp.c675 DPRINTFN(WSP_LLEVEL_INFO, "enabled wsp\n"); in wsp_enable()
683 DPRINTFN(WSP_LLEVEL_INFO, "disabled wsp\n"); in wsp_disable()
725 DPRINTFN(WSP_LLEVEL_INFO, "sc=%p\n", sc); in wsp_attach()
872 DPRINTFN(WSP_LLEVEL_INFO, "Invalid length: %d, %x, %x\n", in wsp_intr_callback()
911 DPRINTFN(WSP_LLEVEL_INFO, in wsp_intr_callback()
980DPRINTFN(WSP_LLEVEL_INFO, "LEFT CLICK!\n"); in wsp_intr_callback()
984DPRINTFN(WSP_LLEVEL_INFO, "sum_x=%5d, sum_y=%5d\n", in wsp_intr_callback()
989DPRINTFN(WSP_LLEVEL_INFO, "RIGHT CLICK!\n"); in wsp_intr_callback()
1033 DPRINTFN(WSP_LLEVEL_INFO, "Fist pre_x=%5d, pre_y=%5d\n", in wsp_intr_callback()
1088DPRINTFN(WSP_LLEVEL_INFO, "dx=%5d, dy=%5d, mov=%5d\n", in wsp_intr_callback()
[all …]
/dragonfly/sys/bus/u4b/template/
HDusb_template.c754 DPRINTFN(0, "Endpoint profile %u " in usb_hw_ep_get_needs()
766 DPRINTFN(0, "Endpoint profile %u " in usb_hw_ep_get_needs()
774 DPRINTFN(0, "Endpoint profile %u " in usb_hw_ep_get_needs()
782 DPRINTFN(0, "Endpoint profile %u " in usb_hw_ep_get_needs()
872 DPRINTFN(0, "Endpoint 0 does not " in usb_hw_ep_resolve()
930 DPRINTFN(0, "Could not get needs\n"); in usb_hw_ep_resolve()
943 DPRINTFN(0, "Could not find match\n"); in usb_hw_ep_resolve()
957 DPRINTFN(0, "Could not update endpoint address\n"); in usb_hw_ep_resolve()
1300 DPRINTFN(0, "Could not resolve endpoints for " in usb_temp_setup()
1313 DPRINTFN(0, "Could not resolve endpoints for " in usb_temp_setup()
/dragonfly/sys/dev/netif/ral/
HDrt2560.c82 #define DPRINTFN(sc, n, fmt, ...) do { \ macro
88 #define DPRINTFN(sc, n, fmt, ...) macro
934 DPRINTFN(sc, 15, "encryption done idx=%u\n", in rt2560_encryption_intr()
980 DPRINTFN(sc, 10, "%s\n", "data frame sent successfully"); in rt2560_tx_intr()
991 DPRINTFN(sc, 9, "data frame sent after %u retries\n", in rt2560_tx_intr()
1003 DPRINTFN(sc, 9, "data frame failed after %d retries\n", in rt2560_tx_intr()
1031 DPRINTFN(sc, 15, "tx done idx=%u\n", sc->txq.next); in rt2560_tx_intr()
1069 DPRINTFN(sc, 10, "%s\n", "mgt frame sent successfully"); in rt2560_prio_intr()
1073 DPRINTFN(sc, 9, "mgt frame sent after %u retries\n", in rt2560_prio_intr()
1078 DPRINTFN(sc, 9, "%s\n", in rt2560_prio_intr()
[all …]
/dragonfly/sys/bus/u4b/gadget/
HDg_mouse.c230 DPRINTFN(11, "Timeout %p (button press)\n", sc->sc_xfer[G_MOUSE_INTR_DT]); in g_mouse_button_press_timeout()
244 DPRINTFN(11, "Timeout %p (cursor update)\n", sc->sc_xfer[G_MOUSE_INTR_DT]); in g_mouse_cursor_update_timeout()
256 DPRINTFN(11, "\n"); in g_mouse_probe()
276 DPRINTFN(11, "\n"); in g_mouse_attach()
/dragonfly/sys/bus/u4b/wlan/
HDif_rum.c628 DPRINTFN(1, "Control request failed, %s (retrying)\n", in rum_do_request()
842 DPRINTFN(12, "dropping 'sleeping' bit, " in rum_beacon_miss()
855 DPRINTFN(13, "bmiss event is ignored whilst sleeping\n"); in rum_beacon_miss()
871 DPRINTFN(12, "beacon, mybss %d (flags %02X)\n", in rum_sta_recv_mgmt()
897 DPRINTFN(12, "moving to %s state (sleep time %u)\n", in rum_set_power_state()
1042 DPRINTFN(11, "transfer complete, %d bytes\n", actlen); in rum_bulk_write_callback()
1058 DPRINTFN(0, "data overflow, %u bytes\n", in rum_bulk_write_callback()
1084 DPRINTFN(11, "sending frame len=%u xferlen=%u\n", in rum_bulk_write_callback()
1096 DPRINTFN(11, "transfer error, %s\n", in rum_bulk_write_callback()
1144 DPRINTFN(15, "rx done, actlen=%d\n", len); in rum_bulk_read_callback()
[all …]

123