Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/net/ethernet/altera/altera_sgdma.c sgdma_rx_status() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 0
RX_PATH

drivers/net/ethernet/altera/altera_sgdma.c sgdma_rxbusy() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 0
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/altera/altera_sgdma.c sgdma_txbusy() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 0
TASK_NOT_RUNNING
LOCK2 &priv->tx_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct altera_tse_private)->tx_lock

drivers/net/ethernet/altera/altera_sgdma.c sgdma_txbusy() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 0
TASK_NOT_RUNNING
LOCK2 &priv->tx_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct altera_tse_private)->tx_lock

drivers/net/ethernet/altera/altera_sgdma.c sgdma_txbusy() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 0
TASK_NOT_RUNNING
LOCK2 &priv->tx_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct altera_tse_private)->tx_lock

drivers/net/ethernet/altera/altera_utils.c tse_bit_is_clear() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 0,8
DATA_SOURCE 0 mac $0
DATA_SOURCE 1 offs $1
HARD_MAX 1 offs 8
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &priv->mac_cfg_lock
HALF_LOCKED2 &priv->tx_lock

drivers/net/ethernet/altera/altera_utils.c tse_bit_is_set() -> csrrd32()

Type Parameter Key Value
DATA_SOURCE 0 mac $0
DATA_SOURCE 1 offs $1

drivers/net/ethernet/altera/altera_utils.c tse_clear_bit() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 4,8,232
DATA_SOURCE 0 mac $0
DATA_SOURCE 1 offs $1
HARD_MAX 1 offs 232
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &priv->mac_cfg_lock
HALF_LOCKED2 &priv->rxdma_irq_lock

drivers/net/ethernet/altera/altera_utils.c tse_set_bit() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 4,8,16,236
DATA_SOURCE 0 mac $0
DATA_SOURCE 1 offs $1
HARD_MAX 1 offs 236
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &priv->mac_cfg_lock
HALF_LOCKED2 &priv->rxdma_irq_lock
HALF_LOCKED2 flags

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 104

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 108

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 112

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 116

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 240

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 120

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 244

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 124

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 128

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 132

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 136

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 140

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 144

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 148

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 152

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 156

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 160

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 164

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 168

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 172

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 248

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 176

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 180

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 184

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 188

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 192

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 196

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 200

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 204

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 208

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 212

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 216

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 220

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_fill_stats() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 224

drivers/net/ethernet/altera/altera_tse_ethtool.c tse_get_regs() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 0-508

drivers/net/ethernet/altera/altera_msgdma.c msgdma_rx_status() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 12
RX_PATH

drivers/net/ethernet/altera/altera_msgdma.c msgdma_rx_status() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 0
RX_PATH

drivers/net/ethernet/altera/altera_msgdma.c msgdma_rx_status() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 4
RX_PATH

drivers/net/ethernet/altera/altera_msgdma.c msgdma_tx_completions() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 8
LOCK2 &priv->tx_lock
TYPE_LOCK (struct altera_tse_private)->tx_lock

drivers/net/ethernet/altera/altera_msgdma.c msgdma_tx_completions() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 0
LOCK2 &priv->tx_lock
TYPE_LOCK (struct altera_tse_private)->tx_lock

drivers/net/ethernet/altera/altera_tse_main.c alt_tse_mac_link_up() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 8
LOCK2 &pl->phydev_mutex
LOCK2 &pl->state_mutex
HALF_LOCKED2 &phy->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct phylink)->phydev_mutex
TYPE_LOCK (struct phylink)->state_mutex

drivers/net/ethernet/altera/altera_tse_main.c altera_tse_mdio_read() -> csrrd32()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 offs 648-262780[c]
HALF_LOCKED2 &bus->mdio_lock
HALF_LOCKED2 &priv->bus->mdio_lock

drivers/net/ethernet/altera/altera_tse_main.c init_mac() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 8
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &priv->mac_cfg_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct altera_tse_private)->mac_cfg_lock

drivers/net/ethernet/altera/altera_tse_main.c reset_mac() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 8
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &priv->mac_cfg_lock
HALF_LOCKED2 &priv->tx_lock
TYPE_LOCK (struct altera_tse_private)->mac_cfg_lock

drivers/net/ethernet/altera/altera_tse_main.c reset_mac() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 8
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &priv->mac_cfg_lock
HALF_LOCKED2 &priv->tx_lock
TYPE_LOCK (struct altera_tse_private)->mac_cfg_lock

drivers/net/ethernet/altera/altera_tse_main.c tse_set_mac() -> csrrd32()

Type Parameter Key Value
PARAM_VALUE 1 offs 8
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &priv->mac_cfg_lock
TYPE_LOCK (struct altera_tse_private)->mac_cfg_lock