logic_pio_register_range(9)
π logic_pio_register_range(9) β a Kernel API Manual moment π
okay so bestie, welcome to the kernel API manual, this one's all about logic_pio_register_range and honestly it's giving "let me put this range on the list" energy β¨
πΈ NAME πΈ
logic_pio_register_range β register a logical PIO range for a host π¦
β¨ SYNOPSIS β¨
int logic_pio_register_range (struct logic_pio_hwaddr *new_range );
π«Ά ARGUMENTS π«Ά
new_rangeβ pointer to the IO range you wanna register, like, that's the whole vibe π
π DESCRIPTION π
so here's the tea β: it returns 0 on success, and an error code if things go sideways π.
and listen β if the range already exists, you're gonna get -EEXIST back, but ngl you should lowkey consider that a success, periodt π
. it's already there, it's already iconic, we move on.
the actual job? registering a new IO range node in the IO range list π literally just adding your little node to the list, main character energy fr fr.
no cap: -EEXIST is not a fail, bestie β treat it as a win π
π₯ SEE ALSO π₯
- Kernel file
./lib/logic_pio.c logic_pio_unregister_range(9)find_io_range_by_fwnode(9)logic_pio_to_hwaddr(9)logic_pio_trans_hwaddr(9)
go read those too, iykyk π
and that's the whole page, bestie π β this gem lives in ./lib, dated October 2026, and it's called logic_pio_register_range(9). slay, you're welcome, mwah ππ§
π¦ 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