struct hsi_port — HSI port device
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 atomic_notifier_head n_head; };
Driver model representation of the device
Current TX path configuration
Current RX path configuration
Port number
Set when port can be shared by different clients
Reference count of clients which claimed the port
Serialize port claim
Asynchronous transfer callback
Callback to set the HSI client configuration
Callback to clean the HW state and destroy all pending transfers
Callback to inform that a client wants to TX data
Callback to inform that a client no longer wishes to TX data
Callback to inform that a client no longer uses the port
Notifier chain for signaling port events to the clients.