1STRUCT HSI_MSG(9) High Speed Synchronous Serial STRUCT HSI_MSG(9)
2
3
4
6 struct_hsi_msg - HSI message descriptor
7
9 struct hsi_msg {
10 struct list_head link;
11 struct hsi_client * cl;
12 struct sg_table sgt;
13 void * context;
14 void (* complete) (struct hsi_msg *msg);
15 void (* destructor) (struct hsi_msg *msg);
16 int status;
17 unsigned int actual_len;
18 unsigned int channel;
19 unsigned int ttype:1;
20 unsigned int break_frame:1;
21 };
22
24 link
25 Free to use by the current descriptor owner
26
27 cl
28 HSI device client that issues the transfer
29
30 sgt
31 Head of the scatterlist array
32
33 context
34 Client context data associated to the transfer
35
36 complete
37 Transfer completion callback
38
39 destructor
40 Destructor to free resources when flushing
41
42 status
43 Status of the transfer when completed
44
45 actual_len
46 Actual length of data transfered on completion
47
48 channel
49 Channel were to TX/RX the message
50
51 ttype
52 Transfer type (TX if set, RX otherwise)
53
54 break_frame
55 if true HSI will send/receive a break frame. Data buffers are
56 ignored in the request.
57
59Kernel Hackers Manual 3.10 June 2019 STRUCT HSI_MSG(9)