Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ieee802154/atusb.c atusb_set_cca_ed_level() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 9 |
| PARAM_VALUE | 2 | mask | 15 |
| PARAM_VALUE | 3 | shift | 0 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| CAPPED_DATA | 4 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | value | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ieee802154/atusb.c atusb_set_cca_mode() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 8 |
| PARAM_VALUE | 2 | mask | 96 |
| PARAM_VALUE | 3 | shift | 5 |
| PARAM_VALUE | 4 | value | 0-3 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| FUZZY_MAX | 4 | value | 3 |
| HARD_MAX | 4 | value | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ieee802154/atusb.c atusb_set_channel() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atusb | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 8 |
| PARAM_VALUE | 2 | mask | 31 |
| PARAM_VALUE | 3 | shift | 0 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| DATA_SOURCE | 4 | value | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ieee802154/atusb.c atusb_set_csma_params() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 47 |
| PARAM_VALUE | 2 | mask | 15 |
| PARAM_VALUE | 3 | shift | 0 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| DATA_SOURCE | 4 | value | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
drivers/net/ieee802154/atusb.c atusb_set_csma_params() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atusb | 4096-ptr_max |
| PARAM_VALUE | 0 | atusb->usb_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 47 |
| PARAM_VALUE | 2 | mask | 240 |
| PARAM_VALUE | 3 | shift | 4 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| DATA_SOURCE | 4 | value | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
drivers/net/ieee802154/atusb.c atusb_set_csma_params() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atusb | 4096-ptr_max |
| PARAM_VALUE | 0 | atusb->usb_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 44 |
| PARAM_VALUE | 2 | mask | 14 |
| PARAM_VALUE | 3 | shift | 1 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| DATA_SOURCE | 4 | value | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
drivers/net/ieee802154/atusb.c atusb_set_frame_retries() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 44 |
| PARAM_VALUE | 2 | mask | 240 |
| PARAM_VALUE | 3 | shift | 4 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| DATA_SOURCE | 4 | value | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
drivers/net/ieee802154/atusb.c atusb_set_hw_addr_filt() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atusb | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 46 |
| PARAM_VALUE | 2 | mask | 8 |
| PARAM_VALUE | 3 | shift | 3 |
| PARAM_VALUE | 4 | value | 1 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ieee802154/atusb.c atusb_set_hw_addr_filt() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atusb | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 46 |
| PARAM_VALUE | 2 | mask | 8 |
| PARAM_VALUE | 3 | shift | 3 |
| PARAM_VALUE | 4 | value | 0 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ieee802154/atusb.c atusb_set_promiscuous_mode() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 46 |
| PARAM_VALUE | 2 | mask | 16 |
| PARAM_VALUE | 3 | shift | 4 |
| PARAM_VALUE | 4 | value | 1 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ieee802154/atusb.c atusb_set_promiscuous_mode() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atusb | 4096-ptr_max |
| PARAM_VALUE | 0 | atusb->usb_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 23 |
| PARAM_VALUE | 2 | mask | 2 |
| PARAM_VALUE | 3 | shift | 1 |
| PARAM_VALUE | 4 | value | 1 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ieee802154/atusb.c atusb_set_promiscuous_mode() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 23 |
| PARAM_VALUE | 2 | mask | 2 |
| PARAM_VALUE | 3 | shift | 1 |
| PARAM_VALUE | 4 | value | 0 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ieee802154/atusb.c atusb_set_promiscuous_mode() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atusb | 4096-ptr_max |
| PARAM_VALUE | 0 | atusb->usb_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 46 |
| PARAM_VALUE | 2 | mask | 16 |
| PARAM_VALUE | 3 | shift | 4 |
| PARAM_VALUE | 4 | value | 0 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ieee802154/atusb.c atusb_set_txpower() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atusb | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 5 |
| PARAM_VALUE | 2 | mask | 15 |
| PARAM_VALUE | 3 | shift | 0 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| CAPPED_DATA | 4 | value | 1 |
| TASK_NOT_RUNNING | |||
| UNITS | 4 | value | unit_array_size |
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ieee802154/atusb.c hulusb_set_channel() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atusb | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 12 |
| PARAM_VALUE | 2 | mask | 4 |
| PARAM_VALUE | 3 | shift | 2 |
| PARAM_VALUE | 4 | value | 0 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ieee802154/atusb.c hulusb_set_channel() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atusb | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 12 |
| PARAM_VALUE | 2 | mask | 4 |
| PARAM_VALUE | 3 | shift | 2 |
| PARAM_VALUE | 4 | value | 1 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ieee802154/atusb.c hulusb_set_channel() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atusb | 4096-ptr_max |
| PARAM_VALUE | 0 | atusb->usb_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 12 |
| PARAM_VALUE | 2 | mask | 8 |
| PARAM_VALUE | 3 | shift | 3 |
| PARAM_VALUE | 4 | value | 0 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ieee802154/atusb.c hulusb_set_channel() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atusb | 4096-ptr_max |
| PARAM_VALUE | 0 | atusb->usb_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 12 |
| PARAM_VALUE | 2 | mask | 8 |
| PARAM_VALUE | 3 | shift | 3 |
| PARAM_VALUE | 4 | value | 1 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ieee802154/atusb.c hulusb_set_channel() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atusb | 4096-ptr_max |
| PARAM_VALUE | 0 | atusb->hw->phy->cca_ed_level | (-10000),(-9800),(-9600),(-9400),(-9200),(-9000),(-8800),(-8600),(-8400),(-8200),(-8000),(-7800),(-7600),(-7400),(-7200),(-7000),(-6800) |
| PARAM_VALUE | 0 | atusb->hw->phy->supported.cca_ed_levels | 119619719600857088,179178029993783296 |
| PARAM_VALUE | 0 | atusb->hw->phy->supported.cca_ed_levels_size | 16 |
| PARAM_VALUE | 0 | atusb->usb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | *atusb->hw->phy->supported.cca_ed_levels | (-10000),(-9800) |
| PARAM_VALUE | 1 | reg | 8 |
| PARAM_VALUE | 2 | mask | 31 |
| PARAM_VALUE | 3 | shift | 0 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| DATA_SOURCE | 4 | value | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ieee802154/atusb.c hulusb_set_lbt() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 23 |
| PARAM_VALUE | 2 | mask | 64 |
| PARAM_VALUE | 3 | shift | 6 |
| BUF_SIZE | 0 | atusb | 448 |
| BUF_SIZE | 0 | atusb | 448 |
| DATA_SOURCE | 4 | value | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
drivers/net/ieee802154/atusb.c hulusb_set_txpower() -> atusb_write_subreg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atusb | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 5 |
| PARAM_VALUE | 2 | mask | 31 |
| PARAM_VALUE | 3 | shift | 0 |
| BUF_SIZE | 0 | atusb | 448 |
| CAPPED_DATA | 4 | value | 1 |
| TASK_NOT_RUNNING | |||
| UNITS | 4 | value | unit_array_size |
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |