---
name: "rio_enable_rx_tx_port"
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_enable_rx_tx_port"
---

# rio\_enable\_rx\_tx\_port(9)

enable input receiver and output transmitter of given port

## NAME

rio\_enable\_rx\_tx\_port - enable input receiver and output transmitter of given port

## SYNOPSIS

**int rio\_enable\_rx\_tx\_port(struct rio\_mport \*** *port***, int** *local***, u16** *destid***, u8** *hopcount***, u8** *port\_num***);**

## ARGUMENTS

*port*

Master port associated with the RIO network

*local*

local=1 select local port otherwise a far device is reached

*destid*

Destination ID of the device to check host bit

*hopcount*

Number of hops to reach the target

*port\_num*

Port (-number on switch) to enable on a far end device

## DESCRIPTION

Returns 0 or 1 from on General Control Command and Status Register (EXT\_PTR+0x3C)

## AUTHOR

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

Author.

## COPYRIGHT
