rio_mport_is_active(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ‘‘


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