rio_mport_is_active(9)
π NAME π
rio_mport_is_active β tests if master port link is active πΈ
okay so bestie, welcome to the rio_mport_is_active(9) page in the Kernel API Manual β this one is short, sweet, and lowkey iconic β¨
π¦ SYNOPSIS π¦
no cap, here's the whole signature:
int rio_mport_is_active (struct rio_mport *port );
π ARGUMENTS π
portβ master port to test π
β¨ DESCRIPTION β¨
the vibe check here is simple: it reads the port error status CSR for the master port to determine if the port has an active link π₯.
it returns RIO_PORT_N_ERR_STS_PORT_OK if the master port is active, or 0 if it is inactive. periodt π
π SEE ALSO π
the related besties live in kernel file ./drivers/rapidio/rio-scan.c π
rio_destid_alloc(9)rio_destid_reserve(9)rio_destid_free(9)rio_destid_first(9)rio_destid_next(9)rio_get_device_id(9)rio_set_device_id(9)rio_clear_locks(9)rio_enum_host(9)rio_device_has_destid(9)rio_release_dev(9)rio_is_switch(9)rio_setup_device(9)rio_sport_is_active(9)rio_get_host_deviceid_lock(9)rio_enum_peer(9)rio_enum_complete(9)rio_disc_peer(9)rio_update_route_tables(9)rio_init_em(9)rio_enum_mport(9)rio_build_route_tables(9)rio_disc_mport(9)rio_basic_attach(9)
mwah π β source/version: ./drivers/rapidio, date: October 2026, page: rio_mport_is_active(9). that's the whole page, bestie, ily π«Ά
π¦ 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