usbsprl_with_usba.wlcmd revision 9797:4b03a6b797a8
1# CDDL HEADER START
2#
3# The contents of this file are subject to the terms of the
4# Common Development and Distribution License (the "License").
5# You may not use this file except in compliance with the License.
6#
7# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8# or http://www.opensolaris.org/os/licensing.
9# See the License for the specific language governing permissions
10# and limitations under the License.
11#
12# When distributing Covered Code, include this CDDL HEADER in each
13# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14# If applicable, add the following below this CDDL HEADER, with the
15# fields enclosed by brackets "[]" replaced with your own identifying
16# information: Portions Copyright [yyyy] [name of copyright owner]
17#
18# CDDL HEADER END
19#
20# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
21# Use is subject to license terms.
22#
23
24one ohci_state
25one ehci_state
26one uhci_state
27one usbser_state
28one pl2303_state
29
30### specify the root functions
31
32root usbser_first_device
33root usbser_putchar
34root usbser_getchar
35root usbser_ischar
36root usbser_polledio_enter
37root usbser_polledio_exit
38root usb_console_output_fini
39root usb_console_input_enter
40root usb_console_input_exit
41root usb_console_input_fini
42root usb_console_input_init
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 usba_ready_interface_node
55root usba_free_hcdi_ops
56root usba_async_req_raise_power
57root usba_async_req_lower_power
58root usb_req_raise_power
59root usb_req_lower_power
60root usb_set_device_pwrlvl0
61root usb_set_device_pwrlvl1
62root usb_set_device_pwrlvl2
63root usb_set_device_pwrlvl3
64root usb_is_pm_enabled
65root usb_async_req
66root usb_pipe_bulk_transfer_size
67root usb_get_ep_data
68root usba_pipe_get_policy
69root usb_pipe_ctrl_xfer_wait
70root usb_pipe_drain_reqs
71root usb_try_serialize_access
72root usb_fini_serialization
73root usb_init_serialization
74root usb_release_access
75root usb_serialize_access
76root usb_clr_feature
77root usb_clear_feature
78root usb_get_alt_if
79root usb_get_ep_descr
80root usb_get_if_descr
81root usb_log
82root usb_pipe_isoc_xfer
83root usb_pipe_stop_isoc_polling
84root usb_set_alt_if
85root usb_set_cfg
86root usb_get_cfg
87root usb_ep_num
88root usb_get_status
89root usb_pipe_reset
90root usb_log_descr_tree
91root usb_print_descr_tree
92root usb_rval2errno
93root usb_register_hotplug_cbs
94root usb_get_current_cfgidx
95root usb_register_client
96root usb_reset_device
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_reset_thread
121root hubd_cpr_post_user_callb
122root hubd_root_hub_cleanup_thread
123root hubd_bus_power
124
125root usba_common_power
126root usba_common_register_events
127root usba_ready_interface_association_node
128root usba_pipe_do_async_func_thread
129root usba_pipe_sync_reset
130root usba_get_hc_dma_attr
131root usba_hcdi_get_req_private
132root usba_hcdi_set_req_private
133root usba_dbuf_tail
134root usba_hubdi_power
135root usba_hubdi_root_hub_power
136root usba_get_hotplug_stats
137root usba_reset_hotplug_stats
138root usba_ascii_string_descr
139root usba_move_list
140root usba_taskq_destroy
141root usba_mk_mctl
142root usb_fail_checkpoint
143
144root ohci_intr
145root ehci_intr
146root    ohci_quiesce
147root    uhci_quiesce
148root    ehci_quiesce
149
150### specify the pl2303 root functions
151
152root usbser_soft_state_size
153root usbser_pl2303_open
154root usbser_close
155root usbser_wput
156root usbser_wsrv
157root usbser_rsrv
158root usbser_tx_cb
159root usbser_rx_cb
160root usbser_status_cb
161root usbser_wq_thread
162root usbser_rq_thread
163root usbser_disconnect_cb
164root usbser_reconnect_cb
165root usbser_cpr_suspend
166root usbser_cpr_resume
167
168root pl2303_bulkin_cb
169root pl2303_bulkout_cb
170
171### specify pl2303 function pointers
172
173add ds_ops::ds_attach targets pl2303_attach
174add ds_ops::ds_detach targets pl2303_detach
175add ds_ops::ds_register_cb targets pl2303_register_cb
176add ds_ops::ds_unregister_cb targets pl2303_unregister_cb
177add ds_ops::ds_open_port targets pl2303_open_port
178add ds_ops::ds_close_port targets pl2303_close_port
179add ds_ops::ds_usb_power targets pl2303_usb_power
180add ds_ops::ds_suspend targets pl2303_suspend
181add ds_ops::ds_resume targets pl2303_resume
182add ds_ops::ds_disconnect targets pl2303_disconnect
183add ds_ops::ds_reconnect targets pl2303_reconnect
184add ds_ops::ds_set_port_params targets pl2303_set_port_params
185add ds_ops::ds_set_modem_ctl targets pl2303_set_modem_ctl
186add ds_ops::ds_get_modem_ctl targets pl2303_get_modem_ctl
187add ds_ops::ds_break_ctl targets pl2303_break_ctl
188add ds_ops::ds_tx targets pl2303_tx
189add ds_ops::ds_rx targets pl2303_rx
190add ds_ops::ds_stop targets pl2303_stop
191add ds_ops::ds_start targets pl2303_start
192add ds_ops::ds_fifo_flush targets pl2303_fifo_flush
193add ds_ops::ds_fifo_drain targets pl2303_fifo_drain
194add ds_ops::ds_out_pipe targets pl2303_out_pipe
195add ds_ops::ds_in_pipe targets pl2303_in_pipe
196
197add pl2303_state::pl_cb.cb_tx targets usbser_tx_cb
198add pl2303_state::pl_cb.cb_rx targets usbser_rx_cb
199
200add hubd::h_cleanup_child targets warlock_dummy
201add usb_ctrl_req::ctrl_cb	targets warlock_dummy
202add usb_ctrl_req::ctrl_exc_cb	targets warlock_dummy
203add usb_bulk_req::bulk_cb	targets pl2303_bulkin_cb
204add usb_bulk_req::bulk_exc_cb	targets pl2303_bulkin_cb
205add usb_bulk_req::bulk_cb	targets pl2303_bulkout_cb
206add usb_bulk_req::bulk_exc_cb	targets pl2303_bulkout_cb
207
208add usb_isoc_req::isoc_cb	targets warlock_dummy
209add usb_isoc_req::isoc_exc_cb	targets warlock_dummy
210add usba_pipe_async_req::callback	targets warlock_dummy
211add usba_pipe_async_req::sync_func	targets warlock_dummy
212add usba_pm_req::cb			targets warlock_dummy
213
214add ohci_trans_wrapper::tw_handle_td targets ohci_handle_ctrl_td
215add ohci_trans_wrapper::tw_handle_td targets ohci_handle_bulk_td
216add ohci_trans_wrapper::tw_handle_td targets ohci_handle_intr_td
217add ohci_trans_wrapper::tw_handle_td targets ohci_handle_isoc_td
218
219add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_bulk_qtd
220add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_intr_qtd
221add ehci_trans_wrapper::tw_handle_qtd targets ehci_handle_ctrl_qtd
222