Scroll to navigation

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
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

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.