1REQUEST_FIRMWARE(9) Device drivers infrastructure REQUEST_FIRMWARE(9)
2
3
4
6 request_firmware - send firmware request and wait for it
7
9 int request_firmware(const struct firmware ** firmware_p,
10 const char * name, struct device * device);
11
13 firmware_p
14 pointer to firmware image
15
16 name
17 name of firmware file
18
19 device
20 device for which firmware is being loaded
21
23 firmware_p will be used to return a firmware image by the name of name
24 for device device.
25
26 Should be called from user context where sleeping is allowed.
27
28 name will be used as $FIRMWARE in the uevent environment and should be
29 distinctive enough not to be confused with any other firmware image for
30 this or any other device.
31
32 Caller must hold the reference count of device.
33
34 The function can be called safely inside device's suspend and resume
35 callback.
36
38Kernel Hackers Manual 3.10 June 2019 REQUEST_FIRMWARE(9)