Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/mscc/ocelot.c
- drivers/net/ethernet/mscc/ocelot_io.c
- drivers/net/ethernet/mscc/ocelot_mm.c, line 152
Smatch caller information:
drivers/net/ethernet/mscc/ocelot.c ocelot_init_port() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tx_skbs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tx_skbs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tx_skbs.qlen | 0 |
| PARAM_VALUE | 1 | val | 1280 |
| PARAM_VALUE | 2 | reg | 218103820 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mscc/ocelot.c ocelot_init_port() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | port->tx_skbs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tx_skbs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tx_skbs.qlen | 0 |
| PARAM_VALUE | 0 | *port->target->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | val | 4163 |
| PARAM_VALUE | 2 | reg | 218103821 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mscc/ocelot.c ocelot_init_port() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | port->tx_skbs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tx_skbs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tx_skbs.qlen | 0 |
| PARAM_VALUE | 0 | *port->target->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | val | 67 |
| PARAM_VALUE | 2 | reg | 218103821 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mscc/ocelot.c ocelot_init_port() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | port->tx_skbs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tx_skbs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tx_skbs.qlen | 0 |
| PARAM_VALUE | 0 | *port->target->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | val | 2292711431 |
| PARAM_VALUE | 2 | reg | 218103818 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mscc/ocelot.c ocelot_init_port() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | port->tx_skbs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tx_skbs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tx_skbs.qlen | 0 |
| PARAM_VALUE | 0 | *port->target->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | val | 0 |
| PARAM_VALUE | 2 | reg | 218103824 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mscc/ocelot.c ocelot_init_port() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | port->tx_skbs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tx_skbs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->tx_skbs.qlen | 0 |
| PARAM_VALUE | 0 | *port->target->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | val | 0 |
| PARAM_VALUE | 2 | reg | 218103823 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mscc/ocelot.c ocelot_phylink_mac_config() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | val | 1 |
| PARAM_VALUE | 2 | reg | 218103809 |
| NOCHECK_CALL |
drivers/net/ethernet/mscc/ocelot.c ocelot_phylink_mac_config() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | *port->target->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | val | 1 |
| PARAM_VALUE | 2 | reg | 218103830 |
| NOCHECK_CALL |
drivers/net/ethernet/mscc/ocelot.c ocelot_phylink_mac_config() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | *port->target->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | val | 256 |
| PARAM_VALUE | 2 | reg | 218103831 |
| NOCHECK_CALL |
drivers/net/ethernet/mscc/ocelot.c ocelot_phylink_mac_config() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | *port->target->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | val | 1 |
| PARAM_VALUE | 2 | reg | 218103829 |
| NOCHECK_CALL |
drivers/net/ethernet/mscc/ocelot.c ocelot_phylink_mac_config() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | *port->target->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | val | 0 |
| PARAM_VALUE | 2 | reg | 218103832 |
| NOCHECK_CALL |
drivers/net/ethernet/mscc/ocelot.c ocelot_phylink_mac_config() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | *port->target->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | val | 0 |
| PARAM_VALUE | 2 | reg | 218103834 |
| NOCHECK_CALL |
drivers/net/ethernet/mscc/ocelot.c ocelot_phylink_mac_link_up() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0-1,16-17 |
| PARAM_VALUE | 2 | reg | 218103816 |
| BIT_INFO | 1 | val | 0x0,0x11 |
| 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/ethernet/mscc/ocelot.c ocelot_phylink_mac_link_up() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | *port->target->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | val | 0-3 |
| PARAM_VALUE | 2 | reg | 218103808 |
| 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/ethernet/mscc/ocelot.c ocelot_phylink_mac_link_up() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | port->target->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | *port->target->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | val | 17 |
| PARAM_VALUE | 2 | reg | 218103815 |
| 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/ethernet/mscc/ocelot.c ocelot_port_set_maxlen() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | reg | 218103817 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | val | 0-s32max[c] |
drivers/net/ethernet/mscc/ocelot_mm.c ocelot_mm_update_port_status() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target | 4096-ptr_max |
| PARAM_VALUE | 0 | *port->target->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | val | 16,4096,4112,65536,65552,69632,69648 |
| PARAM_VALUE | 2 | reg | 218103828 |
| BIT_INFO | 1 | val | 0x0,0x11010 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ocelot->fwd_domain_lock | ||
| TYPE_LOCK | (struct ocelot)->fwd_domain_lock |
drivers/net/ethernet/mscc/ocelot_io.c ocelot_port_rmwl() -> ocelot_port_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | port->target | 4096-ptr_max |
| PARAM_VALUE | 0 | *port->target->cache->data | 0-4294967295 |
| PARAM_VALUE | 2 | reg | 218103808,218103815,218103826-218103827 |
| CAPPED_DATA | 1 | val | 1 |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 2 | reg | $3 |
| HARD_MAX | 2 | reg | 218103827 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ocelot->fwd_domain_lock |