STRUCT SCU_REGISTERS(9)
π¦ struct scu_registers(9) β the section 9 kernel API manual page, bestie π¦
okay so picture this: it's a manual page for struct scu_registers, and it lives in the Kernel API Manual, section 9. That's the whole vibe. Let's get into it π
β¨ NAME β¨
struct scu_registers β it's the SCU registers, and guess what, it includes both PEG registers if we turn on that compile option π (conditional slay). And listen β all of these registers live in the memory mapped space returned from BAR1. Every single one. No cap. π
πΈ SYNOPSIS πΈ
struct scu_registers {
struct scu_peg_registers peg0;
struct scu_sdma_registers sdma;
struct scu_completion_ram cram;
struct scu_frame_buffer_ram fbram;
u32 reserved_6800_69FF[0x80];
struct noa_protocol_engine_partition noa_pe;
struct noa_hub_partition noa_hub;
struct noa_host_interface_partition noa_if;
u32 reserved_6d00_7fff[0x4c0];
struct scu_peg_registers peg1;
struct scu_afe_registers afe;
u32 reserved_f000_211fff[0x80c00];
struct scu_scratch_ram scratch_ram;
};
like look at that struct. it's giving layout. the reserved blocks are literally just holding space so everything lands where it's supposed to β respectful king behavior π«Ά
π Members π
so the Members section is here, it exists, it's official β but there's genuinely nothing written under it in the source page. it's the emptiest section at the function and honestly? iconic for that π the struct itself in the SYNOPSIS is doing all the talking.
π₯ SEE ALSO π₯
- the kernel file itself:
./drivers/scsi/isci/registers.hβ that's where the real one lives, go look π struct scu_viit_entry(9)struct scu_iit_entry(9)struct smu_registers(9)struct scu_sdma_registers(9)struct scu_transport_layer_registers(9)struct scu_link_layer_registers(9)struct scu_sgpio_registers(9)struct scu_port_task_scheduler_registers(9)struct scu_port_task_scheduler_group_registers(9)struct scu_afe_registers(9)struct transport_link_layer_pair(9)struct scu_peg_registers(9)
that's a whole friend group of register structs fr fr β read them all, they're all linked π
β quick reminder bestie: this is section 9, the kernel API manual, and ./drivers/scsi/isci is the source of record. if you're touching BAR1 memory you already know what you're doing, but likeβ¦ be careful anyway π
and that's the page!! source/version is ./drivers/scsi/isci and the date on this cutie is October 2026 β so mark your calendar, struct scu_registers(9) said see you then πβ¨ππ¦πΈπ
π«Ά
π¦ 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