'\" t .\" Title: hsi_event .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: High Speed Synchronous Serial Interface (HSI) .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "HSI_EVENT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "High Speed Synchronous Serial" .\" ----------------------------------------------------------------- .\" * 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" hsi_event \- Notifies clients about port events .SH "SYNOPSIS" .HP \w'int\ hsi_event('u .BI "int hsi_event(struct\ hsi_port\ *\ " "port" ", unsigned\ long\ " "event" ");" .SH "ARGUMENTS" .PP \fIport\fR .RS 4 Port where the event occurred .RE .PP \fIevent\fR .RS 4 The event type .RE .SH "DESCRIPTION" .PP Clients should not be concerned about wake line behavior\&. However, due to a race condition in HSI HW protocol, clients need to be notified about wake line changes, so they can implement a workaround for it\&. .PP Events: HSI_EVENT_START_RX \- Incoming wake line high HSI_EVENT_STOP_RX \- Incoming wake line down .PP Returns \-errno on error, or 0 on success\&. .SH "COPYRIGHT" .br