---
name: "rio_get_comptag"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/rio_get_comptag"
---

# rio\_get\_comptag(9)

Begin or continue searching for a RIO device by component tag

## NAME

rio\_get\_comptag - Begin or continue searching for a RIO device by component tag

## SYNOPSIS

**struct rio\_dev \* rio\_get\_comptag(u32** *comp\_tag***, struct rio\_dev \*** *from***);**

## ARGUMENTS

*comp\_tag*

RIO component tag to match

*from*

Previous RIO device found in search, or **NULL** for new search

## DESCRIPTION

Iterates through the list of known RIO devices. If a RIO device is found with a matching *comp\_tag*, a pointer to its device structure is returned. Otherwise, **NULL** is returned. A new search is initiated by passing **NULL** to the *from* argument. Otherwise, if *from* is not **NULL**, searches continue from next device on the global list.

## AUTHOR

**Matt Porter** \<mporter@kernel.crashing.org\>, \<mporter@mvista.com\>

Author.

## COPYRIGHT
