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_ppointer to firmware image
namename of firmware file
devicedevice for which firmware is being loaded and DMA region allocated
bufaddress of buffer to load firmware into
sizesize 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.