firmware_request_platform(9)
π firmware_request_platform(9) π
okay bestie, welcome to Kernel API Manual β this is the page for firmware_request_platform, and honestly? it's a whole vibe. β¨
πΈ NAME πΈ
firmware_request_platform β request firmware with platform-fw fallback
like, you ask for your firmware normally, but if that flops, it goes digging in the platform firmware instead. backup plan energy π
π SYNOPSIS π
int firmware_request_platform (const struct firmware **firmware , const
char *name , struct device *device );
three args, one int back. that's the whole thing. no cap. π«Ά
π¦ ARGUMENTS π¦
firmwareβ pointer to firmware image. it's aconst struct firmware **, so you're handing over a pointer to a pointer β she gets filled in for you. double pointer, double the slay. πnameβ name of firmware file. literally just the name, bestie.deviceβ device for which firmware is being loaded. gotta know who's asking, iykyk.
π DESCRIPTION π
okay so the way this works is SO iconic β this function is similar in behaviour to request_firmware, except that if the direct filesystem lookup fails, it will fallback to looking for a copy of the requested firmware embedded in the platform's main (e.g. UEFI) firmware.
read that again. filesystem first, platform firmware as the fallback. it's giving "i checked my bag, now i'm checking yours." πβ¨
and yes, "main (e.g. UEFI) firmware" is doing a lot of work in that sentence β that's the built-in copy we're talking about, not some random file lying around. π§
π SEE ALSO π
all the siblings, and they all ate:
- Kernel file
./drivers/base/firmware_loader/main.c request_firmware(9)firmware_request_nowarn(9)request_firmware_direct(9)firmware_request_cache(9)request_firmware_into_buf(9)request_partial_firmware_into_buf(9)release_firmware(9)request_firmware_nowait(9)firmware_request_nowait_nowarn(9)request_firmware_nowait_cancel(9)cache_firmware(9)uncache_firmware(9)device_cache_fw_images(9)device_uncache_fw_images(9)device_uncache_fw_images_delay(9)
that's a whole friend group right there. π«Άπ
and that's the page, bestie!! π sign-off time: this one lives in ./drivers/base/firmware_loader, comes to you courtesy of the Kernel API Manual, and it's dated October 2026 β go request some firmware, ily, bye!! πβ¨π¦πΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms