rio_mport_get_feature(9)
β¨ NAME β¨
okay bestie, this is rio_mport_get_feature(9) straight outta the Kernel API Manual, and it is literally here to query for devices' extended features π
π
rio_mport_get_featureβ query for devices' extended features β¨
π SYNOPSIS π
u32 rio_mport_get_feature (struct rio_mport * port , int local , u16
destid , u8 hopcount , int ftr );
π¦ ARGUMENTS π¦
portβ master port to issue transaction. main character port energy, fr fr.localβ indicate a local master port or remote device access. iykyk.destidβ destination ID of the device. the addy, basically.hopcountβ number of switch hops to the device. count 'em, bestie.ftrβ extended feature code. the feature-code moment.
π DESCRIPTION π
This is the vibe check: it tells you if a device supports a given RapidIO capability. The way it returns stuff is that it gives you the offset of the requested extended feature block within the device's RIO configuration space, or 0 in case the device does not support it. periodt. π
π SEE ALSO π
Also peep the kernel file ./drivers/rapidio/rio.c β and honestly the whole RapidIO friend group is here, no cap:
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_map_inb_region(9)rio_unmap_inb_region(9)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_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)
source/version footer moment: this one lives under ./drivers/rapidio and is dated October 2026 β hope that helped, bestie, 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