Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/can/c_can/c_can_pci.c c_can_pci_read_reg32() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | index | 12,15,17-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | index | $1 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/c_can/c_can_pci.c c_can_pci_read_reg32() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | index | 13,16,18-2147483648 |
| DATA_SOURCE | 0 | priv | $0 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/c_can/c_can_platform.c c_can_plat_read_reg32() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | index | 12,15,17-s32max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | index | $1 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/c_can/c_can_platform.c c_can_plat_read_reg32() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | index | 13,16,18-2147483648 |
| DATA_SOURCE | 0 | priv | $0 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/c_can/c_can_main.c __c_can_get_berr_counter() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 3 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/c_can/c_can_main.c c_can_do_tx() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->msg_obj_tx_last | 0-32 |
| PARAM_VALUE | 1 | index | 35 |
| FUZZY_MAX | 0 | priv->msg_obj_tx_last | 32 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| HARD_MAX | 0 | priv->msg_obj_tx_last | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/can/c_can/c_can_main.c c_can_get_pending() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->msg_obj_rx_last | 0-16 |
| PARAM_VALUE | 1 | index | 32 |
| DATA_SOURCE | 0 | priv | $0 |
| FUZZY_MAX | 0 | priv->msg_obj_rx_last | 16 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| HARD_MAX | 0 | priv->msg_obj_rx_last | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/can/c_can/c_can_main.c c_can_handle_state_change() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 3 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/can/c_can/c_can_main.c c_can_irq_control() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | index | 0 |
| DATA_SOURCE | 0 | priv | $0 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | priv->last_status | 0-u16max |
drivers/net/can/c_can/c_can_main.c c_can_isr() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 5 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/net/can/c_can/c_can_main.c c_can_obj_update() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 8-19 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/c_can/c_can_main.c c_can_poll() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 2 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/can/c_can/c_can_main.c c_can_power_down() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 1 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/can/c_can/c_can_main.c c_can_power_down() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 2 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/can/c_can/c_can_main.c c_can_power_down() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 2 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/can/c_can/c_can_main.c c_can_power_up() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->power.request | 0-4 |
| PARAM_VALUE | 0 | priv->device->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | priv->device->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | priv->device->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->async | 0 |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *priv->raminit_sys->syscon->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | index | 1 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/can/c_can/c_can_main.c c_can_power_up() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->power.request | 0-4 |
| PARAM_VALUE | 0 | priv->device->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | priv->device->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | priv->device->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->async | 0 |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *priv->raminit_sys->syscon->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | index | 0 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/can/c_can/c_can_main.c c_can_power_up() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->power.request | 0-4 |
| PARAM_VALUE | 0 | priv->device->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | priv->device->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | priv->device->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->async | 0 |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *priv->raminit_sys->syscon->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | index | 2 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/can/c_can/c_can_main.c c_can_power_up() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->power.request | 0-4 |
| PARAM_VALUE | 0 | priv->device->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | priv->device->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | priv->device->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->async | 0 |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | priv->raminit_sys.syscon->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *priv->raminit_sys->syscon->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | index | 2 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/can/c_can/c_can_main.c c_can_read_msg_object() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->type | 0,2-u32max |
| PARAM_VALUE | 1 | index | 15-s32max |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/can/c_can/c_can_main.c c_can_read_objects() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 14 |
| DATA_SOURCE | 0 | priv | $1 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/can/c_can/c_can_main.c c_can_set_bittiming() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
drivers/net/can/c_can/c_can_main.c c_can_software_reset() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->type | 1 |
| PARAM_VALUE | 1 | index | 0 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
drivers/net/can/c_can/c_can_main.c c_can_software_reset() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->type | 1 |
| PARAM_VALUE | 1 | index | 0 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
drivers/net/can/c_can/c_can_main.c c_can_wait_for_ctrl_init() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| DATA_SOURCE | 0 | priv | $1 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
drivers/net/can/c_can/c_can_main.c c_can_wait_for_ctrl_init() -> (struct c_can_priv)->read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| DATA_SOURCE | 0 | priv | $1 |
| CONTAINER | 0 | -1232+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |