Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/can/m_can/m_can.c __m_can_get_berr_counter() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/m_can/m_can.c m_can_cccr_update_bits() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->write_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | *cdev->net->name | 0-255 |
| PARAM_VALUE | 1 | reg | 24 |
| BUF_SIZE | 0 | cdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdev->can.bittiming_const | (-1),48 |
| BUF_SIZE | 0 | cdev->can.fd.data_bittiming_const | (-1),48 |
| BUF_SIZE | 0 | cdev->cclk | (-1),1-s32max |
| BUF_SIZE | 0 | cdev->dev | (-1),1616 |
| BUF_SIZE | 0 | cdev->ops | (-1),56 |
| BUF_SIZE | 0 | cdev->rst | (-1),8,280 |
| BUF_SIZE | 0 | cdev->tx_ops | (-1),104-26520 |
| DATA_SOURCE | 0 | cdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cdev->tx_fifo_putidx | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | cdev->net->irq | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->irq | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->tx_queue_len |
drivers/net/can/m_can/m_can.c m_can_cccr_update_bits() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->write_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | *cdev->net->name | 0-255 |
| PARAM_VALUE | 1 | reg | 24 |
| BUF_SIZE | 0 | cdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdev->can.bittiming_const | (-1),48 |
| BUF_SIZE | 0 | cdev->can.fd.data_bittiming_const | (-1),48 |
| BUF_SIZE | 0 | cdev->cclk | (-1),1-s32max |
| BUF_SIZE | 0 | cdev->dev | (-1),1616 |
| BUF_SIZE | 0 | cdev->ops | (-1),56 |
| BUF_SIZE | 0 | cdev->rst | (-1),8,280 |
| BUF_SIZE | 0 | cdev->tx_ops | (-1),104-26520 |
| DATA_SOURCE | 0 | cdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cdev->tx_fifo_putidx | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | cdev->net->irq | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->irq | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->tx_queue_len |
drivers/net/can/m_can/m_can.c m_can_check_core_release() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->hrtimer._softexpires | 0 |
| PARAM_VALUE | 0 | cdev->hrtimer.base | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->hrtimer.function | 1-u64max |
| PARAM_VALUE | 0 | cdev->hrtimer.is_hard | 0 |
| PARAM_VALUE | 0 | cdev->hrtimer.is_lazy | 0 |
| PARAM_VALUE | 0 | cdev->hrtimer.is_queued | 0 |
| PARAM_VALUE | 0 | cdev->hrtimer.is_rel | 0 |
| PARAM_VALUE | 0 | cdev->hrtimer.is_soft | 0 |
| PARAM_VALUE | 0 | cdev->hrtimer.node.expires | 0 |
| PARAM_VALUE | 0 | cdev->hrtimer.node.node.next | 0 |
| PARAM_VALUE | 0 | cdev->hrtimer.node.node.node.rb_left | 0 |
| PARAM_VALUE | 0 | cdev->hrtimer.node.node.node.rb_right | 0 |
| PARAM_VALUE | 0 | cdev->hrtimer.node.node.prev | 0 |
| PARAM_VALUE | 0 | cdev->mcfg | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->net | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->net->ml_priv_type | 1 |
| PARAM_VALUE | 0 | cdev->ops | 1157739293410570240,8026893639898202112,8395941535299334144 |
| PARAM_VALUE | 0 | cdev->pinctrl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdev->pm_clock_support | 0-1 |
| PARAM_VALUE | 0 | cdev->pm_wake_source | 0-1 |
| PARAM_VALUE | 0 | cdev->rst | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdev->rst->acquired | 0-1 |
| PARAM_VALUE | 0 | cdev->rst->array | 0-1 |
| PARAM_VALUE | 0 | cdev->rst->rcdev | 0-s64max |
| PARAM_VALUE | 0 | cdev->rst->shared | 0-1 |
| PARAM_VALUE | 0 | cdev->tx_fifo_size | 1-255 |
| PARAM_VALUE | 0 | *cdev->net->name | 0 |
| PARAM_VALUE | 1 | reg | 0 |
| BUF_SIZE | 0 | cdev->cclk | (-1),1-s32max |
| BUF_SIZE | 0 | cdev->dev | 1616 |
| BUF_SIZE | 0 | cdev->ops | 56 |
| BUF_SIZE | 0 | cdev->rst | (-1),8,280 |
| BUF_SIZE | 0 | cdev->tx_ops | (-1),104-26520 |
| CAPPED_DATA | 0 | cdev->rst->rcdev | 1 |
| CAPPED_DATA | 0 | cdev->tx_fifo_size | 1 |
| DATA_SOURCE | 0 | cdev | $0 |
| HARD_MAX | 0 | cdev->pm_clock_support | 1 |
| MEM_ZERO | 0 | &cdev->hrtimer | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | cdev->net->irq | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->irq | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | cdev->offload.dev->tx_queue_len |
drivers/net/can/m_can/m_can.c m_can_chip_config() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->mcfg | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 24 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
drivers/net/can/m_can/m_can.c m_can_chip_config() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->mcfg | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
drivers/net/can/m_can/m_can.c m_can_do_rx_poll() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 164 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/m_can/m_can.c m_can_echo_tx_event() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 244 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/m_can/m_can.c m_can_get_timestamp() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->is_peripheral | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | cdev->ops->clear_interrupts | 0,4623121929683243008 |
| PARAM_VALUE | 0 | cdev->ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 36 |
| DATA_SOURCE | 0 | cdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cdev->irqstatus | 1-u32max |
drivers/net/can/m_can/m_can.c m_can_handle_state_change() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->write_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | *cdev->net->name | 0-255 |
| PARAM_VALUE | 1 | reg | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/m_can/m_can.c m_can_interrupt_handler() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 80 |
| DATA_SOURCE | 0 | cdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |
drivers/net/can/m_can/m_can.c m_can_interrupt_handler() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->irq_edge_triggered | 1 |
| PARAM_VALUE | 0 | cdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 80 |
| DATA_SOURCE | 0 | cdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |
drivers/net/can/m_can/m_can.c m_can_poll() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 80 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/can/m_can/m_can.c m_can_rx_handler() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->version | s32min-31 |
| PARAM_VALUE | 1 | reg | 64 |
| FUZZY_MAX | 0 | cdev->version | 31 |
| HARD_MAX | 0 | cdev->version | 31 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/m_can/m_can.c m_can_rx_handler() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->active_interrupts | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->can.can_stats.bus_off | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->can.can_stats.error_passive | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->can.can_stats.error_warning | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->can.state | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.prev->csum | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.prev->data_len | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.prev->end | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.prev->hash | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.prev->len | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.prev->mark | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.prev->napi_id | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.prev->priority | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.prev->reserved_tailroom | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.prev->secmark | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.prev->sender_cpu | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.prev->tail | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.prev->truesize | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.prev->vlan_all | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->offload.skb_irq_queue.qlen | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 68 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/m_can/m_can.c m_can_start() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->active_interrupts | 0 |
| PARAM_VALUE | 0 | cdev->can.state | 0-3 |
| PARAM_VALUE | 0 | cdev->hrtimer.base->active.rb_root.rb_leftmost->node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | cdev->hrtimer.is_rel | 0 |
| PARAM_VALUE | 0 | cdev->hrtimer.node.node.node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | cdev->hrtimer.node.node.node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->hrtimer.node.node.node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->net | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->write_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->version | 31-s32max |
| PARAM_VALUE | 0 | *cdev->net->name | 0 |
| PARAM_VALUE | 1 | reg | 196 |
| FUZZY_MAX | 0 | cdev->version | 31 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/m_can/m_can.c m_can_state_get_by_psr() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cdev->ops->init | 0,8359077795155763200 |
| PARAM_VALUE | 1 | reg | 68 |
| BUF_SIZE | 0 | cdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cdev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | cdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | cdev | unit_byte |
drivers/net/can/m_can/m_can.c m_can_tx_handler() -> m_can_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->can.ctrlmode | 32-u32max |
| PARAM_VALUE | 0 | cdev->net | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->ops->write_fifo | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->version | 30 |
| PARAM_VALUE | 1 | reg | 24 |
| DATA_SOURCE | 0 | cdev | $0 |
| BIT_INFO | 0 | cdev->can.ctrlmode | 0x20,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |