usbsacm_with_usba.wlcmd revision 3227:9602d8b74112
1235368Sgnn# CDDL HEADER START 2235368Sgnn# 3235368Sgnn# The contents of this file are subject to the terms of the 4235368Sgnn# Common Development and Distribution License (the "License"). 5235368Sgnn# You may not use this file except in compliance with the License. 6235368Sgnn# 7235368Sgnn# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 8235368Sgnn# or http://www.opensolaris.org/os/licensing. 9235368Sgnn# See the License for the specific language governing permissions 10235368Sgnn# and limitations under the License. 11235368Sgnn# 12235368Sgnn# When distributing Covered Code, include this CDDL HEADER in each 13235368Sgnn# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 14235368Sgnn# If applicable, add the following below this CDDL HEADER, with the 15235368Sgnn# fields enclosed by brackets "[]" replaced with your own identifying 16235368Sgnn# information: Portions Copyright [yyyy] [name of copyright owner] 17235368Sgnn# 18235368Sgnn# CDDL HEADER END 19235368Sgnn# 20235368Sgnn# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 21235368Sgnn# Use is subject to license terms. 22235368Sgnn# 23235368Sgnn# ident "%Z%%M% %I% %E% SMI" 24235368Sgnn 25235368Sgnnone ohci_state 26235368Sgnnone ehci_state 27235368Sgnnone uhci_state 28235368Sgnnone usbser_state 29235368Sgnnone usbsacm_state 30235368Sgnnone usbsacm_port 31235368Sgnn 32235368Sgnn### specify the root functions 33235368Sgnn 34235368Sgnnroot usbser_first_device 35235368Sgnnroot usbser_putchar 36235368Sgnnroot usbser_getchar 37235368Sgnnroot usbser_ischar 38235368Sgnnroot usbser_polledio_enter 39235368Sgnnroot usbser_polledio_exit 40235368Sgnnroot usb_console_output_fini 41235368Sgnnroot usb_console_input_enter 42235368Sgnnroot usb_console_input_exit 43235368Sgnnroot usb_console_input_fini 44235368Sgnnroot usb_console_input_init 45235368Sgnnroot usb_console_read 46235368Sgnnroot usb_get_dev_descr 47235368Sgnnroot usb_get_if_number 48235368Sgnnroot usb_parse_CV_cfg_descr 49235368Sgnnroot usb_parse_CV_ep_descr 50235368Sgnnroot usb_parse_CV_if_descr 51235368Sgnnroot usb_pipe_get_private 52235368Sgnnroot usb_get_current_frame_number 53235368Sgnnroot usb_get_max_isoc_pkts 54235368Sgnnroot usb_pipe_set_private 55235368Sgnnroot usba_ready_interface_node 56235368Sgnnroot usba_free_hcdi_ops 57235368Sgnnroot usba_async_req_raise_power 58235368Sgnnroot usba_async_req_lower_power 59235368Sgnnroot usb_req_raise_power 60235368Sgnnroot usb_req_lower_power 61235368Sgnnroot usb_set_device_pwrlvl0 62235368Sgnnroot usb_set_device_pwrlvl1 63235368Sgnnroot usb_set_device_pwrlvl2 64root usb_set_device_pwrlvl3 65root usb_is_pm_enabled 66root usb_async_req 67root usb_pipe_bulk_transfer_size 68root usb_get_ep_data 69root usba_pipe_get_policy 70root usb_pipe_ctrl_xfer_wait 71root usb_pipe_drain_reqs 72root usb_try_serialize_access 73root usb_fini_serialization 74root usb_init_serialization 75root usb_release_access 76root usb_serialize_access 77root usb_clr_feature 78root usb_clear_feature 79root usb_get_alt_if 80root usb_get_ep_descr 81root usb_get_if_descr 82root usb_log 83root usb_pipe_isoc_xfer 84root usb_pipe_stop_isoc_polling 85root usb_set_alt_if 86root usb_set_cfg 87root usb_get_cfg 88root usb_ep_num 89root usb_get_status 90root usb_pipe_reset 91root usb_log_descr_tree 92root usb_print_descr_tree 93root usb_rval2errno 94root usb_register_hotplug_cbs 95root usb_get_current_cfgidx 96root usb_register_client 97 98root usb_ugen_attach 99root usb_ugen_close 100root usb_ugen_detach 101root usb_ugen_disconnect_ev_cb 102root usb_ugen_get_hdl 103root usb_ugen_open 104root usb_ugen_poll 105root usb_ugen_power 106root usb_ugen_read 107root usb_ugen_reconnect_ev_cb 108root usb_ugen_write 109 110root hcdi_autoclearing 111root hcdi_cb_thread 112root hcdi_shared_cb_thread 113 114root hubd_restore_state_cb 115root hubd_disconnect_event_cb 116root hubd_post_resume_event_cb 117root hubd_pre_suspend_event_cb 118root hubd_reconnect_event_cb 119root hubd_hotplug_thread 120root hubd_cpr_post_user_callb 121root hubd_root_hub_cleanup_thread 122root hubd_bus_power 123 124root usba_pipe_do_async_func_thread 125root usba_pipe_sync_reset 126root usba_get_hc_dma_attr 127root usba_hcdi_get_req_private 128root usba_hcdi_set_req_private 129root usba_dbuf_tail 130root usba_hubdi_power 131root usba_hubdi_root_hub_power 132root usba_get_hotplug_stats 133root usba_reset_hotplug_stats 134root usba_ascii_string_descr 135root usba_move_list 136root usba_taskq_destroy 137root usba_mk_mctl 138root usb_fail_checkpoint 139 140root ohci_intr 141root ehci_intr 142 143### specify the usbsacm root functions 144 145root usbser_soft_state_size 146root usbsacm_open 147root usbser_close 148root usbser_wput 149root usbser_wsrv 150root usbser_rsrv 151root usbser_tx_cb 152root usbser_rx_cb 153root usbser_status_cb 154root usbser_wq_thread 155root usbser_rq_thread 156root usbser_disconnect_cb 157root usbser_reconnect_cb 158root usbser_cpr_suspend 159root usbser_cpr_resume 160 161root usbsacm_bulkin_cb 162root usbsacm_bulkout_cb 163 164### specify usbsacm function pointers 165 166add ds_ops::ds_attach targets usbsacm_ds_attach 167add ds_ops::ds_detach targets usbsacm_ds_detach 168add ds_ops::ds_register_cb targets usbsacm_ds_register_cb 169add ds_ops::ds_unregister_cb targets usbsacm_ds_unregister_cb 170add ds_ops::ds_open_port targets usbsacm_ds_open_port 171add ds_ops::ds_close_port targets usbsacm_ds_close_port 172add ds_ops::ds_usb_power targets usbsacm_ds_usb_power 173add ds_ops::ds_suspend targets usbsacm_ds_suspend 174add ds_ops::ds_resume targets usbsacm_ds_resume 175add ds_ops::ds_disconnect targets usbsacm_ds_disconnect 176add ds_ops::ds_reconnect targets usbsacm_ds_reconnect 177add ds_ops::ds_set_port_params targets usbsacm_ds_set_port_params 178add ds_ops::ds_set_modem_ctl targets usbsacm_ds_set_modem_ctl 179add ds_ops::ds_get_modem_ctl targets usbsacm_ds_get_modem_ctl 180add ds_ops::ds_break_ctl targets usbsacm_ds_break_ctl 181add ds_ops::ds_tx targets usbsacm_ds_tx 182add ds_ops::ds_rx targets usbsacm_ds_rx 183add ds_ops::ds_stop targets usbsacm_ds_stop 184add ds_ops::ds_start targets usbsacm_ds_start 185add ds_ops::ds_fifo_flush targets usbsacm_ds_fifo_flush 186add ds_ops::ds_fifo_drain targets usbsacm_ds_fifo_drain 187add ds_ops::ds_out_pipe targets warlock_dummy 188add ds_ops::ds_in_pipe targets warlock_dummy 189 190add usbsacm_port::acm_cb.cb_tx targets usbser_tx_cb 191add usbsacm_port::acm_cb.cb_rx targets usbser_rx_cb 192 193add usb_ctrl_req::ctrl_cb targets usbsacm_intr_cb 194add usb_ctrl_req::ctrl_exc_cb targets usbsacm_intr_ex_cb 195add usb_bulk_req::bulk_cb targets usbsacm_bulkin_cb 196add usb_bulk_req::bulk_exc_cb targets usbsacm_bulkin_cb 197add usb_bulk_req::bulk_cb targets usbsacm_bulkout_cb 198add usb_bulk_req::bulk_exc_cb targets usbsacm_bulkout_cb 199 200add usb_isoc_req::isoc_cb targets warlock_dummy 201add usb_isoc_req::isoc_exc_cb targets warlock_dummy 202add usba_pipe_async_req::callback targets warlock_dummy 203add usba_pipe_async_req::sync_func targets warlock_dummy 204add usba_pm_req::cb targets warlock_dummy 205 206add ohci_trans_wrapper::tw_handle_td targets ohci_handle_ctrl_td 207add ohci_trans_wrapper::tw_handle_td targets ohci_handle_bulk_td 208add ohci_trans_wrapper::tw_handle_td targets ohci_handle_intr_td 209add ohci_trans_wrapper::tw_handle_td targets ohci_handle_isoc_td 210 211add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_bulk_qtd 212add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_intr_qtd 213add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_ctrl_qtd 214