Home
last modified time | relevance | path

Searched refs:usb_pause_mtx (Results 1 – 23 of 23) sorted by relevance

/dragonfly/sys/bus/u4b/
H A Dusb_util.c126 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 Dusb_request.c583 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 Dusb_hub.c710 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 Dusb_msctest.c727 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 Dusbdi.h491 void usb_pause_mtx(struct lock *lock, int _ticks);
H A Dusb_dev.c1143 usb_pause_mtx(NULL, hz / 128); in usb_ioctl()
H A Dusb_generic.c1771 usb_pause_mtx(NULL, hz / 4); in ugen_set_power_mode()
H A Dusb_transfer.c1280 usb_pause_mtx(&info->bus->bus_lock, in usbd_transfer_unsetup_sub()
/dragonfly/sys/bus/u4b/controller/
H A Duhci.c299 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 Dohci.c182 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 Dehci.c186 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 Dxhci_pci.c426 usb_pause_mtx(NULL, hz / 100 + 1); /* wait 10ms */ in xhci_pci_take_controller()
H A Dehci_pci.c550 usb_pause_mtx(NULL, hz / 100); /* wait 10ms */ in ehci_pci_take_controller()
H A Dxhci.c309 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 Dufm.c286 usb_pause_mtx(NULL, hz / 4); in ufm_get_stat()
/dragonfly/sys/bus/u4b/serial/
H A Dusb_serial.c425 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 Duipaq.c1135 usb_pause_mtx(NULL, hz / 10); in uipaq_attach()
/dragonfly/sys/bus/u4b/net/
H A Dusb_ethernet.c98 usb_pause_mtx(ue->ue_lock, _ticks); in uether_pause()
H A Dif_mos.c640 usb_pause_mtx(&sc->sc_lock, hz / 128); in mos_reset()
/dragonfly/sys/bus/u4b/wlan/
H A Dif_urtwn.c772 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 Dif_rum.c3252 usb_pause_mtx(&sc->sc_lock, timeout); in rum_pause()
H A Dif_run.c6250 usb_pause_mtx(lockowned(&sc->sc_lock) ? &sc->sc_lock : NULL, in run_delay()
/dragonfly/sys/bus/u4b/audio/
H A Duaudio.c1186 usb_pause_mtx(NULL, 2 * hz); in uaudio_detach_sub()