Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/dsa/lan9303-core.c lan9303_alr_loop() -> lan9303_read_switch_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->alr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->alr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->alr_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->alr_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->alr_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | chip->indirect_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | chip->indirect_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | *chip->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | regnum | 6149 |
| PARAM_VALUE | 2 | val | 4822990180764831744 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &chip->alr_mutex | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | 0 | &chip->alr_mutex | |
| TYPE_LOCK | (struct lan9303)->alr_mutex |
drivers/net/dsa/lan9303-core.c lan9303_alr_loop() -> lan9303_read_switch_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->alr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->alr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->alr_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->alr_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->alr_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | chip->indirect_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | chip->indirect_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | chip->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *chip->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | regnum | 6150 |
| PARAM_VALUE | 2 | val | 1843903533279571968 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &chip->alr_mutex | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | 0 | &chip->alr_mutex | |
| TYPE_LOCK | (struct lan9303)->alr_mutex |
drivers/net/dsa/lan9303-core.c lan9303_csr_reg_wait() -> lan9303_read_switch_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->alr_cache->stp_override | 0-1 |
| PARAM_VALUE | 0 | chip->alr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->alr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->alr_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->alr_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->alr_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | chip->alr_mutex.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->indirect_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | chip->indirect_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | chip->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *chip->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | regnum | 6152 |
| PARAM_VALUE | 2 | val | 2395213005278011392 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | regnum | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | 0 | &chip->alr_mutex | |
| TYPE_LOCK | (struct lan9303)->alr_mutex |
drivers/net/dsa/lan9303-core.c lan9303_read_switch_port() -> lan9303_read_switch_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | 5710911716074958848 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 2 | val | $3 |
| UNITS | 0 | chip | unit_byte |
drivers/net/dsa/lan9303-core.c lan9303_write_switch_reg_mask() -> lan9303_read_switch_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->alr_cache->port_map | 0-255 |
| PARAM_VALUE | 0 | chip->alr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | chip->alr_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | chip->alr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->indirect_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->indirect_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | chip->indirect_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | chip->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | chip->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | chip->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *chip->alr_cache->mac_addr | 0-255 |
| PARAM_VALUE | 0 | *chip->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | regnum | 6208 |
| PARAM_VALUE | 2 | val | 3112791659218755584 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | regnum | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | chip | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex |