---
name: "rio_device_has_destid"
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_device_has_destid"
---

# rio\_device\_has\_destid(9)

Test if a device contains a destination ID register

## NAME

rio\_device\_has\_destid - Test if a device contains a destination ID register

## SYNOPSIS

**int rio\_device\_has\_destid(struct rio\_mport \*** *port***, int** *src\_ops***, int** *dst\_ops***);**

## ARGUMENTS

*port*

Master port to issue transaction

*src\_ops*

RIO device source operations

*dst\_ops*

RIO device destination operations

## DESCRIPTION

Checks the provided *src\_ops* and *dst\_ops* for the necessary transaction capabilities that indicate whether or not a device will implement a destination ID register. Returns 1 if true or 0 if false.

## AUTHOR

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

Author.

## COPYRIGHT
