table of contents
other versions
- wheezy 3.2.78-1
REQUEST_FIRMWARE_NOW(9) | Device drivers infrastructure | REQUEST_FIRMWARE_NOW(9) |
NAME¶
request_firmware_nowait - asynchronous version of request_firmwareSYNOPSIS¶
int
request_firmware_nowait(struct module * module,
bool uevent,
const char * name,
struct device * device,
gfp_t gfp, void * context,
void (*cont) (const struct firmware *fw, void *context));
ARGUMENTS¶
modulemodule requesting the firmware
uevent
sends uevent to copy the firmware image if
this flag is non-zero else the firmware copy must be done manually.
name
name of firmware file
device
device for which firmware is being
loaded
gfp
allocation flags
context
will be passed over to cont, and
fw may be NULL if firmware request fails.
cont
function will be called asynchronously when
the firmware request is over.
DESCRIPTION¶
Asynchronous variant of request_firmware for user contexts where it is not possible to sleep for long time. It can't be called in atomic contexts.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |