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_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 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 | 1 | reg | 120 |
| PARAM_VALUE | 2 | val | 19088743 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_chip_start() -> ctucan_write32()
| 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->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 | 28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_chip_start() -> ctucan_write32()
| 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->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 | 20 |
| PARAM_VALUE | 2 | val | 3092,3188 |
| FUZZY_MAX | 2 | val | 3092 |
| BIT_INFO | 2 | val | 0xc14,0xc74 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_chip_start() -> ctucan_write32()
| 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 |
| BIT_INFO | 2 | val | 0x400000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_chip_stop() -> ctucan_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 24 |
| PARAM_VALUE | 2 | val | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_chip_stop() -> ctucan_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 28 |
| PARAM_VALUE | 2 | val | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_chip_stop() -> ctucan_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4 |
| PARAM_VALUE | 2 | val | 0-4290772991 |
| BIT_INFO | 2 | val | 0x0,0xffbfffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-4290772991[c] |
| 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_give_txtb_cmd() -> ctucan_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 116 |
| DATA_SOURCE | 0 | priv | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &priv->tx_lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct ctucan_priv)->tx_lock |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_interrupt() -> ctucan_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| 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->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->txb_prio | 0-4294967295 |
| PARAM_VALUE | 0 | priv->txb_tail | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 28 |
| PARAM_VALUE | 2 | val | 1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_interrupt() -> ctucan_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| 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->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->txb_prio | 0-4294967295 |
| PARAM_VALUE | 0 | priv->txb_tail | 0-4294967295 |
| PARAM_VALUE | 0 | priv->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 16 |
| PARAM_VALUE | 2 | val | 1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_interrupt() -> ctucan_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| 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->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->txb_prio | 0-4294967295 |
| PARAM_VALUE | 0 | priv->txb_tail | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 16 |
| PARAM_VALUE | 2 | val | 0,4-116 |
| BIT_INFO | 2 | val | 0x0,0x74 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0,4-116 |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_interrupt() -> ctucan_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| 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->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->txb_prio | 0-4294967295 |
| PARAM_VALUE | 0 | priv->txb_tail | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 24 |
| PARAM_VALUE | 2 | val | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_interrupt() -> ctucan_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| 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->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->txb_prio | 0-4294967295 |
| PARAM_VALUE | 0 | priv->txb_tail | 0-4294967295 |
| PARAM_VALUE | 0 | priv->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 28 |
| PARAM_VALUE | 2 | val | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_reset() -> ctucan_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 4 |
| PARAM_VALUE | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_rotate_txb_prio() -> ctucan_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 120 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &priv->tx_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct ctucan_priv)->tx_lock |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_rx_poll() -> ctucan_write32()
| 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 | 12 |
| PARAM_VALUE | 2 | val | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 16 |
| PARAM_VALUE | 2 | val | 1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 32 |
| PARAM_VALUE | 2 | val | 1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 36 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ndev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &ndev->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_set_btr() -> ctucan_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 40 |
| BIT_INFO | 2 | val | 0x0,0xfffbefbf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_write32()
| 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 |
| PARAM_VALUE | 2 | val | 0-4294967039 |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 2 | val | 0x0,0xfffffeff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-4294967039[c] |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_set_secondary_sample_point() -> ctucan_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 128 |
| PARAM_VALUE | 2 | val | 0-67108863 |
| FUZZY_MAX | 2 | val | 0 |
| BIT_INFO | 2 | val | 0x0,0x3ff0000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ndev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &ndev->lock |
drivers/net/can/ctucanfd/ctucanfd_base.c ctucan_tx_interrupt() -> ctucan_write32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->read_reg | 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 | 0 | priv->write_reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 16 |
| PARAM_VALUE | 2 | val | 2048 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |