Searched refs:power_mask (Results 1 – 1 of 1) sorted by relevance
662 uint16_t power_mask; in uhub_reattach_port() local725 power_mask = UPS_PORT_POWER; in uhub_reattach_port()729 power_mask = 0; /* XXX undefined */ in uhub_reattach_port()731 power_mask = UPS_PORT_POWER_SS; in uhub_reattach_port()734 power_mask = 0; in uhub_reattach_port()737 if ((sc->sc_st.port_status & power_mask) != power_mask) { in uhub_reattach_port()2460 static const usb_power_mask_t power_mask[4] = { in usbd_transfer_power_ref() local2505 if (!(udev->bus->hw_power_state & power_mask[xfer_type])) { in usbd_transfer_power_ref()2507 udev->bus->hw_power_state |= power_mask[xfer_type]; in usbd_transfer_power_ref()