usb_as_with_sada.wlcmd revision 7c478bd95313f5f23a4c958a745db2134aa03244
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#pragma ident "%Z%%M% %I% %E% SMI"
# warlock command file
one usb_as_state
one audio_ch
one audio_apm_info
one audio_state
one am_apm_private
# unused functions
root am_hw_state_change
root audio_sup_attach
root audio_sup_devt_to_ch_type
root audio_sup_detach
root audio_sup_get_qptr_data
root audio_sup_open
root audio_sup_close
root audio_sup_rput
root audio_sup_rsvc
root audio_sup_wput
root audio_sup_wsvc
root audio_sup_ch_to_minor
root audio_sup_construct_minor
root audio_sup_devt_to_instance
root audio_sup_free_persist_state
root audio_sup_free_qptr
root audio_sup_get_channel_number
root audio_sup_get_dip
root audio_sup_get_info
root audio_sup_get_max_chs
root audio_sup_get_persist_state
root audio_sup_get_qptr_instance
root audio_sup_set_persist_state
root audio_sup_set_qptr
root audio_sup_save_audio_data
root audio_sup_save_state
root audio_sup_update_persist_key
root audio_sup_getinfo
root am_get_src_data
root am_set_src_data
root am_hw_state_change
root am_get_audio
root am_play_shutdown
root am_send_audio
root am_save_state
root am_attach
root am_detach
root am_restore_state
root audio_sup_attach
root audio_sup_detach
root audio_sup_get_private
root audio_sup_getinfo
root audio_sup_set_private
root audio_sup_restore_state
# threads
root am_diag_loopback_task
root am_get_chinfo_task
root am_get_mode_task
root am_getinfo_task
root am_mixer_task_acknack
root am_mixerctl_getinfo_task
root am_mixerctl_setinfo_task
root am_multiple_open_task
root am_sample_rate_task
root am_set_chinfo_task
root am_set_mode_task
root am_setinfo_task
root am_single_open_task
root am_hw_task
### specify the usb_as root functions
root usb_as_open
root usb_as_close
root usb_as_disconnect_event_cb
root usb_as_reconnect_event_cb
root usb_as_power
root usb_as_wsrv
root usb_as_isoc_close_cb
root usb_as_play_cb
root usb_as_play_exc_cb
root usb_as_record_cb
root usb_as_record_exc_cb
root usb_as_default_xfer_cb
root usb_as_default_xfer_exc_cb
# function pointers
add audio_ch::ch_rput targets am_rput
add audio_ch::ch_rsvc targets am_rsvc
add audio_ch::ch_wput targets am_wput
add audio_ch::ch_wsvc targets am_wsvc
add audio_apm_info::apm_open targets am_open_audio
add audio_apm_info::apm_close targets am_close_audio
add audio_apm_info::apm_open targets am_open_audioctl
add audio_apm_info::apm_close targets am_close_audioctl
add audio_apm_info::apm_restore_state targets am_restore_state
add audio_apm_info::apm_save_state targets am_save_state
add bus_ops::bus_add_eventcall targets warlock_dummy
add bus_ops::bus_get_eventcookie targets warlock_dummy
add bus_ops::bus_intr_ctl targets warlock_dummy
add bus_ops::bus_post_event targets warlock_dummy
add bus_ops::bus_remove_eventcall targets warlock_dummy
add bus_ops::bus_config targets warlock_dummy
add bus_ops::bus_unconfig targets warlock_dummy
add am_ad_src_entry::ad_src_adjust targets am_src1_adjust
add am_ad_src_entry::ad_src_convert targets am_src1_convert
add am_ad_src_entry::ad_src_exit targets am_src1_exit
add am_ad_src_entry::ad_src_init targets am_src1_init
add am_ad_src_entry::ad_src_size targets am_src1_size
add am_ad_src_entry::ad_src_update targets am_src1_update
add am_ad_entry::ad_setup targets warlock_dummy
add am_ad_entry::ad_teardown targets warlock_dummy
add am_ad_entry::ad_set_config targets warlock_dummy
add am_ad_entry::ad_set_format targets warlock_dummy
add am_ad_entry::ad_start_play targets warlock_dummy
add am_ad_entry::ad_pause_play targets warlock_dummy
add am_ad_entry::ad_stop_play targets warlock_dummy
add am_ad_entry::ad_start_record targets warlock_dummy
add am_ad_entry::ad_stop_record targets warlock_dummy
add am_ad_entry::ad_ioctl targets warlock_dummy
add am_ad_entry::ad_iocdata targets warlock_dummy
# we should never hold cs_lock while jumping into another module
# and with this rule we *sometimes* get these
assert order audio_state::as_lock audio_ch::ch_lock usb_as_state::usb_as_mutex
# this locking order catches problems when the framework holds locks
# over calling into the driver
#assert order usb_as_state::usb_as_mutex audio_state::as_lock audio_ch::ch_lock