table of contents
REQUEST_FIRMWARE_INT(9) | Device drivers infrastructure | REQUEST_FIRMWARE_INT(9) |
NAME¶
request_firmware_into_buf - load firmware into a previously allocated buffer
SYNOPSIS¶
int request_firmware_into_buf(const struct firmware ** firmware_p, const char * name, struct device * device, void * buf, size_t size);
ARGUMENTS¶
firmware_p
name
device
buf
size
DESCRIPTION¶
This function works pretty much like request_firmware, but it doesn't allocate a buffer to hold the firmware data. Instead, the firmware is loaded directly into the buffer pointed to by buf and the firmware_p data member is pointed at buf.
This function doesn't cache firmware either.
COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |