1CACHE_FIRMWARE(9)        Device drivers infrastructure       CACHE_FIRMWARE(9)
2
3
4

NAME

6       cache_firmware - cache one firmware image in kernel memory space
7

SYNOPSIS

9       int cache_firmware(const char * fw_name);
10

ARGUMENTS

12       fw_name
13           the firmware image name
14

DESCRIPTION

16       Cache firmware in kernel memory so that drivers can use it when system
17       isn't ready for them to request firmware image from userspace. Once it
18       returns successfully, driver can use request_firmware or its nowait
19       version to get the cached firmware without any interacting with
20       userspace
21
22       Return 0 if the firmware image has been cached successfully Return !0
23       otherwise
24
26Kernel Hackers Manual 3.10         June 2019                 CACHE_FIRMWARE(9)
Impressum