fsl_lbc_find(9)
π fsl_lbc_find β find Localbus bank π
okay so bestie, welcome to the fsl_lbc_find(9) page from the Kernel API Manual β¨ it's short, it's sweet, and it's lowkey iconic. let's get into it π
πΈ NAME πΈ
fsl_lbc_find β find Localbus bank π¦
like, it literally finds a Localbus bank for you. that's the whole gig. no cap.
β¨ SYNOPSIS β¨
int fsl_lbc_find (phys_addr_t addr_base );
that's it. one argument. one int coming back. clean, minimal, main character energy π
π«Ά ARGUMENTS π«Ά
addr_baseβ the base address of the memory bank π this is the address you're like "hey, do I have a bank living here?" about.
π DESCRIPTION π
okay so here's the vibe: this function walks the LBC banks and compares the "Base address" field of the BR registers against the addr_base argument you handed it π
when the bases match, it returns the bank number β and bestie, that numbering starts at 0, so don't be surprised when the first one comes back as a zero π
if nothing matches? it returns the appropriate errno value instead. so like, not every search is a slay, and that's okay π
ngl the important bit: match = bank number starting with0, no match =errno. that's the whole mood.
π SEE ALSO π
- Kernel file
./arch/powerpc/sysdev/fsl_lbc.c fsl_lbc_addr(9)fsl_upm_find(9)fsl_upm_run_pattern(9)
go read those too, iykyk π§
sourced from ./arch/powerpc/sysdev π dated October 2026 ποΈ and it's all about fsl_lbc_find(9) β mwah, that's the page, love u, 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