STRUCT PS3_DMA_REGION(9)
π NAME π
struct ps3_dma_region β okay so this is the per-device DMA state variables structure, like literally the little home where one device's DMA situation gets tracked π«Ά that's it that's the name bestie
β¨ SYNOPSIS β¨
struct ps3_dma_region {
struct ps3_system_bus_device *dev;
const struct ps3_dma_region_ops *region_ops;
unsigned char ioid;
enum ps3_dma_page_size page_size;
enum ps3_dma_region_type region_type;
unsigned long len;
unsigned long offset;
u64 dma_mask;
unsigned long bus_addr;
struct {
spinlock_t lock;
struct list_head head;
} chunk_list;
};
No cap, that's the whole vibe right there π¦
π Members π
devβ the device structure, the actual main character this region belongs to πregion_opsβstruct ps3_dma_region_opsβ the dma region operations, aka the behavior pack πioidβ the IOID of the device who owns this region frpage_sizeβ the ioc pagesize, that's the enumpage_sizevibe β¨region_typeβ the HV region type (the hypervisor's classification, iykyk)lenβ the length in bytes of the region, like how much room it's taking up πoffsetβ the offset from the start of memory of the region, its lil starting point πΈdma_maskβ the devicedma_mask, straightforward slaybus_addrβ the 'translated' bus address of the region π₯ (yes, 'translated' in quotes, that's how it's written, don't come for me)chunk_listβ opaque variable used by the ioc page manager π«₯ it's giving mystery, it's giving "don't touch, the ioc page manager handles it"
π SEE ALSO π
Kernel file ./arch/powerpc/include/asm/ps3.h β and the whole friend group:
struct ps3_mmio_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)
π So that's the page!! Sourced from./arch/powerpc/include/asm, dated October 2026, and titledstruct ps3_dma_region(9)β go read the ps3 family, they all ate, no crumbs left π§β
π¦ 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