Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/broadcom/tg3.c tg3_ioctl() -> __tg3_readphy()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tp->tg3_flags 4096-ptr_max
PARAM_VALUE 1 phy_addr 0-31
PARAM_VALUE 2 reg 0-31
PARAM_VALUE 3 val 9111818686267813888
BIT_INFO 0 tp->phy_flags 0x0,0xffffffef
PREEMPT_ADD <- disables preempt
LOCK2 bh
LOCK2 0 &tp->lock
TYPE_LOCK (struct tg3)->lock

drivers/net/ethernet/broadcom/tg3.c tg3_mdio_read() -> __tg3_readphy()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 val 3862355978878738432
BUF_SIZE 0 tp s32min-(-1),1-s32max
BUF_SIZE 0 tp s32min-(-1),1-s32max
DATA_SOURCE 1 phy_addr $1
DATA_SOURCE 2 reg $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 phy_addr 2-31[c]
USER_DATA 2 reg 2-u16max[c]
UNITS 0 tp unit_byte
LOCK2 bh
LOCK2 0 &tp->lock
HALF_LOCKED2 &bp->mdio_lock
HALF_LOCKED2 &priv->bus->mdio_lock
TYPE_LOCK (struct tg3)->lock

drivers/net/ethernet/broadcom/tg3.c tg3_readphy() -> __tg3_readphy()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
DATA_SOURCE 0 tp $0
DATA_SOURCE 2 reg $1
DATA_SOURCE 3 val $2