1REQUEST_FIRMWARE_NOW(9) Device drivers infrastructure REQUEST_FIRMWARE_NOW(9)
2
3
4
6 request_firmware_nowait -
7
9 int request_firmware_nowait(struct module * module, int uevent,
10 const char * name, struct device * device,
11 gfp_t gfp, void * context,
12 void (*cont) (const struct firmware *fw, void *context));
13
15 module
16 module requesting the firmware
17
18 uevent
19 sends uevent to copy the firmware image if this flag is non-zero
20 else the firmware copy must be done manually.
21
22 name
23 name of firmware file
24
25 device
26 device for which firmware is being loaded
27
28 gfp
29 allocation flags
30
31 context
32 will be passed over to cont, and fw may be NULL if firmware request
33 fails.
34
35 cont
36 function will be called asynchronously when the firmware request is
37 over.
38
40 Asynchronous variant of request_firmware for user contexts where it is
41 not possible to sleep for long time. It canĀ“t be called in atomic
42 contexts.
43
45Kernel Hackers Manual 2.6. June 2019 REQUEST_FIRMWARE_NOW(9)