sysc_ioremap(9)
π sysc_ioremap β like, the whole vibe β¨
okay so bestie, welcome to sysc_ioremap(9), straight out of the Kernel API Manual π. This one's a tiny little function with main character energy, and honestly? She ate. Let's get into it π
πΈ NAME πΈ
sysc_ioremap β ioremap register space for the interconnect target module β¨
Like, that's literally her whole job. She takes the interconnect target module's register space and ioremaps it. No cap π«Ά
π¦ SYNOPSIS π¦
int sysc_ioremap (struct sysc *ddata );
There she is. One (1) function, one (1) argument, zero drama π
π ARGUMENTS π
ddataβ device driver data π
That's it. That's the argument. She's lowkey low-maintenance like that.
β¨ DESCRIPTION β¨
Okay so here's the tea, and it's actually kind of important β:
the interconnect target module registers can be anywhere within the interconnect target module range. Like, they're not guaranteed to be sitting politely at the start. They're giving "wherever they feel like it" energy π
For example β and these examples are iconic, ngl:
- SGX has them at offset
0x1fc00in the32MBmodule address space π - and cpsw has them at offset
0x1200in theCPSW_WRchild π
So yeah, do NOT just assume offset zero, bestie. That's the trap.
That said β usually the interconnect target module registers are at the beginning of the module range though. Usually!! Not always!! Read the room, read the offset πΈ
fr fr, this is the whole reason the function exists. The registers are wherever the hardware decided to put them, and you gotta deal with it π
π₯ SEE ALSO π₯
Kernel file ./drivers/bus/ti-sysc.c β go read it, it's giving essential lore π
Then the whole friend group of related pages, all of them, no skips:
struct sysc(9)sysc_init_resets(9)sysc_parse_and_check_child_range(9)sysc_check_one_child(9)sysc_parse_one(9)sysc_check_registers(9)sysc_map_and_check_registers(9)sysc_show_rev(9)sysc_show_registers(9)sysc_write_sysconfig(9)sysc_context_notifier(9)sysc_add_restored(9)
iykyk π
mwah π that's the page. written from ./drivers/bus, dated October 2026, and yeah β it's still signed sysc_ioremap(9), because she's the main character. 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