<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>Chapter 3. RapidIO driver interface</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="RapidIO Subsystem Guide" /><link rel="up" href="index.html" title="RapidIO Subsystem Guide" /><link rel="prev" href="ch02s02.html" title="Limitations" /><link rel="next" href="re01.html" title="rio_local_read_config_32" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 3. RapidIO driver interface</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s02.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="re01.html">Next</a></td></tr></table><hr /></div><div class="chapter" title="Chapter 3. RapidIO driver interface"><div class="titlepage"><div><div><h2 class="title"><a id="drivers"></a>Chapter 3. RapidIO driver interface</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ch03.html#Functions">Functions</a></span></dt></dl></div><p> 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. </p><div class="sect1" title="Functions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="Functions"></a>Functions</h2></div></div></div><div class="toc"><dl><dt><span class="refentrytitle"><a href="re01.html"><span>rio_local_read_config_32</span></a></span><span class="refpurpose"> — Read 32 bits from local configuration space </span></dt><dt><span class="refentrytitle"><a href="re02.html"><span>rio_local_write_config_32</span></a></span><span class="refpurpose"> — Write 32 bits to local configuration space </span></dt><dt><span class="refentrytitle"><a href="re03.html"><span>rio_local_read_config_16</span></a></span><span class="refpurpose"> — Read 16 bits from local configuration space </span></dt><dt><span class="refentrytitle"><a href="re04.html"><span>rio_local_write_config_16</span></a></span><span class="refpurpose"> — Write 16 bits to local configuration space </span></dt><dt><span class="refentrytitle"><a href="re05.html"><span>rio_local_read_config_8</span></a></span><span class="refpurpose"> — Read 8 bits from local configuration space </span></dt><dt><span class="refentrytitle"><a href="re06.html"><span>rio_local_write_config_8</span></a></span><span class="refpurpose"> — Write 8 bits to local configuration space </span></dt><dt><span class="refentrytitle"><a href="re07.html"><span>rio_read_config_32</span></a></span><span class="refpurpose"> — Read 32 bits from configuration space </span></dt><dt><span class="refentrytitle"><a href="re08.html"><span>rio_write_config_32</span></a></span><span class="refpurpose"> — Write 32 bits to configuration space </span></dt><dt><span class="refentrytitle"><a href="re09.html"><span>rio_read_config_16</span></a></span><span class="refpurpose"> — Read 16 bits from configuration space </span></dt><dt><span class="refentrytitle"><a href="re10.html"><span>rio_write_config_16</span></a></span><span class="refpurpose"> — Write 16 bits to configuration space </span></dt><dt><span class="refentrytitle"><a href="re11.html"><span>rio_read_config_8</span></a></span><span class="refpurpose"> — Read 8 bits from configuration space </span></dt><dt><span class="refentrytitle"><a href="re12.html"><span>rio_write_config_8</span></a></span><span class="refpurpose"> — Write 8 bits to configuration space </span></dt><dt><span class="refentrytitle"><a href="re13.html"><span>rio_send_doorbell</span></a></span><span class="refpurpose"> — Send a doorbell message to a device </span></dt><dt><span class="refentrytitle"><a href="re14.html"><span>rio_init_mbox_res</span></a></span><span class="refpurpose"> — Initialize a RIO mailbox resource </span></dt><dt><span class="refentrytitle"><a href="re15.html"><span>rio_init_dbell_res</span></a></span><span class="refpurpose"> — Initialize a RIO doorbell resource </span></dt><dt><span class="refentrytitle"><a href="re16.html"><span>RIO_DEVICE</span></a></span><span class="refpurpose"> — macro used to describe a specific RIO device </span></dt><dt><span class="refentrytitle"><a href="re17.html"><span>rio_add_outb_message</span></a></span><span class="refpurpose"> — Add RIO message to an outbound mailbox queue </span></dt><dt><span class="refentrytitle"><a href="re18.html"><span>rio_add_inb_buffer</span></a></span><span class="refpurpose"> — Add buffer to an inbound mailbox queue </span></dt><dt><span class="refentrytitle"><a href="re19.html"><span>rio_get_inb_message</span></a></span><span class="refpurpose"> — Get A RIO message from an inbound mailbox queue </span></dt><dt><span class="refentrytitle"><a href="re20.html"><span>rio_name</span></a></span><span class="refpurpose"> — Get the unique RIO device identifier </span></dt><dt><span class="refentrytitle"><a href="re21.html"><span>rio_get_drvdata</span></a></span><span class="refpurpose"> — Get RIO driver specific data </span></dt><dt><span class="refentrytitle"><a href="re22.html"><span>rio_set_drvdata</span></a></span><span class="refpurpose"> — Set RIO driver specific data </span></dt><dt><span class="refentrytitle"><a href="re23.html"><span>rio_dev_get</span></a></span><span class="refpurpose"> — Increments the reference count of the RIO device structure </span></dt><dt><span class="refentrytitle"><a href="re24.html"><span>rio_dev_put</span></a></span><span class="refpurpose"> — Release a use of the RIO device structure </span></dt><dt><span class="refentrytitle"><a href="re25.html"><span>rio_register_driver</span></a></span><span class="refpurpose"> — register a new RIO driver </span></dt><dt><span class="refentrytitle"><a href="re26.html"><span>rio_unregister_driver</span></a></span><span class="refpurpose"> — unregister a RIO driver </span></dt><dt><span class="refentrytitle"><a href="re27.html"><span>rio_local_get_device_id</span></a></span><span class="refpurpose"> — Get the base/extended device id for a port </span></dt><dt><span class="refentrytitle"><a href="re28.html"><span>rio_request_inb_mbox</span></a></span><span class="refpurpose"> — request inbound mailbox service </span></dt><dt><span class="refentrytitle"><a href="re29.html"><span>rio_release_inb_mbox</span></a></span><span class="refpurpose"> — release inbound mailbox message service </span></dt><dt><span class="refentrytitle"><a href="re30.html"><span>rio_request_outb_mbox</span></a></span><span class="refpurpose"> — request outbound mailbox service </span></dt><dt><span class="refentrytitle"><a href="re31.html"><span>rio_release_outb_mbox</span></a></span><span class="refpurpose"> — release outbound mailbox message service </span></dt><dt><span class="refentrytitle"><a href="re32.html"><span>rio_request_inb_dbell</span></a></span><span class="refpurpose"> — request inbound doorbell message service </span></dt><dt><span class="refentrytitle"><a href="re33.html"><span>rio_release_inb_dbell</span></a></span><span class="refpurpose"> — release inbound doorbell message service </span></dt><dt><span class="refentrytitle"><a href="re34.html"><span>rio_request_outb_dbell</span></a></span><span class="refpurpose"> — request outbound doorbell message range </span></dt><dt><span class="refentrytitle"><a href="re35.html"><span>rio_release_outb_dbell</span></a></span><span class="refpurpose"> — release outbound doorbell message range </span></dt><dt><span class="refentrytitle"><a href="re36.html"><span>rio_get_asm</span></a></span><span class="refpurpose"> — Begin or continue searching for a RIO device by vid/did/asm_vid/asm_did </span></dt><dt><span class="refentrytitle"><a href="re37.html"><span>rio_get_device</span></a></span><span class="refpurpose"> — Begin or continue searching for a RIO device by vid/did </span></dt></dl></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s02.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="re01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Limitations </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>rio_local_read_config_32</span></td></tr></table></div></body></html>