/dragonfly/sys/bus/u4b/ |
H A D | usb_util.c | 126 usb_pause_mtx(struct lock *lock, int timo) in usb_pause_mtx() function 134 lksleep(&usb_pause_mtx, lock, 0, "USBSLP", timo + 1); in usb_pause_mtx() 137 tsleep(&usb_pause_mtx, 0, "USBSLP", timo + 1); in usb_pause_mtx()
|
H A D | usb_request.c | 583 usb_pause_mtx( 621 usb_pause_mtx( 720 usb_pause_mtx(NULL, 200 * hz / 1000 + 1); 743 usb_pause_mtx(lock, hz / 16); 828 usb_pause_mtx(lock, USB_MS_TO_TICKS(usb_port_reset_delay)); 872 usb_pause_mtx(lock, USB_MS_TO_TICKS(usb_port_reset_recovery)); 935 usb_pause_mtx(lock, USB_MS_TO_TICKS(usb_port_reset_delay)); 1039 usb_pause_mtx(lock, hz / 5); 1227 usb_pause_mtx(NULL, 200 * hz / 1000 + 1); 1577 usb_pause_mtx(lock, [all …]
|
H A D | usb_hub.c | 710 usb_pause_mtx(NULL, in uhub_reattach_port() 1411 usb_pause_mtx(NULL, USB_MS_TO_TICKS(USB_POWER_DOWN_TIME)); in uhub_attach() 1512 usb_pause_mtx(NULL, USB_MS_TO_TICKS(pwrdly)); in uhub_attach() 2604 usb_pause_mtx(NULL, USB_MS_TO_TICKS(20)); in usb_dev_resume_peer() 2625 usb_pause_mtx(NULL, USB_MS_TO_TICKS(usb_port_resume_delay)); in usb_dev_resume_peer() 2771 usb_pause_mtx(NULL, USB_MS_TO_TICKS(20)); in usb_dev_suspend_peer() 2778 usb_pause_mtx(NULL, USB_MS_TO_TICKS(usb_port_resume_delay)); in usb_dev_suspend_peer() 2800 usb_pause_mtx(NULL, USB_MS_TO_TICKS(temp)); in usb_dev_suspend_peer()
|
H A D | usb_msctest.c | 727 usb_pause_mtx(NULL, hz); in usb_iface_is_cdrom() 773 usb_pause_mtx(NULL, hz); in usb_msc_auto_quirk() 796 usb_pause_mtx(NULL, hz); in usb_msc_auto_quirk()
|
H A D | usbdi.h | 491 void usb_pause_mtx(struct lock *lock, int _ticks);
|
H A D | usb_dev.c | 1143 usb_pause_mtx(NULL, hz / 128); in usb_ioctl()
|
H A D | usb_generic.c | 1771 usb_pause_mtx(NULL, hz / 4); in ugen_set_power_mode()
|
H A D | usb_transfer.c | 1280 usb_pause_mtx(&info->bus->bus_lock, in usbd_transfer_unsetup_sub()
|
/dragonfly/sys/bus/u4b/controller/ |
H A D | uhci.c | 299 usb_pause_mtx(&sc->sc_bus.bus_lock, hz / 100); in uhci_restart() 329 usb_pause_mtx(&sc->sc_bus.bus_lock, in uhci_reset() 342 usb_pause_mtx(&sc->sc_bus.bus_lock, hz / 1000); in uhci_reset() 358 usb_pause_mtx(&sc->sc_bus.bus_lock, hz / 1000); in uhci_reset() 2398 usb_pause_mtx(&sc->sc_bus.bus_lock, in uhci_portreset() 2426 usb_pause_mtx(&sc->sc_bus.bus_lock, in uhci_portreset() 2721 usb_pause_mtx(&sc->sc_bus.bus_lock, hz / 50); in uhci_roothub_exec() 2728 usb_pause_mtx(&sc->sc_bus.bus_lock, hz / 500); in uhci_roothub_exec()
|
H A D | ohci.c | 182 usb_pause_mtx(NULL, hz / 1000); in ohci_controller_init() 195 usb_pause_mtx(NULL, in ohci_controller_init() 206 usb_pause_mtx(NULL, in ohci_controller_init() 274 usb_pause_mtx(NULL, in ohci_controller_init() 284 usb_pause_mtx(NULL, in ohci_controller_init() 442 usb_pause_mtx(NULL, hz / 20); in ohci_detach() 2342 usb_pause_mtx(&sc->sc_bus.bus_lock, in ohci_roothub_exec()
|
H A D | ehci.c | 186 usb_pause_mtx(NULL, hz / 128); in ehci_reset() 222 usb_pause_mtx(NULL, hz / 128); in ehci_hcreset() 278 usb_pause_mtx(NULL, hz / 128); in ehci_init_sub() 597 usb_pause_mtx(NULL, hz / 20); in ehci_detach() 3267 usb_pause_mtx(&sc->sc_bus.bus_lock, hz / 50); in ehci_roothub_exec() 3273 usb_pause_mtx(&sc->sc_bus.bus_lock, hz / 250); in ehci_roothub_exec() 3427 usb_pause_mtx(&sc->sc_bus.bus_lock, in ehci_roothub_exec() 3435 usb_pause_mtx(&sc->sc_bus.bus_lock, in ehci_roothub_exec()
|
H A D | xhci_pci.c | 426 usb_pause_mtx(NULL, hz / 100 + 1); /* wait 10ms */ in xhci_pci_take_controller()
|
H A D | ehci_pci.c | 550 usb_pause_mtx(NULL, hz / 100); /* wait 10ms */ in ehci_pci_take_controller()
|
H A D | xhci.c | 309 usb_pause_mtx(&sc->sc_bus.bus_lock, hz / 4); in xhci_reset_command_queue_locked() 364 usb_pause_mtx(NULL, hz / 100); in xhci_start_controller() 531 usb_pause_mtx(NULL, hz / 100); in xhci_start_controller() 570 usb_pause_mtx(NULL, hz / 100); in xhci_halt_controller() 3468 usb_pause_mtx(&sc->sc_bus.bus_lock, hz / 50); in xhci_roothub_exec() 3641 usb_pause_mtx(&sc->sc_bus.bus_lock, hz / 250); in xhci_roothub_exec()
|
/dragonfly/sys/bus/u4b/misc/ |
H A D | ufm.c | 286 usb_pause_mtx(NULL, hz / 4); in ufm_get_stat()
|
/dragonfly/sys/bus/u4b/serial/ |
H A D | usb_serial.c | 425 usb_pause_mtx(&ucom_lock, hz); in ucom_drain() 437 usb_pause_mtx(&ucom_lock, hz); in ucom_drain_all() 777 usb_pause_mtx(sc->sc_lock, hz / 10); in ucom_cfg_open() 1636 usb_pause_mtx(sc->sc_lock, hz / 10); in ucom_cfg_param()
|
H A D | uipaq.c | 1135 usb_pause_mtx(NULL, hz / 10); in uipaq_attach()
|
/dragonfly/sys/bus/u4b/net/ |
H A D | usb_ethernet.c | 98 usb_pause_mtx(ue->ue_lock, _ticks); in uether_pause()
|
H A D | if_mos.c | 640 usb_pause_mtx(&sc->sc_lock, hz / 128); in mos_reset()
|
/dragonfly/sys/bus/u4b/wlan/ |
H A D | if_urtwn.c | 772 usb_pause_mtx(&sc->sc_mtx, hz / 100); in urtwn_do_request() 2412 usb_pause_mtx(&sc->sc_mtx, hz * ni->ni_intval * 5 / 1000); in urtwn_tsf_task_adhoc() 4319 usb_pause_mtx(&sc->sc_mtx, hz / 20); /* 50ms */ in urtwn_rf_init() 5173 usb_pause_mtx(&sc->sc_mtx, hz / 10); /* 100ms */ in urtwn_lc_calib() 5577 usb_pause_mtx(&sc->sc_mtx, hz / 1000); in urtwn_ms_delay()
|
H A D | if_rum.c | 3252 usb_pause_mtx(&sc->sc_lock, timeout); in rum_pause()
|
H A D | if_run.c | 6250 usb_pause_mtx(lockowned(&sc->sc_lock) ? &sc->sc_lock : NULL, in run_delay()
|
/dragonfly/sys/bus/u4b/audio/ |
H A D | uaudio.c | 1186 usb_pause_mtx(NULL, 2 * hz); in uaudio_detach_sub()
|