Chapter 3. RapidIO driver interface

Table of Contents

Functions

Drivers are provided a set of calls in order to interface with the subsystem to gather info on devices, request/map memory region resources, and manage mailboxes/doorbells.

Functions

rio_local_read_config_32 - Read 32 bits from local configuration space
rio_local_write_config_32 - Write 32 bits to local configuration space
rio_local_read_config_16 - Read 16 bits from local configuration space
rio_local_write_config_16 - Write 16 bits to local configuration space
rio_local_read_config_8 - Read 8 bits from local configuration space
rio_local_write_config_8 - Write 8 bits to local configuration space
rio_read_config_32 - Read 32 bits from configuration space
rio_write_config_32 - Write 32 bits to configuration space
rio_read_config_16 - Read 16 bits from configuration space
rio_write_config_16 - Write 16 bits to configuration space
rio_read_config_8 - Read 8 bits from configuration space
rio_write_config_8 - Write 8 bits to configuration space
rio_send_doorbell - Send a doorbell message to a device
rio_init_mbox_res - Initialize a RIO mailbox resource
rio_init_dbell_res - Initialize a RIO doorbell resource
RIO_DEVICE - macro used to describe a specific RIO device
rio_add_outb_message - Add RIO message to an outbound mailbox queue
rio_add_inb_buffer - Add buffer to an inbound mailbox queue
rio_get_inb_message - Get A RIO message from an inbound mailbox queue
rio_name - Get the unique RIO device identifier
rio_get_drvdata - Get RIO driver specific data
rio_set_drvdata - Set RIO driver specific data
rio_dev_get - Increments the reference count of the RIO device structure
rio_dev_put - Release a use of the RIO device structure
rio_register_driver - register a new RIO driver
rio_unregister_driver - unregister a RIO driver
rio_local_get_device_id - Get the base/extended device id for a port
rio_request_inb_mbox - request inbound mailbox service
rio_release_inb_mbox - release inbound mailbox message service
rio_request_outb_mbox - request outbound mailbox service
rio_release_outb_mbox - release outbound mailbox message service
rio_request_inb_dbell - request inbound doorbell message service
rio_release_inb_dbell - release inbound doorbell message service
rio_request_outb_dbell - request outbound doorbell message range
rio_release_outb_dbell - release outbound doorbell message range
rio_request_inb_pwrite - request inbound port-write message service
rio_release_inb_pwrite - release inbound port-write message service
rio_inb_pwrite_handler - process inbound port-write message
rio_get_asm - Begin or continue searching for a RIO device by vid/did/asm_vid/asm_did
rio_get_device - Begin or continue searching for a RIO device by vid/did