1HSI_ASYNC(9)             High Speed Synchronous Serial            HSI_ASYNC(9)
2
3
4

NAME

6       hsi_async - Submit an HSI transfer to the controller
7

SYNOPSIS

9       int hsi_async(struct hsi_client * cl, struct hsi_msg * msg);
10

ARGUMENTS

12       cl
13           HSI client sending the transfer
14
15       msg
16           The HSI transfer passed to controller
17

DESCRIPTION

19       The HSI message must have the channel, ttype, complete and destructor
20       fields set beforehand. If nents > 0 then the client has to initialize
21       also the scatterlists to point to the buffers to write to or read from.
22
23       HSI controllers relay on pre-allocated buffers from their clients and
24       they do not allocate buffers on their own.
25
26       Once the HSI message transfer finishes, the HSI controller calls the
27       complete callback with the status and actual_len fields of the HSI
28       message updated. The complete callback can be called before returning
29       from hsi_async.
30
31       Returns -errno on failure or 0 on success
32
34Kernel Hackers Manual 3.10         June 2019                      HSI_ASYNC(9)
Impressum