device.spec 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
# 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"
#
function devctl_release
declaration void devctl_release(devctl_hdl_t hdl)
end
function devctl_device_online
declaration int devctl_device_online(devctl_hdl_t hdl)
end
function devctl_device_offline
declaration int devctl_device_offline(devctl_hdl_t hdl)
end
function devctl_device_getstate
declaration int devctl_device_getstate(devctl_hdl_t hdl, uint_t *statep)
end
function devctl_device_reset
declaration int devctl_device_reset(devctl_hdl_t hdl)
end
function devctl_bus_quiesce
declaration int devctl_bus_quiesce(devctl_hdl_t hdl)
end
function devctl_bus_unquiesce
declaration int devctl_bus_unquiesce(devctl_hdl_t hdl)
end
function devctl_bus_getstate
declaration int devctl_bus_getstate(devctl_hdl_t hdl, uint_t *statep)
end
function devctl_bus_reset
declaration int devctl_bus_reset(devctl_hdl_t hdl)
end
function devctl_bus_resetall
declaration int devctl_bus_resetall(devctl_hdl_t hdl)
end
function devctl_bus_acquire
end
function devctl_bus_configure
declaration int devctl_bus_configure(devctl_hdl_t dcp)
end
function devctl_bus_unconfigure
declaration int devctl_bus_unconfigure(devctl_hdl_t dcp)
end
function devctl_device_acquire
end
function devctl_device_remove
declaration int devctl_device_remove(devctl_hdl_t dcp)
end
function devctl_ap_acquire
end
function devctl_pm_dev_acquire
end
function devctl_pm_bus_acquire
end
function devctl_ap_insert
declaration int devctl_ap_insert(devctl_hdl_t hdl, nvlist_t *ap_data)
end
function devctl_ap_remove
declaration int devctl_ap_remove(devctl_hdl_t hdl, nvlist_t *ap_data)
end
function devctl_ap_connect
declaration int devctl_ap_connect(devctl_hdl_t hdl, nvlist_t *ap_data)
end
function devctl_ap_disconnect
declaration int devctl_ap_disconnect(devctl_hdl_t hdl, \
end
function devctl_ap_configure
declaration int devctl_ap_configure(devctl_hdl_t hdl, \
end
function devctl_ap_unconfigure
declaration int devctl_ap_unconfigure(devctl_hdl_t hdl, \
end
function devctl_ap_getstate
declaration int devctl_ap_getstate(devctl_hdl_t hdl, \
end
function devctl_ddef_alloc
end
function devctl_ddef_free
declaration void devctl_ddef_free(devctl_ddef_t)
end
function devctl_ddef_int
declaration int devctl_ddef_int(devctl_ddef_t, char *, int32_t)
end
function devctl_ddef_int_array
declaration int devctl_ddef_int_array(devctl_ddef_t, \
char *, int, int32_t *)
end
function devctl_ddef_string
declaration int devctl_ddef_string(devctl_ddef_t, char *, char *)
end
function devctl_ddef_string_array
declaration int devctl_ddef_string_array(devctl_ddef_t, \
char *, int, char **)
end
function devctl_ddef_byte_array
declaration int devctl_ddef_byte_array(devctl_ddef_t, \
char *, int, uchar_t *)
end
function devctl_bus_dev_create
declaration int devctl_bus_dev_create(devctl_hdl_t, \
end
function devctl_get_pathname
declaration char * devctl_get_pathname(devctl_hdl_t, char *, size_t)
end
function devctl_pm_raisepower
declaration int devctl_pm_raisepower(devctl_hdl_t hdl)
end
function devctl_pm_changepowerlow
declaration int devctl_pm_changepowerlow(devctl_hdl_t hdl)
end
function devctl_pm_changepowerhigh
declaration int devctl_pm_changepowerhigh(devctl_hdl_t hdl)
end
function devctl_pm_idlecomponent
declaration int devctl_pm_idlecomponent(devctl_hdl_t hdl)
end
function devctl_pm_busycomponent
declaration int devctl_pm_busycomponent(devctl_hdl_t hdl)
end
function devctl_pm_testbusy
declaration int devctl_pm_testbusy(devctl_hdl_t hdl, uint_t *busyp)
end
function devctl_pm_failsuspend
declaration int devctl_pm_failsuspend(devctl_hdl_t hdl)
end
function devctl_pm_bus_teststrict
declaration int devctl_pm_bus_teststrict(devctl_hdl_t hdl, uint_t *strict)
end
function devctl_pm_device_changeonresume
declaration int devctl_pm_device_changeonresume(devctl_hdl_t hdl)
end
function devctl_pm_device_no_lower_power
declaration int devctl_pm_device_no_lower_power(devctl_hdl_t hdl)
end
function devctl_pm_bus_no_invol
declaration int devctl_pm_bus_no_invol(devctl_hdl_t hdl)
end
function devctl_pm_device_promprintf
declaration int devctl_pm_device_promprintf(devctl_hdl_t hdl)
end