Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt7996/mmio.c mt7996_memcpy_fromio() -> __mt7996_reg_remap_addr()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->coredump.crash_data->guid->b 0-255
PARAM_VALUE 0 dev->coredump.crash_data->memdump_buf_len 1-u64max
PARAM_VALUE 0 dev->coredump.crash_data->timestamp.tv_nsec 0-999999999
PARAM_VALUE 0 dev->dump_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->dump_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->dump_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->dump_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->dump_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->dump_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 dev->dump_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 addr 4194304,8388608,9437184,35651584,3758096384,3759538176
CAPPED_DATA 0 dev->reg.map_size 1
CAPPED_DATA 1 addr 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 addr $2
PREEMPT_ADD <- disables preempt
LOCK2 bh
LOCK2 0 &dev->dump_mutex
LOCK2 0 &dev->reg_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mt7996_dev)->dump_mutex
TYPE_LOCK (struct mt7996_dev)->reg_lock

drivers/net/wireless/mediatek/mt76/mt7996/mmio.c mt7996_rmw() -> __mt7996_reg_remap_addr()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus_ops 4096-ptr_max
PARAM_VALUE 0 dev->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 addr 1048576-u32max
DATA_SOURCE 1 addr $1
PREEMPT_ADD <- disables preempt
LOCK2 bh
LOCK2 0 &dev->reg_lock
TYPE_LOCK (struct mt7996_dev)->reg_lock

drivers/net/wireless/mediatek/mt76/mt7996/mmio.c mt7996_rr() -> __mt7996_reg_remap_addr()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus_ops 4096-ptr_max
PARAM_VALUE 0 dev->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 addr 1048576-u32max
DATA_SOURCE 1 addr $1
PREEMPT_ADD <- disables preempt
LOCK2 bh
LOCK2 0 &dev->reg_lock
TYPE_LOCK (struct mt7996_dev)->reg_lock

drivers/net/wireless/mediatek/mt76/mt7996/mmio.c mt7996_wr() -> __mt7996_reg_remap_addr()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus_ops 4096-ptr_max
PARAM_VALUE 0 dev->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 addr 1048576-u32max
DATA_SOURCE 1 addr $1
PREEMPT_ADD <- disables preempt
LOCK2 bh
LOCK2 0 &dev->reg_lock
TYPE_LOCK (struct mt7996_dev)->reg_lock