---
name: "phy_write_mmd_indirect"
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_write_mmd_indirect"
---

# phy\_write\_mmd\_indirect(9)

writes data to the MMD registers

## NAME

phy\_write\_mmd\_indirect - writes data to the MMD registers

## SYNOPSIS

**void phy\_write\_mmd\_indirect(struct phy\_device \*** *phydev***, int** *prtad***, int** *devad***, u32** *data***);**

## ARGUMENTS

*phydev*

The PHY device

*prtad*

MMD Address

*devad*

MMD DEVAD

*data*

data to write in the MMD register

## DESCRIPTION

Write data from the MMD registers of the specified phy address. To write these register we have: 1) Write reg 13 // DEVAD 2) Write reg 14 // MMD Address 3) Write reg 13 // MMD Data Command for MMD DEVAD 3) Write reg 14 // Write MMD data

## COPYRIGHT
