Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/dsa/yt921x.c yt921x_chip_setup() -> yt921x_reg_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->cycle_ns 6-8
PARAM_VALUE 0 priv->ds.dev 4096-ptr_max
PARAM_VALUE 0 priv->ds.dev->bus 0,4096-ptr_max
PARAM_VALUE 0 priv->ds.dev->class 0,4096-ptr_max
PARAM_VALUE 0 priv->ds.dev->driver 0,4096-ptr_max
PARAM_VALUE 0 priv->info 8861186243555409920-ptr_max
PARAM_VALUE 0 priv->info->external_mask 0,512,768
PARAM_VALUE 0 priv->info->extmode 0,2-3
PARAM_VALUE 0 priv->info->internal_mask 0,10,31,255
PARAM_VALUE 0 priv->info->major 0,36865-36866
PARAM_VALUE 0 priv->info->mode 0-3
PARAM_VALUE 0 priv->info->name 1314475352585363456,4047145576605646848,4911241705811644416,5715113067734200320,6270003553304985600,8096260999721975808,8388733533102460928
PARAM_VALUE 0 priv->reg_ctx->addr s32min-31
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 priv->reg_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 priv->reg_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 priv->reg_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 priv->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 priv->reg_ops 4096-ptr_max
PARAM_VALUE 0 priv->reg_ops->read 4096-ptr_max
PARAM_VALUE 1 reg 524292
PARAM_VALUE 2 mask 22
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &priv->reg_lock
HALF_LOCKED2 global &dsa2_mutex
TYPE_LOCK (struct yt921x_priv)->reg_lock

drivers/net/dsa/yt921x.c yt921x_chip_setup() -> yt921x_reg_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->cycle_ns 6-8
PARAM_VALUE 0 priv->ds.dev 4096-ptr_max
PARAM_VALUE 0 priv->ds.dev->bus 0,4096-ptr_max
PARAM_VALUE 0 priv->ds.dev->class 0,4096-ptr_max
PARAM_VALUE 0 priv->ds.dev->driver 0,4096-ptr_max
PARAM_VALUE 0 priv->ds.dst 4096-ptr_max
PARAM_VALUE 0 priv->info 8861186243555409920-ptr_max
PARAM_VALUE 0 priv->info->external_mask 0,512,768
PARAM_VALUE 0 priv->info->extmode 0,2-3
PARAM_VALUE 0 priv->info->internal_mask 0,10,31,255
PARAM_VALUE 0 priv->info->major 0,36865-36866
PARAM_VALUE 0 priv->info->mode 0-3
PARAM_VALUE 0 priv->info->name 1314475352585363456,4047145576605646848,4911241705811644416,5715113067734200320,6270003553304985600,8096260999721975808,8388733533102460928
PARAM_VALUE 0 priv->reg_ctx->addr s32min-31
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 priv->reg_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 priv->reg_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 priv->reg_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 priv->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 priv->reg_ops 4096-ptr_max
PARAM_VALUE 0 priv->reg_ops->read 4096-ptr_max
PARAM_VALUE 0 priv->reg_ops->write 4096-ptr_max
PARAM_VALUE 1 reg 525164
PARAM_VALUE 2 mask 262144
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &priv->reg_lock
HALF_LOCKED2 global &dsa2_mutex
TYPE_LOCK (struct yt921x_priv)->reg_lock

drivers/net/dsa/yt921x.c yt921x_isolate() -> yt921x_reg_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->reg_ctx->addr s32min-31
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 priv->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 priv->reg_ops 4096-ptr_max
PARAM_VALUE 0 priv->reg_ops->read 4096-ptr_max
PARAM_VALUE 0 priv->reg_ops->write 4096-ptr_max
PARAM_VALUE 1 reg 1573524-1573564
DATA_SOURCE 0 priv $0
LOCK2 0 &priv->reg_lock
TYPE_LOCK (struct yt921x_priv)->reg_lock

drivers/net/dsa/yt921x.c yt921x_port_config() -> yt921x_reg_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 reg 524328
DATA_SOURCE 0 priv $0
LOCK2 0 &priv->reg_lock
TYPE_LOCK (struct yt921x_priv)->reg_lock

drivers/net/dsa/yt921x.c yt921x_port_up() -> yt921x_reg_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->reg_ctx->addr s32min-31
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 priv->reg_ops 4096-ptr_max
PARAM_VALUE 0 priv->reg_ops->read 4096-ptr_max
PARAM_VALUE 0 priv->reg_ops->write 4096-ptr_max
PARAM_VALUE 1 reg 525312-525320
PARAM_VALUE 2 mask 524288
DATA_SOURCE 0 priv $0
LOCK2 &pl->phydev_mutex
LOCK2 &pl->state_mutex
LOCK2 0 &priv->reg_lock
HALF_LOCKED2 &phy->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct phylink)->phydev_mutex
TYPE_LOCK (struct phylink)->state_mutex
TYPE_LOCK (struct yt921x_priv)->reg_lock

drivers/net/dsa/yt921x.c yt921x_pvid_clear() -> yt921x_reg_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->ds.dst 4096-ptr_max
PARAM_VALUE 0 priv->reg_ctx->addr s32min-31
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 priv->reg_ops 4096-ptr_max
PARAM_VALUE 0 priv->reg_ops->read 4096-ptr_max
PARAM_VALUE 2 mask 1
CAPPED_DATA 0 &priv->ds 1
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 reg 2293892-2294904[c]
LOCK2 0 &priv->reg_lock
HALF_LOCKED2 &dp->vlans_lock
TYPE_LOCK (struct yt921x_priv)->reg_lock

drivers/net/dsa/yt921x.c yt921x_userport_standalone() -> yt921x_reg_set_bits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->reg_ctx->addr s32min-31
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 priv->reg_ctx->bus->mdio_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->reg_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 priv->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->reg_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->reg_lock.wait_lock.owner (-1)
PARAM_VALUE 0 priv->reg_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 priv->reg_ops 4096-ptr_max
PARAM_VALUE 0 priv->reg_ops->write 4096-ptr_max
PARAM_VALUE 2 mask 131072
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &priv->reg_lock
HALF_LOCKED2 global &dsa2_mutex
TYPE_LOCK (struct yt921x_priv)->reg_lock