---
name: "phy_find_setting"
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/phy_find_setting"
---

# phy\_find\_setting(9)

find a PHY settings array entry that matches speed & duplex

## NAME

phy\_find\_setting - find a PHY settings array entry that matches speed & duplex

## SYNOPSIS

**unsigned int phy\_find\_setting(int** *speed***, int** *duplex***);**

## ARGUMENTS

*speed*

speed to match

*duplex*

duplex to match

## DESCRIPTION

Searches the settings array for the setting which matches the desired speed and duplex, and returns the index of that setting. Returns the index of the last setting if none of the others match.

## COPYRIGHT
