1MDIOBUS_WRITE_NESTED(9)     Network device support     MDIOBUS_WRITE_NESTED(9)
2
3
4

NAME

6       mdiobus_write_nested - Nested version of the mdiobus_write function
7

SYNOPSIS

9       int mdiobus_write_nested(struct mii_bus * bus, int addr, u32 regnum,
10                                u16 val);
11

ARGUMENTS

13       bus
14           the mii_bus struct
15
16       addr
17           the phy address
18
19       regnum
20           register number to write
21
22       val
23           value to write to regnum
24

DESCRIPTION

26       In case of nested MDIO bus access avoid lockdep false positives by
27       using mutex_lock_nested.
28

NOTE

30       MUST NOT be called from interrupt context, because the bus read/write
31       functions may wait for an interrupt to conclude the operation.
32
34Kernel Hackers Manual 3.10         June 2019           MDIOBUS_WRITE_NESTED(9)
Impressum