Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/dsa/netc/netc_main.c netc_port_default_config() -> netc_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->dp->type | 1 |
| PARAM_VALUE | 1 | reg | 1280 |
| PARAM_VALUE | 2 | mask | 536870912 |
| PARAM_VALUE | 3 | val | 536870912 |
| DATA_SOURCE | 0 | np | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/netc/netc_main.c netc_port_fixed_config() -> netc_port_rmw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 84 |
| PARAM_VALUE | 2 | mask | 3 |
| PARAM_VALUE | 3 | val | 3 |
| DATA_SOURCE | 0 | np | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/netc/netc_main.c netc_port_fixed_config() -> netc_port_rmw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->iobase | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 16 |
| PARAM_VALUE | 2 | mask | 48 |
| PARAM_VALUE | 3 | val | 48 |
| DATA_SOURCE | 0 | np | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/dsa/netc/netc_main.c netc_port_mac_rx_enable() -> netc_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 | 256 |
| PARAM_VALUE | 2 | mask | 2 |
| PARAM_VALUE | 3 | val | 0 |
| 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_rx_graceful_stop() -> netc_port_rmw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->caps.pmac | 1 |
| PARAM_VALUE | 0 | np->caps.pseudo_link | 0 |
| PARAM_VALUE | 1 | reg | 5128 |
| PARAM_VALUE | 2 | mask | 2 |
| 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_mac_rx_graceful_stop() -> netc_port_rmw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->caps.pseudo_link | 0 |
| PARAM_VALUE | 1 | reg | 4104 |
| PARAM_VALUE | 2 | mask | 2 |
| 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_mac_rx_graceful_stop() -> netc_port_rmw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->iobase | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 256 |
| PARAM_VALUE | 2 | mask | 2 |
| PARAM_VALUE | 3 | val | 2 |
| 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_mac_tx_enable() -> netc_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 | 256 |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | val | 0 |
| 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_port_rmw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->iobase | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 256 |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | val | 1 |
| 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_mlo() -> netc_port_rmw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np->switch_priv->info->num_ports | 4 |
| PARAM_VALUE | 0 | np->switch_priv->ntmp.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | reg | 1280 |
| PARAM_VALUE | 2 | mask | 7340032 |
| PARAM_VALUE | 3 | val | 0,1048576-7340032 |
| DATA_SOURCE | 0 | np | $0 |
| BIT_INFO | 3 | val | 0x0,0x700000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/dsa/netc/netc_main.c netc_port_set_pvid() -> netc_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->info->num_ports | 4 |
| PARAM_VALUE | 0 | np->switch_priv->ntmp.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | reg | 1296 |
| PARAM_VALUE | 2 | mask | 4095 |
| DATA_SOURCE | 0 | np | $0 |
| DATA_SOURCE | 3 | val | $1 |
| NOSPEC | 3 | val | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | val | unit_array_size |
drivers/net/dsa/netc/netc_main.c netc_port_set_speed() -> netc_port_rmw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 16 |
| PARAM_VALUE | 2 | mask | 1073676288 |
| PARAM_VALUE | 3 | val | 0,65536-1073676288 |
| DATA_SOURCE | 0 | np | $0 |
| BIT_INFO | 3 | val | 0x0,0x3fff0000 |
| 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_vlan_aware() -> netc_port_rmw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->switch_priv->info->num_ports | 4 |
| PARAM_VALUE | 0 | np->switch_priv->ntmp.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | reg | 1296 |
| PARAM_VALUE | 2 | mask | 16777216 |
| PARAM_VALUE | 3 | val | 0,16777216 |
| DATA_SOURCE | 0 | np | $0 |
| FUZZY_MAX | 3 | val | 16777216 |
| BIT_INFO | 3 | val | 0x0,0x1000000 |
| HARD_MAX | 3 | val | 16777216 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |