1HSI_ALLOC_MSG(9) High Speed Synchronous Serial HSI_ALLOC_MSG(9)
2
3
4
6 hsi_alloc_msg - Allocate an HSI message
7
9 struct hsi_msg * hsi_alloc_msg(unsigned int nents, gfp_t flags);
10
12 nents
13 Number of memory entries
14
15 flags
16 Kernel allocation flags
17
19 nents can be 0. This mainly makes sense for read transfer. In that
20 case, HSI drivers will call the complete callback when there is data to
21 be read without consuming it.
22
23 Return NULL on failure or a pointer to an hsi_msg on success.
24
26Kernel Hackers Manual 3.10 June 2019 HSI_ALLOC_MSG(9)