Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/dsa/qca/qca8k-8xxx.c qca8k_pcs_config() -> qca8k_read()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 0 priv->regmap->async 0
PARAM_VALUE 0 priv->regmap->cache_dirty 1
PARAM_VALUE 1 reg 224
PARAM_VALUE 2 val 5606497003693785088
PARAM_VALUE 2 *val 0,128
CAPPED_DATA 0 priv->regmap->precious_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 priv->regmap->volatile_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->volatile_table->n_yes_ranges 1
CAPPED_DATA 0 priv->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->wr_table->n_yes_ranges 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 priv unit_byte
HALF_LOCKED2 &pl->state_mutex

drivers/net/dsa/qca/qca8k-8xxx.c qca8k_pcs_get_state() -> qca8k_read()

Type Parameter Key Value
PARAM_VALUE 2 val 8103200979239182336
RX_PATH
TASK_NOT_RUNNING
UNITS 0 priv unit_byte
HALF_LOCKED2 &pl->phydev_mutex
HALF_LOCKED2 &pl->state_mutex

drivers/net/dsa/qca/qca8k-common.c qca8k_fdb_access() -> qca8k_read()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->pcs_port_0.pcs.ops->pcs_config 4096-ptr_max
PARAM_VALUE 0 priv->pcs_port_0.pcs.ops->pcs_disable 0,4096-ptr_max
PARAM_VALUE 0 priv->pcs_port_0.pcs.ops->pcs_enable 0,882469192621125632,2225374997799215104,5746304553853222912,6039528920517390336,7492205228752072704,7611999897762861056,8103286038180122624
PARAM_VALUE 0 priv->pcs_port_0.pcs.ops->pcs_get_state 0,4096-ptr_max
PARAM_VALUE 0 priv->pcs_port_0.pcs.ops->pcs_link_up 0,4096-ptr_max
PARAM_VALUE 0 priv->pcs_port_0.pcs.ops->pcs_pre_init 0,6644777775813443584
PARAM_VALUE 0 priv->pcs_port_0.pcs.ops->pcs_validate 0,8046614897622237184,8661479772358451200
PARAM_VALUE 0 priv->pcs_port_6.pcs.ops->pcs_config 4096-ptr_max
PARAM_VALUE 0 priv->pcs_port_6.pcs.ops->pcs_disable 0,4096-ptr_max
PARAM_VALUE 0 priv->pcs_port_6.pcs.ops->pcs_enable 0,882469192621125632,2225374997799215104,5746304553853222912,6039528920517390336,7492205228752072704,7611999897762861056,8103286038180122624
PARAM_VALUE 0 priv->pcs_port_6.pcs.ops->pcs_get_state 0,4096-ptr_max
PARAM_VALUE 0 priv->pcs_port_6.pcs.ops->pcs_link_up 0,4096-ptr_max
PARAM_VALUE 0 priv->pcs_port_6.pcs.ops->pcs_pre_init 0,6644777775813443584
PARAM_VALUE 0 priv->pcs_port_6.pcs.ops->pcs_validate 0,8046614897622237184,8661479772358451200
PARAM_VALUE 0 priv->reg_mutex.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 0 priv->regmap->async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 priv->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 priv->regmap->cache_dirty 1
PARAM_VALUE 0 *priv->regmap->cache->data 0-4294967295
PARAM_VALUE 1 reg 1548
PARAM_VALUE 2 val 7022831708775821312
PARAM_VALUE 2 *val 2147483649-2147483651,2147483653-2147483655
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
CAPPED_DATA 0 priv->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 priv $0
RX_PATH
UNITS 0 priv unit_byte
LOCK2 0 &priv->reg_mutex
HALF_LOCKED2 &dp->addr_lists_lock
TYPE_LOCK (struct qca8k_priv)->reg_mutex

drivers/net/dsa/qca/qca8k-common.c qca8k_get_ethtool_stats() -> qca8k_read()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->info 4096-ptr_max
PARAM_VALUE 0 priv->info->mib_count 1-255
PARAM_VALUE 0 priv->info->ops 4096-ptr_max
PARAM_VALUE 0 priv->info->ops->autocast_mib 4292904213535428608
PARAM_VALUE 2 val 3483704115474968576
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
UNITS 0 priv unit_byte

drivers/net/dsa/qca/qca8k-common.c qca8k_get_ethtool_stats() -> qca8k_read()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->info 4096-ptr_max
PARAM_VALUE 0 priv->info->mib_count 1-255
PARAM_VALUE 0 priv->info->ops 4096-ptr_max
PARAM_VALUE 0 priv->info->ops->autocast_mib 4292904213535428608
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 0 *priv->regmap->cache->data 0-4294967295
PARAM_VALUE 2 val 193195540986433536
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
UNITS 0 priv unit_byte

drivers/net/dsa/qca/qca8k-common.c qca8k_read_switch_id() -> qca8k_read()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev 4096-ptr_max
PARAM_VALUE 0 priv->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 priv->dev->driver 4096-ptr_max
PARAM_VALUE 0 priv->mdio_cache.page u16max
PARAM_VALUE 0 priv->regmap 0-ptr_max
PARAM_VALUE 0 priv->reset_gpio 0,4096-ptr_max
PARAM_VALUE 1 reg 0
PARAM_VALUE 2 val 2877146923696173056
BUF_SIZE 0 priv 12632
BUF_SIZE 0 priv->dev 1616
BUF_SIZE 0 priv->reset_gpio s32min,(-1),1-s32max
CAPPED_DATA 0 priv->reset_gpio 1
DATA_SOURCE 0 priv $0
MEM_ZERO 0 priv
RX_PATH
TASK_NOT_RUNNING

drivers/net/dsa/qca/qca8k-common.c qca8k_set_mac_eee() -> qca8k_read()

Type Parameter Key Value
PARAM_VALUE 0 priv->reg_mutex.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 reg 256
PARAM_VALUE 2 val 1583735143070285824
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
CAPPED_DATA 0 &priv->reg_mutex 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 priv unit_byte
LOCK2 0 &priv->reg_mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct qca8k_priv)->reg_mutex

drivers/net/dsa/qca/qca8k-common.c qca8k_vlan_access() -> qca8k_read()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 0 priv->regmap->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 priv->regmap->cache_dirty 1
PARAM_VALUE 0 *priv->regmap->cache->data 0-4294967295
PARAM_VALUE 1 reg 1556
PARAM_VALUE 2 val 1240841376518348800
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
CAPPED_DATA 0 priv->regmap->wr_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap->wr_table->n_yes_ranges 1
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *val 0-u32max[c][u]
UNITS 0 priv unit_byte
USER_PTR 2 val
LOCK2 0 &priv->reg_mutex
HALF_LOCKED2 &dp->vlans_lock
TYPE_LOCK (struct qca8k_priv)->reg_mutex

drivers/net/dsa/qca/qca8k-common.c qca8k_vlan_add() -> qca8k_read()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 1 reg 1552
PARAM_VALUE 2 val 93536387943182336
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
CAPPED_DATA 0 &priv->reg_mutex 1
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 priv unit_byte
LOCK2 0 &priv->reg_mutex
HALF_LOCKED2 &dp->vlans_lock
TYPE_LOCK (struct qca8k_priv)->reg_mutex

drivers/net/dsa/qca/qca8k-common.c qca8k_vlan_del() -> qca8k_read()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 priv->regmap 4096-ptr_max
PARAM_VALUE 1 reg 1552
PARAM_VALUE 2 val 7400729420625895424
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
CAPPED_DATA 0 &priv->reg_mutex 1
DATA_SOURCE 0 priv $0
UNITS 0 priv unit_byte
LOCK2 0 &priv->reg_mutex
HALF_LOCKED2 &dp->vlans_lock
TYPE_LOCK (struct qca8k_priv)->reg_mutex