request_firmware_into_buf — load firmware into a previously allocated buffer
int request_firmware_into_buf ( | const struct firmware ** firmware_p, |
const char * name, | |
struct device * device, | |
void * buf, | |
size_t size) ; |
firmware_p
pointer to firmware image
name
name of firmware file
device
device for which firmware is being loaded and DMA region allocated
buf
address of buffer to load firmware into
size
size of buffer
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.