REQUEST_FIRMWARE(9) Device drivers infrastructure REQUEST_FIRMWARE(9)NAMErequest_firmware - send firmware request and wait for it
SYNOPSIS
int request_firmware(const struct firmware ** firmware_p,
const char * name, struct device * device);
ARGUMENTS
firmware_p
pointer to firmware image
name
name of firmware file
device
device for which firmware is being loaded
DESCRIPTION
firmware_p will be used to return a firmware image by the name of name
for device device.
Should be called from user context where sleeping is allowed.
name will be used as $FIRMWARE in the uevent environment and should be
distinctive enough not to be confused with any other firmware image for
this or any other device.
Caller must hold the reference count of device.
The function can be called safely inside device's suspend and resume
callback.
COPYRIGHTKernel Hackers Manual 3.11 November 2013 REQUEST_FIRMWARE(9)