'\" t .\" Title: struct hsi_port .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: High Speed Synchronous Serial Interface (HSI) .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "STRUCT HSI_PORT" "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" struct_hsi_port \- HSI port device .SH "SYNOPSIS" .sp .nf struct hsi_port { struct device device; struct hsi_config tx_cfg; struct hsi_config rx_cfg; unsigned int num; unsigned int shared:1; int claimed; struct mutex lock; int (* async) (struct hsi_msg *msg); int (* setup) (struct hsi_client *cl); int (* flush) (struct hsi_client *cl); int (* start_tx) (struct hsi_client *cl); int (* stop_tx) (struct hsi_client *cl); int (* release) (struct hsi_client *cl); struct blocking_notifier_head n_head; }; .fi .SH "MEMBERS" .PP device .RS 4 Driver model representation of the device .RE .PP tx_cfg .RS 4 Current TX path configuration .RE .PP rx_cfg .RS 4 Current RX path configuration .RE .PP num .RS 4 Port number .RE .PP shared .RS 4 Set when port can be shared by different clients .RE .PP claimed .RS 4 Reference count of clients which claimed the port .RE .PP lock .RS 4 Serialize port claim .RE .PP async .RS 4 Asynchronous transfer callback .RE .PP setup .RS 4 Callback to set the HSI client configuration .RE .PP flush .RS 4 Callback to clean the HW state and destroy all pending transfers .RE .PP start_tx .RS 4 Callback to inform that a client wants to TX data .RE .PP stop_tx .RS 4 Callback to inform that a client no longer wishes to TX data .RE .PP release .RS 4 Callback to inform that a client no longer uses the port .RE .PP n_head .RS 4 Notifier chain for signaling port events to the clients\&. .RE .SH "COPYRIGHT" .br