'\" t .\" Title: usb_root_hub_lost_power .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: USB Core APIs .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "USB_ROOT_HUB_LOST_PO" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "USB Core APIs" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" usb_root_hub_lost_power \- called by HCD if the root hub lost Vbus power .SH "SYNOPSIS" .HP \w'void\ usb_root_hub_lost_power('u .BI "void usb_root_hub_lost_power(struct\ usb_device\ *\ " "rhdev" ");" .SH "ARGUMENTS" .PP \fIrhdev\fR .RS 4 struct usb_device for the root hub .RE .SH "DESCRIPTION" .PP The USB host controller driver calls this function when its root hub is resumed and Vbus power has been interrupted or the controller has been reset\&. The routine marks \fIrhdev\fR as having lost power\&. When the hub driver is resumed it will take notice and carry out power\-session recovery for all the \(lqUSB\-PERSIST\(rq\-enabled child devices; the others will be disconnected\&. .SH "COPYRIGHT" .br