xref: /titanic_52/usr/src/uts/common/io/warlock/usbftdi.wlcmd (revision 4634c44f9aff3ceaf027e46cee4258d7ab23b40f)
1de81e71eSTim Marsland# CDDL HEADER START
2de81e71eSTim Marsland#
3de81e71eSTim Marsland# The contents of this file are subject to the terms of the
4de81e71eSTim Marsland# Common Development and Distribution License (the "License").
5de81e71eSTim Marsland# You may not use this file except in compliance with the License.
6de81e71eSTim Marsland#
7de81e71eSTim Marsland# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8de81e71eSTim Marsland# or http://www.opensolaris.org/os/licensing.
9de81e71eSTim Marsland# See the License for the specific language governing permissions
10de81e71eSTim Marsland# and limitations under the License.
11de81e71eSTim Marsland#
12de81e71eSTim Marsland# When distributing Covered Code, include this CDDL HEADER in each
13de81e71eSTim Marsland# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14de81e71eSTim Marsland# If applicable, add the following below this CDDL HEADER, with the
15de81e71eSTim Marsland# fields enclosed by brackets "[]" replaced with your own identifying
16de81e71eSTim Marsland# information: Portions Copyright [yyyy] [name of copyright owner]
17de81e71eSTim Marsland#
18de81e71eSTim Marsland# CDDL HEADER END
19de81e71eSTim Marsland
20de81e71eSTim Marsland#
21de81e71eSTim Marsland# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
22de81e71eSTim Marsland# Use is subject to license terms.
23de81e71eSTim Marsland#
24de81e71eSTim Marsland
25de81e71eSTim Marslandone usbser_state
26de81e71eSTim Marslandone uftdi_state
27de81e71eSTim Marsland
28de81e71eSTim Marsland### specify the root functions
29de81e71eSTim Marsland
30de81e71eSTim Marslandroot usbser_first_device
31de81e71eSTim Marslandroot usbser_putchar
32de81e71eSTim Marslandroot usbser_getchar
33de81e71eSTim Marslandroot usbser_ischar
34de81e71eSTim Marslandroot usbser_polledio_enter
35de81e71eSTim Marslandroot usbser_polledio_exit
36de81e71eSTim Marslandroot usbser_soft_state_size
37de81e71eSTim Marslandroot usbser_uftdi_open
38de81e71eSTim Marslandroot usbser_close
39de81e71eSTim Marslandroot usbser_wput
40de81e71eSTim Marslandroot usbser_wsrv
41de81e71eSTim Marslandroot usbser_rsrv
42de81e71eSTim Marslandroot usbser_tx_cb
43de81e71eSTim Marslandroot usbser_rx_cb
44de81e71eSTim Marslandroot usbser_status_cb
45de81e71eSTim Marslandroot usbser_wq_thread
46de81e71eSTim Marslandroot usbser_rq_thread
47de81e71eSTim Marslandroot usbser_disconnect_cb
48de81e71eSTim Marslandroot usbser_reconnect_cb
49de81e71eSTim Marslandroot usbser_cpr_suspend
50de81e71eSTim Marslandroot usbser_cpr_resume
51de81e71eSTim Marsland
52de81e71eSTim Marslandroot uftdi_bulkin_cb
53de81e71eSTim Marslandroot uftdi_bulkout_cb
54de81e71eSTim Marsland
55de81e71eSTim Marsland### specify uftdi function pointers
56de81e71eSTim Marsland
57de81e71eSTim Marslandadd ds_ops::ds_attach targets uftdi_attach
58de81e71eSTim Marslandadd ds_ops::ds_detach targets uftdi_detach
59de81e71eSTim Marslandadd ds_ops::ds_register_cb targets uftdi_register_cb
60de81e71eSTim Marslandadd ds_ops::ds_unregister_cb targets uftdi_unregister_cb
61de81e71eSTim Marslandadd ds_ops::ds_open_port targets uftdi_open_port
62de81e71eSTim Marslandadd ds_ops::ds_close_port targets uftdi_close_port
63de81e71eSTim Marslandadd ds_ops::ds_usb_power targets uftdi_usb_power
64de81e71eSTim Marslandadd ds_ops::ds_suspend targets uftdi_suspend
65de81e71eSTim Marslandadd ds_ops::ds_resume targets uftdi_resume
66de81e71eSTim Marslandadd ds_ops::ds_disconnect targets uftdi_disconnect
67de81e71eSTim Marslandadd ds_ops::ds_reconnect targets uftdi_reconnect
68de81e71eSTim Marslandadd ds_ops::ds_set_port_params targets uftdi_set_port_params
69de81e71eSTim Marslandadd ds_ops::ds_set_modem_ctl targets uftdi_set_modem_ctl
70de81e71eSTim Marslandadd ds_ops::ds_get_modem_ctl targets uftdi_get_modem_ctl
71de81e71eSTim Marslandadd ds_ops::ds_break_ctl targets uftdi_break_ctl
72de81e71eSTim Marslandadd ds_ops::ds_tx targets uftdi_tx
73de81e71eSTim Marslandadd ds_ops::ds_rx targets uftdi_rx
74de81e71eSTim Marslandadd ds_ops::ds_stop targets uftdi_stop
75de81e71eSTim Marslandadd ds_ops::ds_start targets uftdi_start
76de81e71eSTim Marslandadd ds_ops::ds_fifo_flush targets uftdi_fifo_flush
77de81e71eSTim Marslandadd ds_ops::ds_fifo_drain targets uftdi_fifo_drain
78de81e71eSTim Marslandadd ds_ops::ds_out_pipe targets uftdi_out_pipe
79de81e71eSTim Marslandadd ds_ops::ds_in_pipe targets uftdi_in_pipe
80de81e71eSTim Marsland
81de81e71eSTim Marslandadd uftdi_state::uf_cb.cb_tx targets usbser_tx_cb
82de81e71eSTim Marslandadd uftdi_state::uf_cb.cb_rx targets usbser_rx_cb
83*4634c44fSTim Marslandadd uftdi_state::uf_cb.cb_status targets usbser_status_cb
84de81e71eSTim Marsland
85de81e71eSTim Marslandadd bus_ops::bus_add_eventcall targets warlock_dummy
86de81e71eSTim Marslandadd bus_ops::bus_get_eventcookie targets warlock_dummy
87de81e71eSTim Marslandadd bus_ops::bus_post_event targets warlock_dummy
88de81e71eSTim Marslandadd bus_ops::bus_remove_eventcall targets warlock_dummy
89de81e71eSTim Marslandadd bus_ops::bus_intr_ctl targets warlock_dummy
90de81e71eSTim Marslandadd bus_ops::bus_config targets warlock_dummy
91de81e71eSTim Marslandadd bus_ops::bus_unconfig targets warlock_dummy
92