struct hsi_msg — HSI message descriptor
struct hsi_msg { struct list_head link; struct hsi_client * cl; struct sg_table sgt; void * context; void (* complete) (struct hsi_msg *msg); void (* destructor) (struct hsi_msg *msg); int status; unsigned int actual_len; unsigned int channel; unsigned int ttype:1; unsigned int break_frame:1; };
Free to use by the current descriptor owner
HSI device client that issues the transfer
Head of the scatterlist array
Client context data associated to the transfer
Transfer completion callback
Destructor to free resources when flushing
Status of the transfer when completed
Actual length of data transferred on completion
Channel were to TX/RX the message
Transfer type (TX if set, RX otherwise)
if true HSI will send/receive a break frame. Data buffers are ignored in the request.