1# 2# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 3# Use is subject to license terms. 4# 5# CDDL HEADER START 6# 7# The contents of this file are subject to the terms of the 8# Common Development and Distribution License (the "License"). 9# You may not use this file except in compliance with the License. 10# 11# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 12# or http://www.opensolaris.org/os/licensing. 13# See the License for the specific language governing permissions 14# and limitations under the License. 15# 16# When distributing Covered Code, include this CDDL HEADER in each 17# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 18# If applicable, add the following below this CDDL HEADER, with the 19# fields enclosed by brackets "[]" replaced with your own identifying 20# information: Portions Copyright [yyyy] [name of copyright owner] 21# 22# CDDL HEADER END 23# 24 25one hid_state 26one ohci_state 27one ehci_state 28one uhci_state 29one usba_pipe_handle_data 30one usba_ph_impl 31one hubd 32one usba_device 33 34### specify the root functions 35 36root usb_console_output_init 37root usb_console_output_fini 38root usb_console_output_enter 39root usb_console_output_exit 40root usb_console_write 41root usb_console_input_enter 42root usb_console_input_exit 43root usb_console_read 44root usb_get_dev_descr 45root usb_get_if_number 46root usb_parse_CV_cfg_descr 47root usb_parse_CV_ep_descr 48root usb_parse_CV_if_descr 49root usb_parse_comp_ep_descr 50root usb_pipe_get_private 51root usb_get_current_frame_number 52root usb_get_max_isoc_pkts 53root usb_pipe_set_private 54root usb_rval2errno 55root usb_req_raise_power 56root usb_req_lower_power 57root usb_set_device_pwrlvl0 58root usb_set_device_pwrlvl1 59root usb_set_device_pwrlvl2 60root usb_set_device_pwrlvl3 61root usb_is_pm_enabled 62root usb_async_req 63root usb_pipe_bulk_transfer_size 64root usba_pipe_get_policy 65root usb_pipe_ctrl_xfer_wait 66root usb_pipe_drain_reqs 67root usb_try_serialize_access 68root usb_pipe_reset 69root usb_alloc_bulk_req 70root usb_clear_feature 71root usb_free_bulk_req 72root usb_get_alt_if 73root usb_get_ep_descr 74root usb_get_if_descr 75root usb_pipe_bulk_xfer 76root usb_pipe_isoc_xfer 77root usb_pipe_stop_isoc_polling 78root usb_set_alt_if 79root usb_set_cfg 80root usb_get_cfg 81root usb_get_status 82root usb_ep_num 83root usb_clr_feature 84root usb_get_ep_data 85root usb_register_hotplug_cbs 86root usb_get_current_cfgidx 87root usb_register_client 88root usb_reset_device 89root usb_register_dev_driver 90root usb_unregister_dev_driver 91 92root usba_common_power 93root usba_common_register_events 94root usba_ready_interface_association_node 95root usba_get_hc_dma_attr 96root usba_hcdi_get_req_private 97root usba_hcdi_set_req_private 98root usba_pipe_do_async_func_thread 99root usba_move_list 100root usba_ready_interface_node 101root usba_ascii_string_descr 102root usba_free_hcdi_ops 103root usba_async_req_raise_power 104root usba_async_req_lower_power 105root usba_taskq_destroy 106 107root hcdi_autoclearing 108root hcdi_cb_thread 109root hcdi_shared_cb_thread 110root hubd_disconnect_event_cb 111root hubd_reconnect_event_cb 112 113root hubd_hotplug_thread 114root hubd_reset_thread 115root hubd_cpr_post_user_callb 116 117root ohci_intr 118root ehci_intr 119 120root ohci_quiesce 121root uhci_quiesce 122root ehci_quiesce 123 124root usba_dbuf_tail 125root usb_log 126root hubd_restore_state_cb 127root hubd_disconnect_event_cb 128root hubd_bus_power 129root usba_hubdi_power 130root usba_hubdi_root_hub_power 131root usba_get_hotplug_stats 132root usba_reset_hotplug_stats 133root usb_log_descr_tree 134root usb_print_descr_tree 135root hubd_root_hub_cleanup_thread 136 137root usb_fini_serialization 138root usb_init_serialization 139root usb_release_access 140root usb_serialize_access 141root usba_mk_mctl 142root usb_fail_checkpoint 143 144root usb_ugen_attach 145root usb_ugen_close 146root usb_ugen_detach 147root usb_ugen_disconnect_ev_cb 148root usb_ugen_get_hdl 149root usb_ugen_open 150root usb_ugen_poll 151root usb_ugen_power 152root usb_ugen_read 153root usb_ugen_reconnect_ev_cb 154root usb_ugen_write 155 156### specify the hid root functions 157root hid_open 158root hid_close 159root hid_interrupt_pipe_callback 160root hid_wsrv 161root hid_wput 162root hid_default_pipe_callback 163root hid_default_pipe_exception_callback 164root hid_interrupt_pipe_exception_callback 165root hid_restore_state_event_callback 166root hid_disconnect_event_callback 167root hid_power 168root hid_power_change_callback 169 170 171### polled functions 172root hid_polled_input_enter 173root hid_polled_input_exit 174root hid_polled_read 175root usba_dbuf_tail 176 177### thread functions in hid module 178add usba_pipe_async_req::sync_func targets usba_pipe_sync_close 179add usba_pipe_async_req::sync_func targets usba_pipe_sync_reset 180 181add usba_pipe_async_req::callback targets warlock_dummy 182add usb_bulk_req::bulk_cb targets warlock_dummy 183add usb_bulk_req::bulk_exc_cb targets warlock_dummy 184add usb_isoc_req::isoc_cb targets warlock_dummy 185add usb_isoc_req::isoc_exc_cb targets warlock_dummy 186 187add usba_pm_req::cb targets warlock_dummy 188add ohci_trans_wrapper::tw_handle_td targets ohci_handle_ctrl_td 189add ohci_trans_wrapper::tw_handle_td targets ohci_handle_bulk_td 190add ohci_trans_wrapper::tw_handle_td targets ohci_handle_intr_td 191add ohci_trans_wrapper::tw_handle_td targets ohci_handle_isoc_td 192 193add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_ctrl_qtd 194add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_bulk_qtd 195add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_intr_qtd 196 197add hubd::h_cleanup_child targets warlock_dummy 198add usba_hcdi_ops::usba_hcdi_console_input_init targets \ 199 ohci_hcdi_polled_input_init 200add usba_hcdi_ops::usba_hcdi_console_input_fini targets \ 201 ohci_hcdi_polled_input_fini 202 203add usba_hcdi_ops::usba_hcdi_console_input_init targets \ 204 ehci_hcdi_polled_input_init 205add usba_hcdi_ops::usba_hcdi_console_input_fini targets \ 206 ehci_hcdi_polled_input_fini 207 208add usba_hcdi_ops::usba_hcdi_console_input_init targets \ 209 uhci_hcdi_polled_input_init 210add usba_hcdi_ops::usba_hcdi_console_input_fini targets \ 211 uhci_hcdi_polled_input_fini 212