Home
last modified time | relevance | path

Searched refs:usb_flags (Results 1 – 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/uts/common/sys/usb/usba/
H A Dhcdi.h74 usb_flags_t usb_flags);
81 usb_flags_t usb_flags);
88 usb_flags_t usb_flags);
102 usb_flags_t usb_flags);
117 usb_flags_t usb_flags);
125 usb_flags_t usb_flags);
132 usb_flags_t usb_flags);
140 usb_flags_t usb_flags);
147 usb_flags_t usb_flags);
H A Dusba10.h228 usb_flags_t usb_flags,
282 usb_flags_t usb_flags,
294 usb_flags_t usb_flags);
301 usb_flags_t usb_flags,
H A Dusba_impl.h69 usb_flags_t usb_flags; member
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_pipe_mgmt.c311 usb_flags_t usb_flags, in usba_pipe_setup_func_call() argument
326 if (((usb_flags & USB_FLAGS_SLEEP) == 0) && (callback == NULL)) { in usba_pipe_setup_func_call()
344 request->usb_flags = usb_flags | USB_FLAGS_SLEEP; in usba_pipe_setup_func_call()
349 if (usb_flags & USB_FLAGS_SLEEP) { in usba_pipe_setup_func_call()
350 rval = sync_func(dip, ph_impl, request, usb_flags); in usba_pipe_setup_func_call()
389 request, request->usb_flags | USB_FLAGS_SLEEP)) != in usba_pipe_do_async_func_thread()
787 usb_flags_t usb_flags, in usb_pipe_xopen() argument
802 (void *)dip, (void *)ep_xdesc, (void *)pipe_policy, usb_flags, in usb_pipe_xopen()
817 if (servicing_interrupt() && (usb_flags & USB_FLAGS_SLEEP)) { in usb_pipe_xopen()
877 if ((usb_flags & USBA_FLAGS_PRIVILEGED) == 0) { in usb_pipe_xopen()
[all …]
H A Dusba10_calls.c223 usb_flags_t usb_flags, in usba10_usb_pipe_reset() argument
231 usb_pipe_reset(dip, pipe_handle, usb_flags, cb, cb_arg); in usba10_usb_pipe_reset()
306 usb_flags_t usb_flags, in usba10_usb_set_cfg() argument
314 return (usb_set_cfg(dip, cfg_index, usb_flags, cb, cb_arg)); in usba10_usb_set_cfg()
322 usb_flags_t usb_flags) in usba10_usb_get_cfg() argument
324 return (usb_get_cfg(dip, cfgval, usb_flags)); in usba10_usb_get_cfg()
333 usb_flags_t usb_flags, in usba10_usb_set_alt_if() argument
342 dip, interface, alt_number, usb_flags, cb, cb_arg)); in usba10_usb_set_alt_if()
H A Dusbai_req.c386 uint_t usb_flags; /* usb_flags SLEEP or none */ member
436 ((flags & usb_invalid_flags_attrs[i].usb_flags) || in usba_flags_attr_check()
437 (usb_invalid_flags_attrs[i].usb_flags == X)) && in usba_flags_attr_check()
1121 usb_flags_t usb_flags) in usb_pipe_ctrl_xfer() argument
1135 req->ctrl_wLength, usb_flags); in usb_pipe_ctrl_xfer()
1145 if ((rval = usba_check_req(ph_data, (usb_opaque_t)req, usb_flags, in usb_pipe_ctrl_xfer()
1191 usba_hcdi_pipe_ctrl_xfer(ph_data, req, usb_flags); in usb_pipe_ctrl_xfer()
1521 usb_flags_t usb_flags) in usb_pipe_bulk_xfer() argument
1531 "usb_pipe_bulk_xfer: req=0x%p uf=0x%x", (void *)req, usb_flags); in usb_pipe_bulk_xfer()
1541 if ((rval = usba_check_req(ph_data, (usb_opaque_t)req, usb_flags, in usb_pipe_bulk_xfer()
[all …]
H A Dusbai_util.c511 usb_flags_t usb_flags, in usb_set_cfg() argument
524 usb_flags); in usb_set_cfg()
531 if ((usb_flags & USB_FLAGS_SLEEP) && servicing_interrupt()) { in usb_set_cfg()
549 (usb_opaque_t)((uintptr_t)cfg_index), usb_flags, cb, cb_arg)); in usb_set_cfg()
879 usb_flags_t usb_flags, in usb_set_alt_if() argument
892 interface, alt_number, usb_flags); in usb_set_alt_if()
899 if ((usb_flags & USB_FLAGS_SLEEP) && servicing_interrupt()) { in usb_set_alt_if()
913 usb_flags, cb, cb_arg)); in usb_set_alt_if()
1291 usb_flags_t usb_flags) in usb_pipe_get_state() argument
1297 usb_flags); in usb_pipe_get_state()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci.c1102 usb_flags_t usb_flags) in ehci_hcdi_pipe_reset() argument
1117 error = ehci_handle_root_hub_pipe_reset(ph, usb_flags); in ehci_hcdi_pipe_reset()
1167 usb_flags_t usb_flags) in ehci_hcdi_pipe_ctrl_xfer() argument
1178 (void *)ph, (void *)ctrl_reqp, usb_flags); in ehci_hcdi_pipe_ctrl_xfer()
1217 usb_flags)) == NULL) { in ehci_hcdi_pipe_ctrl_xfer()
1222 ehci_insert_ctrl_req(ehcip, ph, ctrl_reqp, tw, usb_flags); in ehci_hcdi_pipe_ctrl_xfer()
1278 usb_flags_t usb_flags) in ehci_hcdi_pipe_bulk_xfer() argument
1288 (void *)ph, (void *)bulk_reqp, usb_flags); in ehci_hcdi_pipe_bulk_xfer()
1315 usb_flags)) == NULL) { in ehci_hcdi_pipe_bulk_xfer()
1320 ehci_insert_bulk_req(ehcip, ph, bulk_reqp, tw, usb_flags); in ehci_hcdi_pipe_bulk_xfer()
[all …]
H A Dehci_isoch.c65 usb_flags_t usb_flags);
70 usb_flags_t usb_flags);
75 usb_flags_t usb_flags);
80 usb_flags_t usb_flags);
304 usb_flags_t usb_flags) in ehci_allocate_isoc_resources() argument
315 "ehci_allocate_isoc_resources: flags = 0x%x", usb_flags); in ehci_allocate_isoc_resources()
405 usb_flags, isoc_pkt_count)) == NULL) { in ehci_allocate_isoc_resources()
413 if (ehci_allocate_isoc_in_resource(ehcip, pp, itw, usb_flags) != in ehci_allocate_isoc_resources()
449 usb_flags_t usb_flags) in ehci_insert_isoc_req() argument
456 usb_flags, itw->itw_port_status); in ehci_insert_isoc_req()
[all …]
H A Dehci_xfer.c117 usb_flags_t usb_flags);
123 usb_flags_t usb_flags);
128 usb_flags_t usb_flags);
155 usb_flags_t usb_flags);
212 uint_t usb_flags);
222 usb_flags_t usb_flags,
1472 usb_flags_t usb_flags) in ehci_allocate_ctrl_resources() argument
1498 usb_flags, qtd_count); in ehci_allocate_ctrl_resources()
1515 usb_flags_t usb_flags) in ehci_insert_ctrl_req() argument
1656 usb_flags_t usb_flags) in ehci_allocate_bulk_resources() argument
[all …]
H A Dehci_isoch_util.c58 usb_flags_t usb_flags,
64 usb_flags_t usb_flags);
298 usb_flags_t usb_flags, in ehci_allocate_itw_resources() argument
304 itw = ehci_allocate_itw(ehcip, pp, itw_length, usb_flags); in ehci_allocate_itw_resources()
349 usb_flags_t usb_flags) in ehci_allocate_itw() argument
362 length, usb_flags); in ehci_allocate_itw()
473 itw->itw_flags = usb_flags; in ehci_allocate_itw()
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_usba.c58 xhci_hcdi_pipe_open(usba_pipe_handle_data_t *ph, usb_flags_t usb_flags) in xhci_hcdi_pipe_open() argument
64 int kmflags = usb_flags & USB_FLAGS_SLEEP ? KM_SLEEP : KM_NOSLEEP; in xhci_hcdi_pipe_open()
525 xhci_hcdi_pipe_close(usba_pipe_handle_data_t *ph, usb_flags_t usb_flags) in xhci_hcdi_pipe_close() argument
656 xhci_hcdi_pipe_reset(usba_pipe_handle_data_t *ph, usb_flags_t usb_flags) in xhci_hcdi_pipe_reset() argument
782 usb_flags_t usb_flags) in xhci_hcdi_pipe_ctrl_xfer() argument
852 xt = xhci_transfer_alloc(xhcip, xep, ucrp->ctrl_wLength, 2, usb_flags); in xhci_hcdi_pipe_ctrl_xfer()
949 usb_flags_t usb_flags) in xhci_hcdi_pipe_bulk_xfer() argument
988 xt = xhci_transfer_alloc(xhcip, xep, ubrp->bulk_len, 0, usb_flags); in xhci_hcdi_pipe_bulk_xfer()
1092 usb_opaque_t usb_req, size_t len, int usb_flags) in xhci_hcdi_periodic_init() argument
1172 len, ntrbs, usb_flags); in xhci_hcdi_periodic_init()
[all …]
H A Dxhci_dma.c292 uint_t trbs, int usb_flags) in xhci_transfer_alloc() argument
300 if (usb_flags & USB_FLAGS_SLEEP) { in xhci_transfer_alloc()
/illumos-gate/usr/src/uts/common/sys/usb/hcd/ehci/
H A Dehci_xfer.h72 usb_flags_t usb_flags);
78 usb_flags_t usb_flags);
83 usb_flags_t usb_flags);
99 usb_flags_t usb_flags);
H A Dehcid.h1101 usb_flags_t usb_flags);
1104 usb_flags_t usb_flags);
1107 usb_flags_t usb_flags);
1113 usb_flags_t usb_flags);
1120 usb_flags_t usb_flags);
1124 usb_flags_t usb_flags);
1127 usb_flags_t usb_flags);
1137 usb_flags_t usb_flags);
1140 usb_flags_t usb_flags);
H A Dehci_isoch.h63 usb_flags_t usb_flags);
70 usb_flags_t usb_flags);
H A Dehci_isoch_util.h48 usb_flags_t usb_flags,
/illumos-gate/usr/src/uts/common/io/usb/usba10/
H A Dusba10.c251 usb_flags_t usb_flags, in usb_pipe_reset() argument
259 usba10_usb_pipe_reset(dip, pipe_handle, usb_flags, cb, cb_arg); in usb_pipe_reset()
334 usb_flags_t usb_flags, in usb_set_cfg() argument
342 return (usba10_usb_set_cfg(dip, cfg_index, usb_flags, cb, cb_arg)); in usb_set_cfg()
350 usb_flags_t usb_flags) in usb_get_cfg() argument
352 return (usba10_usb_get_cfg(dip, cfgval, usb_flags)); in usb_get_cfg()
361 usb_flags_t usb_flags, in usb_set_alt_if() argument
370 dip, interface, alt_number, usb_flags, cb, cb_arg)); in usb_set_alt_if()
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhcitgt.c42 usb_flags_t usb_flags);
302 uhci_hcdi_pipe_close(usba_pipe_handle_data_t *ph, usb_flags_t usb_flags) in uhci_hcdi_pipe_close() argument
315 eptd->bEndpointAddress, usb_flags); in uhci_hcdi_pipe_close()
451 uhci_hcdi_pipe_reset(usba_pipe_handle_data_t *ph, usb_flags_t usb_flags) in uhci_hcdi_pipe_reset() argument
461 "uhci_hcdi_pipe_reset: usb_flags = 0x%x", usb_flags); in uhci_hcdi_pipe_reset()
663 usb_bulk_req_t *bulk_reqp, usb_flags_t usb_flags) in uhci_hcdi_pipe_bulk_xfer() argument
671 "uhci_hcdi_pipe_bulk_xfer: Flags = 0x%x", usb_flags); in uhci_hcdi_pipe_bulk_xfer()
693 usb_flags)) != USB_SUCCESS) { in uhci_hcdi_pipe_bulk_xfer()
1167 usb_flags_t usb_flags) in uhci_pipe_send_isoc_data() argument
1174 (void *)isoc_req, usb_flags); in uhci_pipe_send_isoc_data()
[all …]
H A Duhciutil.c71 size_t length, usb_flags_t usb_flags);
75 usb_flags_t usb_flags);
1739 usb_flags_t usb_flags) in uhci_create_transfer_wrapper() argument
1751 length, usb_flags); in uhci_create_transfer_wrapper()
1851 tw->tw_flags = usb_flags; in uhci_create_transfer_wrapper()
3772 usb_flags_t usb_flags) in uhci_create_isoc_transfer_wrapper() argument
3804 length, usb_flags); in uhci_create_isoc_transfer_wrapper()
3959 tw->tw_flags = usb_flags; in uhci_create_isoc_transfer_wrapper()
4450 usb_flags_t usb_flags) in uhci_start_isoc_receive_polling() argument
4459 "uhci_start_isoc_receive_polling: usb_flags = %x", usb_flags); in uhci_start_isoc_receive_polling()
[all …]
/illumos-gate/usr/src/uts/common/sys/usb/hcd/uhci/
H A Duhciutil.h46 usb_flags_t usb_flags);
169 size_t length, usb_flags_t usb_flags);
173 usb_isoc_req_t *isoc_req, usb_flags_t usb_flags);
H A Duhcitgt.h57 usb_flags_t usb_flags);
78 usb_flags_t usb_flags);
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci.c88 usb_flags_t usb_flags);
91 usb_flags_t usb_flags);
94 usb_flags_t usb_flags);
100 usb_flags_t usb_flags);
107 usb_flags_t usb_flags);
111 usb_flags_t usb_flags);
114 usb_flags_t usb_flags);
124 usb_flags_t usb_flags);
127 usb_flags_t usb_flags);
233 usb_flags_t usb_flags);
[all …]
H A Dohci_polled.c102 usb_flags_t usb_flags);
2114 usb_flags_t usb_flags) in ohci_polled_create_tw() argument
2213 tw->tw_flags = usb_flags; in ohci_polled_create_tw()
/illumos-gate/usr/src/uts/common/sys/usb/
H A Dusbai.h1234 usb_flags_t usb_flags,
1751 usb_flags_t usb_flags,
1774 usb_flags_t usb_flags);
1814 usb_flags_t usb_flags,

12