USBA_HCDI_DEV_OPS(9F) Kernel Functions for Drivers USBA_HCDI_DEV_OPS(9F)

usba_hubdi_dev_ops, usba_hubdi_root_hub_power
device operations utility functions for HCD drivers

int
usba_hubdi_root_hub_power(dev_info_t *dip, int component, int 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.

For the parameters of the usba_hubdi_root_hub_power() function, see power(9E).

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.

This function should not be called directly, it should only be used as a member of a device's dev_ops(9S) structure.

power(9E), dev_ops(9S)
August 20, 2019 illumos