Home
last modified time | relevance | path

Searched refs:do_unlock (Results 1 – 11 of 11) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_handle_request.c114 uint8_t do_unlock; in usb_handle_set_config() local
123 do_unlock = usbd_enum_lock(udev); in usb_handle_set_config()
146 if (do_unlock) in usb_handle_set_config()
156 uint8_t do_unlock; in usb_check_alt_setting() local
160 do_unlock = usbd_enum_lock(udev); in usb_check_alt_setting()
165 if (do_unlock) in usb_check_alt_setting()
189 uint8_t do_unlock; in usb_handle_iface_request() local
204 do_unlock = usbd_enum_lock(udev); in usb_handle_iface_request()
317 if (do_unlock) in usb_handle_iface_request()
323 if (do_unlock) in usb_handle_iface_request()
[all …]
Dusb_util.c45 uint8_t do_unlock; in device_set_usb_desc() local
68 do_unlock = usbd_ctrl_lock(udev); in device_set_usb_desc()
84 if (do_unlock) in device_set_usb_desc()
Dusb_device.c428 uint8_t do_unlock; in usb_unconfigure() local
432 do_unlock = usbd_enum_lock(udev); in usb_unconfigure()
469 if (do_unlock) in usb_unconfigure()
492 uint8_t do_unlock; in usbd_set_config_index() local
498 do_unlock = usbd_enum_lock(udev); in usbd_set_config_index()
606 if (do_unlock) in usbd_set_config_index()
850 uint8_t do_unlock; in usbd_set_alt_interface_index() local
853 do_unlock = usbd_enum_lock(udev); in usbd_set_alt_interface_index()
889 if (do_unlock) in usbd_set_alt_interface_index()
1268 uint8_t do_unlock; in usb_probe_and_attach() local
[all …]
Dusb_hub.c411 uint8_t do_unlock; in uhub_explore_handle_re_enumerate() local
418 do_unlock = usbd_enum_lock(child); in uhub_explore_handle_re_enumerate()
485 if (do_unlock) in uhub_explore_handle_re_enumerate()
1063 uint8_t do_unlock; in uhub_explore() local
1085 do_unlock = usbd_enum_lock(udev); in uhub_explore()
1162 if (do_unlock) in uhub_explore()
2344 uint8_t do_unlock; in usb_needs_explore_sub() local
2366 do_unlock = 0; in usb_needs_explore_sub()
2369 do_unlock = 1; in usb_needs_explore_sub()
2378 if (do_unlock) { in usb_needs_explore_sub()
Dusb_dev.h84 uint8_t do_unlock; /* USB enum unlock needed */ member
Dusb_dev.c159 crd->do_unlock = usbd_enum_lock(cpd->udev); in usb_ref_device()
169 if (crd->do_unlock > 1) { in usb_ref_device()
170 crd->do_unlock = 0; in usb_ref_device()
228 if (crd->do_unlock) in usb_ref_device()
286 if (crd->do_unlock) in usb_unref_device()
Dusb_request.c391 uint8_t do_unlock; in usbd_do_request_flags() local
435 do_unlock = usbd_ctrl_lock(udev); in usbd_do_request_flags()
678 if (do_unlock) in usbd_do_request_flags()
Dusb_generic.c671 uint8_t do_unlock; in ugen_get_sdesc() local
674 do_unlock = usbd_ctrl_lock(f->udev); in ugen_get_sdesc()
695 if (do_unlock) in ugen_get_sdesc()
Dusb_transfer.c887 uint8_t do_unlock; in usbd_transfer_setup() local
926 do_unlock = usbd_ctrl_lock(udev); in usbd_transfer_setup()
1246 if (do_unlock) in usbd_transfer_setup()
/third_party/FreeBSD/sys/dev/usb/controller/
Dusb_controller.c428 uint8_t do_unlock; in usb_bus_suspend() local
451 do_unlock = usbd_enum_lock(udev); in usb_bus_suspend()
468 if (do_unlock) in usb_bus_suspend()
485 uint8_t do_unlock; in usb_bus_resume() local
497 do_unlock = usbd_enum_lock(udev); in usb_bus_resume()
529 if (do_unlock) in usb_bus_resume()
568 uint8_t do_unlock; in usb_bus_shutdown() local
581 do_unlock = usbd_enum_lock(udev); in usb_bus_shutdown()
598 if (do_unlock) in usb_bus_shutdown()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c396 uint8_t do_unlock; in usb_submit_urb() local
403 do_unlock = mtx_owned(&Giant) ? 0 : 1; in usb_submit_urb()
404 if (do_unlock) in usb_submit_urb()
448 if (do_unlock) in usb_submit_urb()
490 uint8_t do_unlock; in usb_unlink_urb_sub() local
497 do_unlock = mtx_owned(&Giant) ? 0 : 1; in usb_unlink_urb_sub()
498 if (do_unlock) in usb_unlink_urb_sub()
541 if (do_unlock) in usb_unlink_urb_sub()
594 uint8_t do_unlock; in usb_start_wait_urb() local
605 do_unlock = mtx_owned(&Giant) ? 0 : 1; in usb_start_wait_urb()
[all …]