Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/socionext/netsec.c netsec_phy_read() -> netsec_mac_wait_while_busy()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 1 addr 16
PARAM_VALUE 2 mask 1
BUF_SIZE 0 priv s32min-(-1),1-s32max
BUF_SIZE 0 priv s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 priv unit_byte
HALF_LOCKED2 &bus->mdio_lock
HALF_LOCKED2 &priv->bus->mdio_lock

drivers/net/ethernet/socionext/netsec.c netsec_phy_write() -> netsec_mac_wait_while_busy()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 1 addr 16
PARAM_VALUE 2 mask 1
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 priv unit_byte
HALF_LOCKED2 &bus->mdio_lock
HALF_LOCKED2 &bus->mdio_lock
HALF_LOCKED2 &priv->bus->mdio_lock