Scroll to navigation

__MDIOBUS_WRITE(9) Network device support __MDIOBUS_WRITE(9)

NAME

__mdiobus_write - Unlocked version of the mdiobus_write function

SYNOPSIS

int __mdiobus_write(struct mii_bus * bus, int addr, u32 regnum, u16 val);

ARGUMENTS

bus

the mii_bus struct

addr

the phy address

regnum

register number to write

val

value to write to regnum

DESCRIPTION

Write a MDIO bus register. Caller must hold the mdio bus lock.

NOTE

MUST NOT be called from interrupt context.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10