Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/dsa/netc/netc_main.c netc_port_mac_rx_enable() -> netc_mac_port_rmw()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->dp 4096-ptr_max
PARAM_VALUE 0 np->iobase 4096-ptr_max
PARAM_VALUE 0 np->switch_priv 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->info 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 np->switch_priv->ntmp.dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 np->switch_priv->ntmp.dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_uses_io_tlb 1
PARAM_VALUE 1 reg 4104
PARAM_VALUE 2 mask 2
PARAM_VALUE 3 val 2
DATA_SOURCE 0 np $0
RX_PATH
NOCHECK_CALL
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/dsa/netc/netc_main.c netc_port_mac_tx_enable() -> netc_mac_port_rmw()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->dp 4096-ptr_max
PARAM_VALUE 0 np->switch_priv 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->info 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 np->switch_priv->ntmp.dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 np->switch_priv->ntmp.dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_uses_io_tlb 1
PARAM_VALUE 1 reg 4104
PARAM_VALUE 2 mask 1
PARAM_VALUE 3 val 1
DATA_SOURCE 0 np $0
NOCHECK_CALL
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/dsa/netc/netc_main.c netc_port_mac_tx_graceful_stop() -> netc_mac_port_rmw()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->caps.pseudo_link 0
PARAM_VALUE 0 np->iobase 4096-ptr_max
PARAM_VALUE 1 reg 4104
PARAM_VALUE 2 mask 1
PARAM_VALUE 3 val 0
DATA_SOURCE 0 np $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pl->state_mutex
HALF_LOCKED2 global &dsa2_mutex

drivers/net/dsa/netc/netc_main.c netc_port_set_mac_mode() -> netc_mac_port_rmw()

Type Parameter Key Value
PARAM_VALUE 1 reg 4864
PARAM_VALUE 2 mask 15
PARAM_VALUE 3 val 0-1,3-5,9
DATA_SOURCE 0 np $0
FUZZY_MAX 3 val 0
NOCHECK_CALL

drivers/net/dsa/netc/netc_main.c netc_port_set_rgmii_mac() -> netc_mac_port_rmw()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 reg 4864
PARAM_VALUE 2 mask 24656
PARAM_VALUE 3 val 0,64,8192-24640
DATA_SOURCE 0 np $0
BIT_INFO 3 val 0x0,0x6040
NOCHECK_CALL
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/dsa/netc/netc_main.c netc_port_set_rmii_mii_mac() -> netc_mac_port_rmw()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 reg 4864
PARAM_VALUE 2 mask 24656
PARAM_VALUE 3 val 0,16,64,80
DATA_SOURCE 0 np $0
FUZZY_MAX 3 val 0
BIT_INFO 3 val 0x0,0x50
NOCHECK_CALL
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/dsa/netc/netc_main.c netc_port_set_rx_pause() -> netc_mac_port_rmw()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->dp 4096-ptr_max
PARAM_VALUE 0 np->switch_priv 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->info 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 np->switch_priv->ntmp.dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 np->switch_priv->ntmp.dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 np->switch_priv->ntmp.dev->dma_uses_io_tlb 1
PARAM_VALUE 1 reg 4104
PARAM_VALUE 2 mask 256
PARAM_VALUE 3 val 0,256
DATA_SOURCE 0 np $0
FUZZY_MAX 3 val 256
BIT_INFO 3 val 0x0,0x100
HARD_MAX 3 val 256
RX_PATH
NOCHECK_CALL
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