Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/silan/sc92031.c _sc92031_phy_reset() -> _sc92031_mii_write()

Type Parameter Key Value
PARAM_VALUE 0 port_base 4096-ptr_max
PARAM_VALUE 1 reg 16
PARAM_VALUE 2 val 4097
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &priv->lock
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 bh
TYPE_LOCK (struct sc92031_priv)->lock

drivers/net/ethernet/silan/sc92031.c sc92031_ethtool_nway_reset() -> _sc92031_mii_write()

Type Parameter Key Value
PARAM_VALUE 0 port_base 4096-ptr_max
PARAM_VALUE 1 reg 0
BIT_INFO 2 val 0x1200,0xffff
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &priv->lock
LOCK2 bh
TYPE_LOCK (struct sc92031_priv)->lock