Scroll to navigation

CACHE_FIRMWARE(9) Device drivers infrastructure CACHE_FIRMWARE(9)

NAME

cache_firmware - cache one firmware image in kernel memory space

SYNOPSIS

int cache_firmware(const char * fw_name);

ARGUMENTS

fw_name

the firmware image name

DESCRIPTION

Cache firmware in kernel memory so that drivers can use it when system isn't ready for them to request firmware image from userspace. Once it returns successfully, driver can use request_firmware or its nowait version to get the cached firmware without any interacting with userspace

Return 0 if the firmware image has been cached successfully Return !0 otherwise

COPYRIGHT

June 2023 Kernel Hackers Manual 3.10