USBA_HCDI_DEV_OPS(9F) Kernel Functions for Drivers USBA_HCDI_DEV_OPS(9F)
NAME
usba_hubdi_bus_ops,
usba_hubdi_root_hub_power - device operations
utility functions for HCD drivers
SYNOPSIS
int usba_hubdi_root_hub_power(
dev_info_t *dip,
int component,
int level);
INTERFACE LEVEL
Volatile - illumos USB HCD private function
This is a private function that is not part of the stable DDI. It may
be removed or changed at any time.
PARAMETERS
For the parameters of the
usba_hubdi_root_hub_power() function, see
power(9E).
DESCRIPTION
The
usba_hubdi_root_hub_power() function is a utility function for the
implementation of USB HCD drivers. USB HCD drivers that support power
management, should use set the
devo_power member of their
dev_ops(9S) structure to the
usba_hubdi_root_hub_power() function. They should not
implement their own
power(9E) function.
In addition, drivers should pass the symbol
usba_hubdi_busops as the
devo_bus_ops member. It contains a properly formatted bus operations
structure.
CONTEXT
This function should not be called directly, it should only be used as
a member of a device's
dev_ops(9S) structure.
SEE ALSO
power(9E),
dev_ops(9S)illumos September 16, 2016 illumos