---
name: "phy_start_interrupts"
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_start_interrupts"
---

# phy\_start\_interrupts(9)

request and enable interrupts for a PHY device

## NAME

phy\_start\_interrupts - request and enable interrupts for a PHY device

## SYNOPSIS

**int phy\_start\_interrupts(struct phy\_device \*** *phydev***);**

## ARGUMENTS

*phydev*

target phy\_device struct

## DESCRIPTION

Request the interrupt for the given PHY. If this fails, then we set irq to PHY\_POLL. Otherwise, we enable the interrupts in the PHY. This should only be called with a valid IRQ number. Returns 0 on success or \< 0 on error.

## COPYRIGHT
