Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/dsa/user.c dsa_user_phy_read() -> (struct dsa_switch_ops)->phy_read()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
PARAM_VALUE 0 ds->ops 4096-ptr_max
BUF_SIZE 0 ds s32min-(-1),1-s32max
BUF_SIZE 0 ds s32min-(-1),1-s32max
DATA_SOURCE 1 addr $1
DATA_SOURCE 2 reg $2
CONTAINER 0 -72-72+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 addr 2-31[c]
USER_DATA 2 reg 2-u16max[c]
HALF_LOCKED2 &bus->mdio_lock
HALF_LOCKED2 &priv->bus->mdio_lock

drivers/net/dsa/microchip/ksz_common.c ksz_sw_mdio_read() -> (struct dsa_switch_ops)->phy_read()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
PARAM_VALUE 0 ds->ops 4096-ptr_max
DATA_SOURCE 1 addr $1
DATA_SOURCE 2 reg $2
CONTAINER 0 -72-72+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 addr 2-31[c]
USER_DATA 2 reg 2-u16max[c]
HALF_LOCKED2 &bus->mdio_lock
HALF_LOCKED2 &priv->bus->mdio_lock