1MDIOBUS_READ_NESTED(9) Network device support MDIOBUS_READ_NESTED(9)
2
3
4
6 mdiobus_read_nested - Nested version of the mdiobus_read function
7
9 int mdiobus_read_nested(struct mii_bus * bus, int addr, u32 regnum);
10
12 bus
13 the mii_bus struct
14
15 addr
16 the phy address
17
18 regnum
19 register number to read
20
22 In case of nested MDIO bus access avoid lockdep false positives by
23 using mutex_lock_nested.
24
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)