---
name: "rio_enum_host"
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_enum_host"
---

# rio\_enum\_host(9)

Set host lock and initialize host destination ID

## NAME

rio\_enum\_host - Set host lock and initialize host destination ID

## SYNOPSIS

**int rio\_enum\_host(struct rio\_mport \*** *port***);**

## ARGUMENTS

*port*

Master port to issue transaction

## DESCRIPTION

Sets the local host master port lock and destination ID register with the host device ID value. The host device ID value is provided by the platform. Returns **0** on success or **-1** on failure.

## AUTHOR

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

Author.

## COPYRIGHT
