Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/nfc/pn533/pn533.c pn533_deactivate_target() -> pn533_send_cmd_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->resp_q.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->resp_q.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->resp_q.next->prev | 2011684551238094848 |
| PARAM_VALUE | 0 | dev->resp_q.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->resp_q.prev->next | 2011684551238094848 |
| PARAM_VALUE | 0 | dev->resp_q.qlen | 0 |
| PARAM_VALUE | 0 | dev->tgt_active_prot | 0 |
| PARAM_VALUE | 1 | cmd_code | 82 |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->data | 4096-ptr_max |
| PARAM_VALUE | 2 | req->data_len | 0 |
| PARAM_VALUE | 3 | complete_cb | 5693512090044362752 |
| PARAM_VALUE | 4 | complete_cb_context | 0 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | req | 0-s32max |
| BUF_SIZE | 2 | req | 0-s32max |
| CAPPED_DATA | 0 | &dev->resp_q | 1 |
| DATA_SOURCE | 2 | req | r pn533_alloc_skb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &nfc_dev->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/nfc/pn533/pn533.c pn533_dep_link_up() -> pn533_send_cmd_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->nfc_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->cmd->code | 2,20,24,50,64,66,74,80,82,86,96,134,140,142,148 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->cmd_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->cmd_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->cmd_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->cmd_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->cmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->cmd_pending | 1-255 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->cmd_timeout.flags | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->actual_length | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->complete | 4144249948815884288,7928763328731889664 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->dev->urbnum.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->interval | s32min-32768 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->num_mapped_sgs | 0-s32max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->sg->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->sg->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->sg->length | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->sg->offset | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->status | (-4095)-0 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->transfer_buffer->bDeviceProtocol | 1 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->transfer_buffer->bmAttributes | 0-255 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->transfer_flags | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->unlinked | s32min-s32max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->in_urb->use_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->actual_length | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->dev->urbnum.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->interval | s32min-32768 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->num_mapped_sgs | 0-s32max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->sg->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->sg->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->sg->length | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->sg->offset | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->status | (-4095)-0 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->transfer_buffer->bDeviceProtocol | 1 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->transfer_buffer->bmAttributes | 0-255 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->transfer_buffer_length | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->transfer_flags | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->unlinked | s32min-s32max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->out_urb->use_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->serdev->write_comp.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->serdev->write_comp.wait.lock.owner_cpu | 0-4294967295 |
| PARAM_VALUE | 0 | dev->nfc_dev->dev.driver_data->phy->serdev->write_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->poll_mod_count | 0 |
| PARAM_VALUE | 0 | dev->tgt_active_prot | 0 |
| PARAM_VALUE | 0 | *dev->nfc_dev->dev.driver_data->phy->in_urb->setup_packet | 0-255 |
| PARAM_VALUE | 0 | *dev->nfc_dev->dev.driver_data->phy->in_urb->transfer_buffer | 0-255 |
| PARAM_VALUE | 0 | *dev->nfc_dev->dev.driver_data->phy->out_urb->setup_packet | 0-255 |
| PARAM_VALUE | 1 | cmd_code | 86 |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->data | 4096-ptr_max |
| PARAM_VALUE | 2 | req->data_len | 0 |
| PARAM_VALUE | 3 | complete_cb | 3446312590159499264 |
| PARAM_VALUE | 4 | complete_cb_context | 4096-ptr_max |
| PARAM_VALUE | 4 | *complete_cb_context | 0-1 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | req | 0-s32max |
| BUF_SIZE | 2 | req | 0-s32max |
| BUF_SIZE | 4 | complete_cb_context | 1 |
| DATA_SOURCE | 2 | req | r pn533_alloc_skb |
| DATA_SOURCE | 4 | complete_cb_context | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &nfc_dev->dev.mutex | ||
| 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 | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/nfc/pn533/pn533.c pn533_poll_dep() -> pn533_send_cmd_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd_code | 86 |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->data | 4096-ptr_max |
| PARAM_VALUE | 2 | req->data_len | 0 |
| PARAM_VALUE | 3 | complete_cb | 2719564350909472768 |
| PARAM_VALUE | 4 | complete_cb_context | 0 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | req | 0-s32max |
| BUF_SIZE | 2 | req | 0-s32max |
| DATA_SOURCE | 2 | req | r pn533_alloc_skb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &nfc_dev->dev.mutex | ||
| HALF_LOCKED2 | &nfc_dev->genl_data.genl_data_mutex |
drivers/nfc/pn533/pn533.c pn533_send_cmd_sync() -> pn533_send_cmd_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->nfc_dev->ops->activate_target | 1350527993488265216,2090455160799363072,5811113038757195776,7190532993760436224 |
| PARAM_VALUE | 0 | dev->nfc_dev->ops->deactivate_target | 2858505644636377088,3505303411679371264,5287386874550202368,5538608275120844800 |
| PARAM_VALUE | 0 | dev->nfc_dev->ops->im_transceive | 3757027147600400384,6796097066707775488,7791576850691203072,8294741778791845888 |
| PARAM_VALUE | 0 | dev->nfc_dev->ops->start_poll | 97016609647321088,4977140339538804736,5010152465821687808,7688295346357948416 |
| PARAM_VALUE | 0 | dev->nfc_dev->ops->stop_poll | 320249344774709248,3924151257180327936,4176340183763841024,7367369938005217280 |
| PARAM_VALUE | 0 | dev->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd_code | 2,20,24,50,80 |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->data | 4096-ptr_max |
| PARAM_VALUE | 3 | complete_cb | 4381093527189749760 |
| PARAM_VALUE | 4 | complete_cb_context | 2697676027427774464 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev->dev | (-1),1616 |
| BUF_SIZE | 0 | dev->phy | (-1),24,56 |
| BUF_SIZE | 0 | dev->phy_ops | (-1),40 |
| BUF_SIZE | 2 | req | 0-s32max |
| BUF_SIZE | 2 | req | 0-s32max |
| BUF_SIZE | 4 | complete_cb_context | 104 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | cmd_code | $1 |
| DATA_SOURCE | 2 | req | $2 |
| HARD_MAX | 1 | cmd_code | 80 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &nfc_dev->dev.mutex |
drivers/nfc/pn533/pn533.c pn533_send_poll_frame() -> pn533_send_cmd_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ops->rx_header_len | 7,10,12 |
| PARAM_VALUE | 0 | dev->poll_mod_active | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd_code | 74,140 |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->data | 4096-ptr_max |
| PARAM_VALUE | 2 | req->data_len | 0 |
| PARAM_VALUE | 3 | complete_cb | 6236549374051565568 |
| PARAM_VALUE | 4 | complete_cb_context | 0 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | req | 0-s32max |
| BUF_SIZE | 2 | req | 0-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| FUZZY_MAX | 1 | cmd_code | 140 |
| BIT_INFO | 0 | dev->poll_protocols | 0x0,0xffffffff |
| BIT_INFO | 1 | cmd_code | 0x8,0xce |
| HARD_MAX | 1 | cmd_code | 140 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &nfc_dev->dev.mutex | ||
| HALF_LOCKED2 | &nfc_dev->genl_data.genl_data_mutex |
drivers/nfc/pn533/pn533.c pn533_start_poll() -> pn533_send_cmd_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->device_type | 5 |
| PARAM_VALUE | 0 | dev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tgt_active_prot | 0 |
| PARAM_VALUE | 0 | dev->tgt_mode | 0 |
| PARAM_VALUE | 1 | cmd_code | 96 |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->data | 4096-ptr_max |
| PARAM_VALUE | 2 | req->data_len | 0 |
| PARAM_VALUE | 3 | complete_cb | 3880591979664961536 |
| PARAM_VALUE | 4 | complete_cb_context | 0 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | req | 0-s32max |
| BUF_SIZE | 2 | req | 0-s32max |
| DATA_SOURCE | 2 | req | r pn533_alloc_skb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &nfc_dev->dev.mutex | ||
| LOCK2 | &nfc_dev->genl_data.genl_data_mutex | ||
| 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 | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct nfc_genl_data)->genl_data_mutex |
drivers/nfc/pn533/pn533.c pn533_wq_rf() -> pn533_send_cmd_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd_code | 50 |
| PARAM_VALUE | 2 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | req->data | 4096-ptr_max |
| PARAM_VALUE | 2 | req->data_len | 0 |
| PARAM_VALUE | 3 | complete_cb | 9115607770722967552 |
| PARAM_VALUE | 4 | complete_cb_context | 0 |
| BUF_SIZE | 2 | req | 0-s32max |
| BUF_SIZE | 2 | req | 0-s32max |
| DATA_SOURCE | 2 | req | r pn533_alloc_skb |
| HALF_LOCKED2 | &pool->lock |