rcar_fcp_enable(9)
π rcar_fcp_enable(9) π
okay bestie, welcome to the Kernel API Manual β today's main character is rcar_fcp_enable, and honestly? it's giving "small function, big responsibility." let's get into it β¨
πΈ NAME πΈ
rcar_fcp_enable β Enable an FCP. that's it, that's the whole vibe. turning it ON π«Ά
π SYNOPSIS π
int rcar_fcp_enable (struct rcar_fcp_device *fcp );
π¦ ARGUMENTS π¦
fcpβ The FCP instance. like, the one. the specific FCP you're about to wake up π
β¨ DESCRIPTION β¨
so here's the tea: before any module does any memory access through an FCP, that FCP must be enabled first β and the way you do that is by calling this function. no skipping steps, no shortcuts, it's not optional π
and the enable calls are reference counted, which is the important part. every successful call has to be followed by exactly one rcar_fcp_disable call once no more memory transfer can happen through the FCP. one in, one out. matching set. periodt π₯
it returns 0 on success, or a negative error code if something goes wrong. and here's the key detail, ngl: the enable reference count isn't increased when this function returns an error. so if it fails, nothing got counted β no phantom references lurking around π
π SEE ALSO π
Kernel file ./drivers/media/platform/renesas/rcar-fcp.c
the whole friend group, honestly π
π§ friendly reminder: this one's reference counted, so don't be out here callingrcar_fcp_enableand ghosting it. every successful enable needs itsrcar_fcp_disablecounterpart. balanced, as all things should be π
mwah π this page lives in ./drivers/media/platform/renesas and it's dated October 2026 β signed, sealed, slayed, and shipped with love from the Kernel API Manual πβ¨
π¦ 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