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

NAME

6       mdiobus_read_nested - Nested version of the mdiobus_read function
7

SYNOPSIS

9       int mdiobus_read_nested(struct mii_bus * bus, int addr, u32 regnum);
10

ARGUMENTS

12       bus
13           the mii_bus struct
14
15       addr
16           the phy address
17
18       regnum
19           register number to read
20

DESCRIPTION

22       In case of nested MDIO bus access avoid lockdep false positives by
23       using mutex_lock_nested.
24

NOTE

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