STRUCT PS3_MMIO_REGION(9)
π struct ps3_mmio_region(9) β the kernel API manual, bestie edition π
okay so you're in the kernel API manual (Kernel API Manual, section 9) and we're talking about struct ps3_mmio_region. buckle up, this one's short but it's literally the whole vibe for mmio on PS3, no cap β¨
πΈ NAME πΈ
struct ps3_mmio_region β a per device mmio state variables structure π
like, it's the lil bundle of state that lives per device so the mmio situation stays tracked. that's the whole job. iconic.
β¨ SYNOPSIS β¨
struct ps3_mmio_region {
struct ps3_system_bus_device *dev;
const struct ps3_mmio_region_ops *mmio_ops;
unsigned long bus_addr;
unsigned long len;
enum ps3_mmio_page_size page_size;
unsigned long lpar_addr;
};
there she is π six fields, zero drama. dev is your struct ps3_system_bus_device *, mmio_ops is a const struct ps3_mmio_region_ops * (the ops, but make it const π
), then bus_addr and len as unsigned long, a page_size that's an enum ps3_mmio_page_size, and finally lpar_addr as another unsigned long. chef's kiss.
π Members π
this is the members rundown section β the actual fields are the ones sitting pretty up in the struct above in SYNOPSIS, so peek there for the full lineup π«Ά
π Description π
Current systems can be supported with a single region per device.
that's it. that's the description. one region per device and you're chilling β the current systems don't need more than that, fr fr. lowkey the most chill sentence in the whole manual.
π¦ SEE ALSO π¦
go click around, bestie, it's all connected:
Kernel file ./arch/powerpc/include/asm/ps3.hstruct ps3_dma_region(9)ps3_mmio_region_init(9)struct ps3_system_bus_device(9)struct ps3_system_bus_driver(9)ps3_system_bus_set_drvdata(9)enum ps3_lpm_rights(9)enum ps3_lpm_tb_type(9)
π real talk: half these names are a mouthful and that's fine, just don't skip them β every single one of those references is doing actual work in this ecosystem. iykyk.
okay and for the sign-off π this page comes from ./arch/powerpc/include/asm and it's dated October 2026, and the footer title is struct ps3_mmio_region(9) β so like, that's where it lives and when it was stamped. periodt. πβ¨πΈ
π¦ 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