/titanic_50/usr/src/uts/common/io/zyd/ |
H A D | zyd_usb.c | 366 &pipe_policy, USB_FLAGS_SLEEP, pipe) != USB_SUCCESS) { in zyd_usb_open_pipe() 451 usb_pipe_close(uc->dip, uc->pipe_data_out, USB_FLAGS_SLEEP, in zyd_usb_close_pipes() 457 usb_pipe_close(uc->dip, uc->pipe_data_in, USB_FLAGS_SLEEP, in zyd_usb_close_pipes() 463 usb_pipe_close(uc->dip, uc->pipe_cmd_in, USB_FLAGS_SLEEP, in zyd_usb_close_pipes() 469 usb_pipe_close(uc->dip, uc->pipe_cmd_out, USB_FLAGS_SLEEP, in zyd_usb_close_pipes() 535 send_req = usb_alloc_bulk_req(uc->dip, len, USB_FLAGS_SLEEP); in zyd_usb_bulk_pipe_send() 564 usb_pipe_reset(uc->dip, pipe, USB_FLAGS_SLEEP, NULL, 0); in zyd_usb_bulk_pipe_send() 608 send_req = usb_alloc_intr_req(uc->dip, len, USB_FLAGS_SLEEP); in zyd_usb_intr_pipe_send() 637 usb_pipe_reset(uc->dip, pipe, USB_FLAGS_SLEEP, NULL, 0); in zyd_usb_intr_pipe_send() 848 intr_req = usb_alloc_intr_req(uc->dip, 0, USB_FLAGS_SLEEP); in zyd_usb_cmd_in_start_polling() [all …]
|
/titanic_50/usr/src/uts/common/io/usb/scsa2usb/ |
H A D | usb_ms_cbi.c | 193 &completion_reason, &cb_flags, USB_FLAGS_SLEEP); in scsa2usb_cbi_transport() 223 cmd->cmd_timeout, USB_ATTRS_PIPE_RESET, USB_FLAGS_SLEEP); in scsa2usb_cbi_transport() 362 req = usb_alloc_intr_req(scsa2usbp->scsa2usb_dip, 0, USB_FLAGS_SLEEP); in scsa2usb_cbi_start_intr_polling() 371 USB_FLAGS_SLEEP)) != USB_SUCCESS) { in scsa2usb_cbi_start_intr_polling() 393 &pipe_state, USB_FLAGS_SLEEP); in scsa2usb_cbi_start_intr_polling() 424 USB_FLAGS_SLEEP); in scsa2usb_cbi_stop_intr_polling()
|
H A D | usb_ms_bulkonly.c | 210 SCSA2USB_BULK_PIPE_TIMEOUT, USB_ATTRS_PIPE_RESET, USB_FLAGS_SLEEP); in scsa2usb_bulk_only_transport() 220 USB_FLAGS_SLEEP); in scsa2usb_bulk_only_transport() 536 USB_FLAGS_SLEEP); in scsa2usb_handle_status_start()
|
H A D | scsa2usb.c | 2683 (void *)scsa2usbp, USB_FLAGS_SLEEP)) != USB_SUCCESS) { in scsa2usb_scsi_start() 4523 &scsa2usbp->scsa2usb_bulkin_ept, &policy, USB_FLAGS_SLEEP, in scsa2usb_open_usb_pipes() 4536 &scsa2usbp->scsa2usb_bulkout_ept, &policy, USB_FLAGS_SLEEP, in scsa2usb_open_usb_pipes() 4540 USB_FLAGS_SLEEP, NULL, NULL); in scsa2usb_open_usb_pipes() 4561 USB_FLAGS_SLEEP, &scsa2usbp->scsa2usb_intr_pipe)) != in scsa2usb_open_usb_pipes() 4565 USB_FLAGS_SLEEP, NULL, NULL); in scsa2usb_open_usb_pipes() 4569 USB_FLAGS_SLEEP, NULL, NULL); in scsa2usb_open_usb_pipes() 4627 usb_flags_t flags = USB_FLAGS_SLEEP; in scsa2usb_close_usb_pipes() 4844 usb_flags_t flags = USB_FLAGS_SLEEP; in scsa2usb_handle_data_start() 5226 flags | USB_FLAGS_SLEEP); in scsa2usb_init_bulk_req() [all …]
|
/titanic_50/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_pipe_mgmt.c | 325 if (((usb_flags & USB_FLAGS_SLEEP) == 0) && (callback == NULL)) { in usba_pipe_setup_func_call() 343 request->usb_flags = usb_flags | USB_FLAGS_SLEEP; in usba_pipe_setup_func_call() 348 if (usb_flags & USB_FLAGS_SLEEP) { in usba_pipe_setup_func_call() 354 (void *)request, USB_FLAGS_SLEEP) != USB_SUCCESS) { in usba_pipe_setup_func_call() 388 request, request->usb_flags | USB_FLAGS_SLEEP)) != in usba_pipe_do_async_func_thread() 790 if (servicing_interrupt() && (usb_flags & USB_FLAGS_SLEEP)) { in usb_pipe_open() 841 kmflag = (usb_flags & USB_FLAGS_SLEEP) ? KM_SLEEP : KM_NOSLEEP; in usb_pipe_open() 990 if (servicing_interrupt() && (usb_flags & USB_FLAGS_SLEEP)) { in usb_pipe_close() 1141 USB_FLAGS_SLEEP); in usba_pipe_sync_close() 1272 if (servicing_interrupt() && (usb_flags & USB_FLAGS_SLEEP)) { in usb_pipe_reset() [all …]
|
H A D | usbai_req.c | 151 if (servicing_interrupt() && (flags & USB_FLAGS_SLEEP)) { in _usba_check_req() 185 if (flags & USB_FLAGS_SLEEP) { in _usba_check_req() 200 if (flags & USB_FLAGS_SLEEP) { in _usba_check_req() 211 if ((flags & USB_FLAGS_SLEEP) && in _usba_check_req() 236 if ((flags & USB_FLAGS_SLEEP) == 0) { in _usba_check_req() 421 flags &= USB_FLAGS_SLEEP; /* ignore other flags */ in usba_flags_attr_check() 641 if (servicing_interrupt() && (flags & USB_FLAGS_SLEEP)) { in usba_req_wrapper_alloc() 646 kmflag = (flags & USB_FLAGS_SLEEP) ? KM_SLEEP : KM_NOSLEEP; in usba_req_wrapper_alloc() 1007 ASSERT(wrp->wr_usb_flags & USB_FLAGS_SLEEP); in usba_pipe_sync_wait() 1059 if (flags & USB_FLAGS_SLEEP) { in usb_alloc_ctrl_req() [all …]
|
H A D | usbai_util.c | 309 &cb_flags, USB_FLAGS_SLEEP); in usb_get_string_descr() 353 &cb_flags, USB_FLAGS_SLEEP); in usb_get_string_descr() 530 if ((usb_flags & USB_FLAGS_SLEEP) && servicing_interrupt()) { in usb_set_cfg() 636 &cb_flags, flags | USBA_FLAGS_PRIVILEGED | USB_FLAGS_SLEEP); in usba_sync_set_cfg() 898 if ((usb_flags & USB_FLAGS_SLEEP) && servicing_interrupt()) { in usb_set_alt_if() 953 &cb_flags, flags | USB_FLAGS_SLEEP); in usba_sync_set_alt_if() 1165 &cb_flags, USB_FLAGS_SLEEP); in usb_check_same_device() 1248 kmem_zalloc(USB_MAXSTRINGLEN, USB_FLAGS_SLEEP); in usb_check_same_device() 1513 &cb_flags, flags | USB_FLAGS_SLEEP); in usb_clear_feature() 1571 if ((flags & USB_FLAGS_SLEEP) && servicing_interrupt()) { in usb_clr_feature() [all …]
|
H A D | usba_ugen.c | 503 USB_FLAGS_SLEEP, NULL, NULL); in ugen_cleanup() 1877 USB_FLAGS_SLEEP) == USB_SUCCESS) { in ugen_epxs_switch_cfg_alt() 1903 new_cfgidx, USB_FLAGS_SLEEP, NULL, in ugen_epxs_switch_cfg_alt() 1934 USB_FLAGS_SLEEP) == USB_SUCCESS))) { in ugen_epxs_switch_cfg_alt() 1943 new_alt, USB_FLAGS_SLEEP, NULL, NULL)) != in ugen_epxs_switch_cfg_alt() 2090 USB_FLAGS_SLEEP, &epp->ep_ph); in ugen_epx_open_pipe() 2110 epp->ep_ph, USB_FLAGS_SLEEP, in ugen_epx_open_pipe() 2196 USB_FLAGS_SLEEP); in ugen_epx_close_pipe() 2225 epp->ep_ph, 0, USB_FLAGS_SLEEP, in ugen_epx_close_pipe() 2231 epp->ep_ph, USB_FLAGS_SLEEP, NULL, NULL); in ugen_epx_close_pipe() [all …]
|
H A D | hubdi.c | 352 USB_FLAGS_SLEEP | USBA_FLAGS_PRIVILEGED, &ph) != USB_SUCCESS) { in usba_hubdi_bind_root_hub() 382 USB_FLAGS_SLEEP | USBA_FLAGS_PRIVILEGED, NULL, NULL); in usba_hubdi_bind_root_hub() 2165 USB_FLAGS_SLEEP | USBA_FLAGS_PRIVILEGED, NULL, NULL); in hubd_setdevaddr() 2184 USB_FLAGS_SLEEP | USBA_FLAGS_PRIVILEGED, &ph) != in hubd_setdevaddr() 2207 USB_FLAGS_SLEEP | USBA_FLAGS_PRIVILEGED, NULL, NULL); in hubd_setdevaddr() 2256 USB_FLAGS_SLEEP | USBA_FLAGS_PRIVILEGED, &ph)) == in hubd_setdevconfig() 2916 USB_FLAGS_SLEEP | USBA_FLAGS_PRIVILEGED, NULL, NULL); in hubd_cleanup() 3343 reqp = usb_alloc_intr_req(hubd->h_dip, 0, USB_FLAGS_SLEEP); in hubd_start_polling() 3353 USB_FLAGS_SLEEP)) != USB_SUCCESS) { in hubd_start_polling() 3360 USB_FLAGS_SLEEP); in hubd_start_polling() [all …]
|
H A D | usbai.c | 586 if (flags & USB_FLAGS_SLEEP) { in usb_req_raise_power() 640 if (flags & USB_FLAGS_SLEEP) { in usb_req_lower_power() 725 &cb_flags, USB_FLAGS_SLEEP)) != USB_SUCCESS) { in usba_handle_device_remote_wakeup()
|
H A D | hcdi.c | 885 &status, USB_FLAGS_SLEEP); in hcdi_autoclearing() 907 &cb_flags, USB_FLAGS_SLEEP)) != USB_SUCCESS) { in hcdi_autoclearing()
|
/titanic_50/usr/src/uts/common/io/usb/clients/usbecm/ |
H A D | usbecm.c | 1160 br = usb_alloc_bulk_req(ecmp->ecm_dip, data_len, USB_FLAGS_SLEEP); in usbecm_rx_start() 1297 br = usb_alloc_bulk_req(ecmp->ecm_dip, 0, USB_FLAGS_SLEEP); in usbecm_send_data() 1388 br = usb_alloc_bulk_req(ecmp->ecm_dip, 0, USB_FLAGS_SLEEP); in usbecm_send_zero_data() 1503 intr = usb_alloc_intr_req(ecmp->ecm_dip, 0, USB_FLAGS_SLEEP); in usbecm_pipe_start_polling() 1524 rval = usb_pipe_intr_xfer(ecmp->ecm_intr_ph, intr, USB_FLAGS_SLEEP); in usbecm_pipe_start_polling() 2103 USB_FLAGS_SLEEP); in usbecm_pwrlvl0() 2447 USB_FLAGS_SLEEP, NULL, NULL) != USB_SUCCESS) { in usbecm_get_descriptors() 2948 altif, USB_FLAGS_SLEEP, NULL, NULL)) != USB_SUCCESS) { in usbecm_open_pipes() 2960 USB_FLAGS_SLEEP, &ecmp->ecm_bulkin_ph) != USB_SUCCESS) { in usbecm_open_pipes() 2969 USB_FLAGS_SLEEP, &ecmp->ecm_bulkout_ph) != USB_SUCCESS) { in usbecm_open_pipes() [all …]
|
/titanic_50/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/ |
H A D | keyspan_pipe.c | 453 &pipe->pipe_policy, USB_FLAGS_SLEEP, &pipe->pipe_handle); in keyspan_open_one_pipe() 488 &pipe->pipe_policy, USB_FLAGS_SLEEP, in keyspan_open_pipe_datain_usa49wg() 531 USB_FLAGS_SLEEP, NULL, NULL); in keyspan_close_one_pipe() 556 pipe->pipe_handle, USB_FLAGS_SLEEP, in keyspan_close_pipe_datain_usa49wg() 758 USB_FLAGS_SLEEP, NULL, NULL); in keyspan_close_open_pipes() 781 USB_FLAGS_SLEEP, NULL, NULL); in keyspan_close_open_pipes() 826 USB_FLAGS_SLEEP); in keyspan_close_dev_pipes() 1605 br = usb_alloc_bulk_req(ksp->ks_dip, len, USB_FLAGS_SLEEP); in keyspan_receive_data() 1662 br = usb_alloc_bulk_req(ksp->ks_dip, 32, USB_FLAGS_SLEEP); in keyspan_receive_status() 1701 br = usb_alloc_bulk_req(ksp->ks_dip, 0, USB_FLAGS_SLEEP); in keyspan_send_data() [all …]
|
H A D | usbser_keyspan.c | 488 if (usb_set_cfg(dip, cfg_num, USB_FLAGS_SLEEP, in keyspan_set_cfg()
|
H A D | keyspan_dsd.c | 696 USB_FLAGS_SLEEP, NULL, NULL); in keyspan_close_hw_port() 710 USB_FLAGS_SLEEP, NULL, NULL); in keyspan_close_hw_port() 1838 br = usb_alloc_bulk_req(ksp->ks_dip, 0, USB_FLAGS_SLEEP); in keyspan_send_cmd_usa49() 1846 USB_FLAGS_SLEEP); in keyspan_send_cmd_usa49() 2196 USB_FLAGS_SLEEP); in keyspan_pwrlvl0() 2310 USB_FLAGS_SLEEP); in keyspan_detach_pipes()
|
/titanic_50/usr/src/uts/common/io/usb/clients/usbser/usbsacm/ |
H A D | usbsacm.c | 2030 USB_FLAGS_SLEEP, &acm_port->acm_bulkin_ph) != USB_SUCCESS) { in usbsacm_open_port_pipes() 2039 USB_FLAGS_SLEEP, &acm_port->acm_bulkout_ph) != USB_SUCCESS) { in usbsacm_open_port_pipes() 2044 USB_FLAGS_SLEEP, NULL, NULL); in usbsacm_open_port_pipes() 2053 USB_FLAGS_SLEEP, &acm_port->acm_intr_ph) != USB_SUCCESS) { in usbsacm_open_port_pipes() 2059 USB_FLAGS_SLEEP, NULL, NULL); in usbsacm_open_port_pipes() 2061 USB_FLAGS_SLEEP, NULL, NULL); in usbsacm_open_port_pipes() 2120 USB_FLAGS_SLEEP, 0, 0); in usbsacm_close_port_pipes() 2122 USB_FLAGS_SLEEP, 0, 0); in usbsacm_close_port_pipes() 2124 USB_FLAGS_SLEEP, 0, 0); in usbsacm_close_port_pipes() 2127 USB_FLAGS_SLEEP); in usbsacm_close_port_pipes() [all …]
|
/titanic_50/usr/src/uts/common/io/uath/ |
H A D | uath.c | 460 &policy, USB_FLAGS_SLEEP, &sc->rx_cmd_pipe); in uath_open_pipes() 480 &policy, USB_FLAGS_SLEEP, &sc->tx_cmd_pipe); in uath_open_pipes() 499 &policy, USB_FLAGS_SLEEP, &sc->rx_data_pipe); in uath_open_pipes() 518 &policy, USB_FLAGS_SLEEP, &sc->tx_data_pipe); in uath_open_pipes() 535 usb_flags_t flags = USB_FLAGS_SLEEP; in uath_close_pipes() 647 send_req = usb_alloc_bulk_req(sc->sc_dev, len, USB_FLAGS_SLEEP); in uath_fw_send() 657 res = usb_pipe_bulk_xfer(pipe, send_req, USB_FLAGS_SLEEP); in uath_fw_send() 676 req = usb_alloc_bulk_req(sc->sc_dev, len, USB_FLAGS_SLEEP); in uath_fw_ack() 690 err = usb_pipe_bulk_xfer(sc->rx_cmd_pipe, req, USB_FLAGS_SLEEP); in uath_fw_ack() 1231 send_req = usb_alloc_bulk_req(sc->sc_dev, len, USB_FLAGS_SLEEP); in uath_tx_cmd_xfer() [all …]
|
/titanic_50/usr/src/uts/common/io/atu/ |
H A D | atu.c | 545 USB_FLAGS_SLEEP, &sc->sc_tx_pipe); in atu_open_pipes() 554 USB_FLAGS_SLEEP, &sc->sc_rx_pipe); in atu_open_pipes() 562 USB_FLAGS_SLEEP, NULL, 0); in atu_open_pipes() 568 USB_FLAGS_SLEEP, NULL, 0); in atu_open_pipes() 578 usb_flags_t flags = USB_FLAGS_SLEEP; in atu_close_pipes() 683 req = usb_alloc_bulk_req(sc->sc_dip, ATU_RX_BUFSZ, USB_FLAGS_SLEEP); in atu_rx_trigger() 715 req = usb_alloc_bulk_req(sc->sc_dip, 0, USB_FLAGS_SLEEP); in atu_tx_trigger()
|
/titanic_50/usr/src/uts/common/io/usb/clients/usbser/usbftdi/ |
H A D | uftdi_dsd.c | 1534 USB_FLAGS_SLEEP, &uf->uf_bulkin_ph) != USB_SUCCESS) in uftdi_open_pipes() 1538 USB_FLAGS_SLEEP, &uf->uf_bulkout_ph) != USB_SUCCESS) { in uftdi_open_pipes() 1539 usb_pipe_close(uf->uf_dip, uf->uf_bulkin_ph, USB_FLAGS_SLEEP, in uftdi_open_pipes() 1558 USB_FLAGS_SLEEP, 0, 0); in uftdi_close_pipes() 1561 USB_FLAGS_SLEEP, 0, 0); in uftdi_close_pipes() 1818 br = usb_alloc_bulk_req(uf->uf_dip, uf->uf_ibuf_sz, USB_FLAGS_SLEEP); in uftdi_rx_start() 1931 br = usb_alloc_bulk_req(uf->uf_dip, 0, USB_FLAGS_SLEEP); in uftdi_send_data()
|
/titanic_50/usr/src/uts/common/io/usb/clients/usbser/usbsprl/ |
H A D | pl2303_dsd.c | 1484 USB_FLAGS_SLEEP, &plp->pl_bulkin_ph) != USB_SUCCESS) { in pl2303_open_pipes() 1490 USB_FLAGS_SLEEP, &plp->pl_bulkout_ph) != USB_SUCCESS) { in pl2303_open_pipes() 1491 usb_pipe_close(plp->pl_dip, plp->pl_bulkin_ph, USB_FLAGS_SLEEP, in pl2303_open_pipes() 1511 USB_FLAGS_SLEEP, 0, 0); in pl2303_close_pipes() 1515 USB_FLAGS_SLEEP, 0, 0); in pl2303_close_pipes() 1658 br = usb_alloc_bulk_req(plp->pl_dip, plp->pl_xfer_sz, USB_FLAGS_SLEEP); in pl2303_rx_start() 1788 br = usb_alloc_bulk_req(plp->pl_dip, 0, USB_FLAGS_SLEEP); in pl2303_send_data()
|
/titanic_50/usr/src/uts/common/io/usb/clients/usbskel/ |
H A D | usbskel.c | 658 USB_FLAGS_SLEEP, NULL, 0); in usbskel_close() 735 usbskelp->usbskel_dip, bp->b_bcount, USB_FLAGS_SLEEP)) == in usbskel_strategy() 1211 USB_FLAGS_SLEEP, &pipe_handle)) != USB_SUCCESS) { in usbskel_open_pipes() 1251 USB_FLAGS_SLEEP, NULL, 0); in usbskel_close_pipes() 1582 &setup, &pdata, &completion_reason, &cb_flags, USB_FLAGS_SLEEP); in usbskel_check_same_device()
|
/titanic_50/usr/src/uts/common/io/usb/clients/hid/ |
H A D | hid.c | 867 &hidp->hid_intr_pipe_policy, USB_FLAGS_SLEEP, in hid_open() 906 USB_FLAGS_SLEEP, NULL, NULL); in hid_open() 992 hidp->hid_default_pipe, 0, USB_FLAGS_SLEEP, NULL, 0); in hid_close() 1654 USB_FLAGS_SLEEP, NULL, 0); in hid_cpr_suspend() 2184 req = usb_alloc_intr_req(hidp->hid_dip, 0, USB_FLAGS_SLEEP); in hid_start_intr_polling() 2198 USB_FLAGS_SLEEP)) != USB_SUCCESS) { in hid_start_intr_polling() 2231 USB_FLAGS_SLEEP, NULL, NULL); in hid_close_intr_pipe() 2784 usb_pipe_stop_intr_polling(hidp->hid_interrupt_pipe, USB_FLAGS_SLEEP); in hid_save_device_state() 3111 USB_FLAGS_SLEEP); in hid_pwrlvl0()
|
/titanic_50/usr/src/uts/common/io/ural/ |
H A D | ural.c | 1471 usb_flags_t flags = USB_FLAGS_SLEEP; in ural_close_pipes() 1500 &ep_node->ep_descr, &policy, USB_FLAGS_SLEEP, in ural_open_pipes() 1514 &ep_node->ep_descr, &policy, USB_FLAGS_SLEEP, in ural_open_pipes() 1526 USB_FLAGS_SLEEP, NULL, 0); in ural_open_pipes() 1532 USB_FLAGS_SLEEP, NULL, 0); in ural_open_pipes() 1547 req = usb_alloc_bulk_req(sc->sc_dev, 0, USB_FLAGS_SLEEP); in ural_tx_trigger() 1585 req = usb_alloc_bulk_req(sc->sc_dev, RAL_RXBUF_SIZE, USB_FLAGS_SLEEP); in ural_rx_trigger()
|
/titanic_50/usr/src/uts/common/io/usb/clients/printer/ |
H A D | usbprn.c | 720 if ((rval = usb_set_alt_if(dip, interface, alt, USB_FLAGS_SLEEP, in usbprn_get_descriptors() 1652 policy, USB_FLAGS_SLEEP, &bulk_out->ps_handle) != USB_SUCCESS) { in usbprn_open_usb_pipes() 1671 policy, USB_FLAGS_SLEEP, &bulk_in->ps_handle) != in usbprn_open_usb_pipes() 1721 USB_FLAGS_SLEEP, NULL, NULL); in usbprn_close_usb_pipes() 1730 USB_FLAGS_SLEEP, NULL, NULL); in usbprn_close_usb_pipes() 2293 req = usb_alloc_bulk_req(usbprnp->usbprn_dip, 0, USB_FLAGS_SLEEP); in usbprn_send_async_bulk_data() 2596 USB_FLAGS_SLEEP, NULL, NULL)) != USB_SUCCESS) { in usbprn_restore_device_state()
|
/titanic_50/usr/src/uts/common/io/rum/ |
H A D | rum.c | 1477 usb_flags_t flags = USB_FLAGS_SLEEP; in rum_close_pipes() 1506 &ep_node->ep_descr, &policy, USB_FLAGS_SLEEP, in rum_open_pipes() 1520 &ep_node->ep_descr, &policy, USB_FLAGS_SLEEP, in rum_open_pipes() 1532 USB_FLAGS_SLEEP, NULL, 0); in rum_open_pipes() 1538 USB_FLAGS_SLEEP, NULL, 0); in rum_open_pipes() 1553 req = usb_alloc_bulk_req(sc->sc_dev, 0, USB_FLAGS_SLEEP); in rum_tx_trigger() 1591 req = usb_alloc_bulk_req(sc->sc_dev, RAL_RXBUF_SIZE, USB_FLAGS_SLEEP); in rum_rx_trigger()
|