Enumeration and Discovery
Prev
Chapter 4. Internals
Next
Enumeration and Discovery
rio_get_device_id
- Get the base/extended device id for a device
rio_set_device_id
- Set the base/extended device id for a device
rio_local_set_device_id
- Set the base/extended device id for a port
rio_clear_locks
- Release all host locks and signal enumeration complete
rio_enum_host
- Set host lock and initialize host destination ID
rio_device_has_destid
- Test if a device contains a destination ID register
rio_release_dev
- Frees a RIO device struct
rio_is_switch
- Tests if a RIO device has switch capabilities
rio_switch_init
- Sets switch operations for a particular vendor switch
rio_add_device
- Adds a RIO device to the device model
rio_enable_rx_tx_port
- enable input receiver and output transmitter of given port
rio_setup_device
- Allocates and sets up a RIO device
rio_sport_is_active
- Tests if a switch port has an active connection.
rio_lock_device
- Acquires host device lock for specified device
rio_unlock_device
- Releases host device lock for specified device
rio_route_add_entry
- Add a route entry to a switch routing table
rio_route_get_entry
- Read a route entry in a switch routing table
rio_get_host_deviceid_lock
- Reads the Host Device ID Lock CSR on a device
rio_enum_peer
- Recursively enumerate a RIO network through a master port
rio_enum_complete
- Tests if enumeration of a network is complete
rio_disc_peer
- Recursively discovers a RIO network through a master port
rio_mport_is_active
- Tests if master port link is active
rio_alloc_net
- Allocate and configure a new RIO network
rio_update_route_tables
- Updates route tables in switches
rio_init_em
- Initializes RIO Error Management (for switches)
rio_pw_enable
- Enables/disables port-write handling by a master port
rio_enum_mport
- Start enumeration through a master port
rio_build_route_tables
- Generate route tables from switch route entries
rio_enum_timeout
- Signal that enumeration timed out
rio_disc_mport
- Start discovery through a master port