Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_chip_start() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->can.bittiming.phase_seg1 | 0-63 |
| PARAM_VALUE | 0 | priv->can.bittiming.prop_seg | 0-4294967295 |
| PARAM_VALUE | 0 | priv->can.fd.data_bittiming.phase_seg1 | 0-63 |
| PARAM_VALUE | 0 | priv->can.fd.data_bittiming.prop_seg | 0-4294967295 |
| PARAM_VALUE | 0 | priv->can.state | 4 |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->txb_head | 0 |
| PARAM_VALUE | 0 | priv->txb_prio | 19088743 |
| PARAM_VALUE | 0 | priv->txb_tail | 0 |
| PARAM_VALUE | 0 | priv->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_chip_stop() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ndev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &ndev->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_err_interrupt() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 124 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_get_rec_tec() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 48 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_get_tx_status() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 112 |
| DATA_SOURCE | 0 | priv | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &priv->tx_lock |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_interrupt() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv->can.can_stats.arbitration_lost | 0-4294967295 |
| PARAM_VALUE | 0 | priv->can.can_stats.bus_error | 0-4294967295 |
| PARAM_VALUE | 0 | priv->can.can_stats.bus_off | 0-4294967295 |
| PARAM_VALUE | 0 | priv->can.can_stats.error_passive | 0-4294967295 |
| PARAM_VALUE | 0 | priv->can.can_stats.error_warning | 0-4294967295 |
| PARAM_VALUE | 0 | priv->can.state | 0-4294967295 |
| PARAM_VALUE | 0 | priv->txb_prio | 0-4294967295 |
| PARAM_VALUE | 0 | priv->txb_tail | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_probe_common() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->can.bittiming_const | 6331847391241453568 |
| PARAM_VALUE | 0 | priv->can.ctrlmode_supported | 251 |
| PARAM_VALUE | 0 | priv->can.do_get_berr_counter | 7489637884825096192 |
| PARAM_VALUE | 0 | priv->can.do_set_bittiming | 6867497615778308096 |
| PARAM_VALUE | 0 | priv->can.do_set_mode | 5375511546510610432 |
| PARAM_VALUE | 0 | priv->can.fd.data_bittiming_const | 2008430507552968704 |
| PARAM_VALUE | 0 | priv->can.fd.do_set_data_bittiming | 8248618300248641536 |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->mem_base | 4096-u64max |
| PARAM_VALUE | 0 | priv->ntxbufs | 4 |
| PARAM_VALUE | 0 | priv->peers_on_pdev.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->peers_on_pdev.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->peers_on_pdev.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 3856403501519286272 |
| PARAM_VALUE | 0 | priv->write_reg | 3341168408647401472 |
| PARAM_VALUE | 1 | reg | 0 |
| BUF_SIZE | 0 | priv->can.bittiming_const | 48 |
| BUF_SIZE | 0 | priv->can.fd.data_bittiming_const | 48 |
| BUF_SIZE | 0 | priv->can_clk | (-1),1-s32max |
| BUF_SIZE | 0 | priv->dev | 1616 |
| TERMINATED | 0 | priv->refcnt_tracker.class | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_probe_common() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->can.bittiming_const | 6331847391241453568 |
| PARAM_VALUE | 0 | priv->can.ctrlmode_supported | 251 |
| PARAM_VALUE | 0 | priv->can.do_get_berr_counter | 7489637884825096192 |
| PARAM_VALUE | 0 | priv->can.do_set_bittiming | 6867497615778308096 |
| PARAM_VALUE | 0 | priv->can.do_set_mode | 5375511546510610432 |
| PARAM_VALUE | 0 | priv->can.fd.data_bittiming_const | 2008430507552968704 |
| PARAM_VALUE | 0 | priv->can.fd.do_set_data_bittiming | 8248618300248641536 |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->mem_base | 4096-u64max |
| PARAM_VALUE | 0 | priv->ntxbufs | 4 |
| PARAM_VALUE | 0 | priv->peers_on_pdev.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->peers_on_pdev.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->peers_on_pdev.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 5862600389788254208 |
| PARAM_VALUE | 0 | priv->write_reg | 7534828858496765952 |
| PARAM_VALUE | 1 | reg | 0 |
| BUF_SIZE | 0 | priv->can.bittiming_const | 48 |
| BUF_SIZE | 0 | priv->can.fd.data_bittiming_const | 48 |
| BUF_SIZE | 0 | priv->can_clk | (-1),1-s32max |
| BUF_SIZE | 0 | priv->dev | 1616 |
| TERMINATED | 0 | priv->refcnt_tracker.class | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_read_fault_state() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 44 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_read_fault_state() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 48 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_read_rx_frame() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 108 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_read_rx_frame() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 108 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_read_rx_frame() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 108 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_read_rx_frame() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 108 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_read_rx_frame() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 108 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_reset() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_rx() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 108 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_rx_poll() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 104 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_rx_poll() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 104 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | priv->rxfrm_first_word | 0-4294967295 |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_rx_poll() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->rxfrm_first_word | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | priv->rxfrm_first_word | 0-4294967295 |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_set_btr() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ndev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &ndev->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_set_mode() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->can.bittiming.phase_seg1 | 0-63 |
| PARAM_VALUE | 0 | priv->can.fd.data_bittiming.phase_seg1 | 0-63 |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->txb_head | 0 |
| PARAM_VALUE | 0 | priv->txb_prio | 19088743 |
| PARAM_VALUE | 0 | priv->txb_tail | 0 |
| PARAM_VALUE | 0 | priv->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_set_secondary_sample_point() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ndev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &ndev->lock |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_start_xmit() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_start_xmit() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ntxbufs | 1-u32max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 8 |
| CAPPED_DATA | 0 | priv->echo_skb_max | 1 |
| CAPPED_DATA | 0 | priv->ntxbufs | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &priv->tx_lock | |
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct ctucan_priv)->tx_lock |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_tx_interrupt() -> ctucan_read32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->tx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->txb_prio | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 8 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &priv->tx_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ctucan_priv)->tx_lock |