rio_map_inb_region(9)
πΈ rio_map_inb_region β the Kernel API Manual glow-up πΈ
okay so bestie, welcome to the rio_map_inb_region(9) page from the Kernel API Manual π
this is the one that wires up inbound memory regions, and yes it's as niche as it sounds but we're gonna get through it together, no cap π«Ά
β¨ NAME β¨
rio_map_inb_region β Map inbound memory region. literally what it says on the tin, she maps, she slays π
β¨ SYNOPSIS β¨
int rio_map_inb_region (struct rio_mport *mport , dma_addr_t local , u64
rbase , u32 size , u32 rflags );
like, five arguments, that's the whole vibe check, copy it exactly bestie π
β¨ ARGUMENTS β¨
mportβ the Master port. your main character port, honestly πlocalβ the physical address of the memory region to be mapped. physical, not virtual, don't get it twisted πrbaseβ the RIO base address assigned to this window. this is her address in RIO space π¦sizeβ the size of the memory region. big region energy πrflagsβ the flags for mapping. the little settings gremlins that shape how she maps β
β¨ RETURN β¨
0β Success. that's it, that's the whole return section, we love a one-value icon ππ
β¨ DESCRIPTION β¨
so what does she actually do? this function will create the mapping from RIO space to local memory β¨ that's literally the entire flex β RIO space on one side, your local memory on the other, and this function builds the bridge between them. it's giving matchmaker, it's giving infrastructure, it's giving "i simply connect things" π§
β¨ SEE ALSO β¨
okay this is the part where the page just. keeps. going. π like there are so many friends in this ecosystem and the manpage refuses to leave a single one out, so here's the whole group chat, in order, no one gets left on read π
- the kernel file:
./drivers/rapidio/rio.c rio_local_get_device_id(9)rio_query_mport(9)rio_alloc_net(9)rio_local_set_device_id(9)rio_add_device(9)rio_request_inb_mbox(9)rio_release_inb_mbox(9)rio_request_outb_mbox(9)rio_release_outb_mbox(9)rio_setup_inb_dbell(9)rio_request_inb_dbell(9)rio_release_inb_dbell(9)rio_request_outb_dbell(9)rio_release_outb_dbell(9)rio_add_mport_pw_handler(9)rio_del_mport_pw_handler(9)rio_request_inb_pwrite(9)rio_release_inb_pwrite(9)rio_pw_enable(9)rio_unmap_inb_region(9)β yes, her evil twin, the undo button πrio_map_outb_region(9)rio_unmap_outb_region(9)rio_mport_get_physefb(9)rio_get_comptag(9)rio_set_port_lockout(9)rio_enable_rx_tx_port(9)rio_chk_dev_route(9)rio_mport_chk_dev_access(9)rio_chk_dev_access(9)rio_get_input_status(9)rio_clr_err_stopped(9)rio_inb_pwrite_handler(9)rio_mport_get_efb(9)rio_mport_get_feature(9)rio_std_route_add_entry(9)rio_std_route_get_entry(9)rio_std_route_clr_table(9)rio_lock_device(9)rio_unlock_device(9)rio_route_add_entry(9)rio_route_get_entry(9)rio_route_clr_table(9)rio_request_mport_dma(9)rio_release_dma(9)rio_dma_prep_xfer(9)rio_register_scan(9)rio_mport_scan(9)
like. that's the whole rapidio extended fam fr fr π₯
ngl bestie, every one of those references is a real page β if you're lost, just hop to a neighbour, they're all in the same ./drivers/rapidio orbit πͺ
aaaand that's the page!! mwah π this came out of ./drivers/rapidio, dated October 2026, and it's filed under rio_map_inb_region(9) β go forth and map those inbound regions, you absolute icon πβ¨π
π¦ 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