Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/nfc/st21nfca/dep.c st21nfca_im_send_atr_req() -> nfc_hci_send_cmd_async()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->ndev 4096-ptr_max
PARAM_VALUE 0 hdev->ndev->targets 4096-ptr_max
PARAM_VALUE 0 hdev->ops 4096-ptr_max
PARAM_VALUE 0 hdev->ops->dep_link_up 1335147448279359488,5903939832948645888,8908171238126723072
PARAM_VALUE 1 gate 20
PARAM_VALUE 2 cmd 16
PARAM_VALUE 3 param->bri 0
PARAM_VALUE 3 param->bsi 0
PARAM_VALUE 3 param->cmd0 212
PARAM_VALUE 3 param->cmd1 0
PARAM_VALUE 3 param->did 0
PARAM_VALUE 3 param->ppi 48,50
PARAM_VALUE 5 cb 1483039818331123712
PARAM_VALUE 6 cb_context 4096-ptr_max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 3 param 1-s32max
BUF_SIZE 6 cb_context 48,216,856
DATA_SOURCE 0 hdev $0
DATA_SOURCE 6 cb_context r nfc_hci_get_clientdata
FUZZY_MAX 3 param->ppi 48
CONTAINER 5 -200+0 $6
PARAM_COMPARE 0 hdev->clientdata == $6
PARAM_COMPARE 6 cb_context == $0->clientdata
RX_PATH
TASK_NOT_RUNNING
UNITS 3 param unit_byte
UNITS 4 param_len unit_byte
LOCK2 &nfc_dev->dev.mutex
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
TYPE_LOCK (struct device)->mutex

drivers/nfc/st21nfca/dep.c st21nfca_im_send_dep_req() -> nfc_hci_send_cmd_async()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->ops 4096-ptr_max
PARAM_VALUE 0 hdev->ops->im_transceive 1036725058525425664,5717870902715117568,9108918625211588608
PARAM_VALUE 1 gate 20
PARAM_VALUE 2 cmd 16
PARAM_VALUE 5 cb 891404188508438528
PARAM_VALUE 6 cb_context 4096-ptr_max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 3 param 1-s32max
BUF_SIZE 6 cb_context 48,216,856
DATA_SOURCE 0 hdev $0
DATA_SOURCE 6 cb_context r nfc_hci_get_clientdata
CONTAINER 5 -200+0 $6
PARAM_COMPARE 0 hdev->clientdata == $6
PARAM_COMPARE 6 cb_context == $0->clientdata
UNITS 3 param unit_byte
UNITS 4 param_len unit_byte
LOCK2 &nfc_dev->dev.mutex
LOCK2 &pool->lock
TYPE_LOCK (struct device)->mutex

drivers/nfc/st21nfca/dep.c st21nfca_tx_work() -> nfc_hci_send_cmd_async()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 1 gate 20
PARAM_VALUE 2 cmd 16
PARAM_VALUE 6 cb_context 4096-ptr_max
BUF_SIZE 3 param 1-s32max
CONTAINER 5 *(-200+16) $0
NOCHECK_CALL
UNITS 3 param unit_byte
UNITS 4 param_len unit_byte
LOCK2 &dev->dev.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex

drivers/nfc/st21nfca/core.c st21nfca_hci_im_transceive() -> nfc_hci_send_cmd_async()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->ops 4096-ptr_max
PARAM_VALUE 0 hdev->ops->im_transceive 1036725058525425664,5717870902715117568,9108918625211588608
PARAM_VALUE 1 gate 20
PARAM_VALUE 2 cmd 16
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 3 param 1-s32max
DATA_SOURCE 0 hdev $0
DATA_SOURCE 5 cb $3
DATA_SOURCE 6 cb_context $4
UNITS 3 param unit_byte
UNITS 4 param_len unit_byte
LOCK2 &nfc_dev->dev.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex

drivers/nfc/st21nfca/core.c st21nfca_hci_im_transceive() -> nfc_hci_send_cmd_async()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->ops 4096-ptr_max
PARAM_VALUE 0 hdev->ops->im_transceive 1036725058525425664,5717870902715117568,9108918625211588608
PARAM_VALUE 1 gate 21
PARAM_VALUE 2 cmd 16
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 3 param 1-s32max
DATA_SOURCE 0 hdev $0
DATA_SOURCE 5 cb $3
DATA_SOURCE 6 cb_context $4
UNITS 3 param unit_byte
UNITS 4 param_len unit_byte
LOCK2 &nfc_dev->dev.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex

drivers/nfc/st21nfca/core.c st21nfca_hci_im_transceive() -> nfc_hci_send_cmd_async()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->ops 4096-ptr_max
PARAM_VALUE 0 hdev->ops->im_transceive 1036725058525425664,5717870902715117568,9108918625211588608
PARAM_VALUE 1 gate 18
PARAM_VALUE 2 cmd 16
PARAM_VALUE 6 cb_context 4096-ptr_max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 3 param 1-s32max
BUF_SIZE 6 cb_context 48,216,856
DATA_SOURCE 0 hdev $0
DATA_SOURCE 6 cb_context r nfc_hci_get_clientdata
PARAM_COMPARE 0 hdev->clientdata == $6
PARAM_COMPARE 6 cb_context == $0->clientdata
UNITS 3 param unit_byte
UNITS 4 param_len unit_byte
LOCK2 &nfc_dev->dev.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex

net/nfc/hci/core.c hci_transceive() -> nfc_hci_send_cmd_async()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->async_cb_type 1
PARAM_VALUE 0 hdev->ops 4096-ptr_max
PARAM_VALUE 0 hdev->ops->im_transceive 1036725058525425664,5717870902715117568,9108918625211588608
PARAM_VALUE 1 gate 17,19
PARAM_VALUE 2 cmd 16
PARAM_VALUE 6 cb_context 4096-ptr_max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 3 param 1-s32max
BUF_SIZE 6 cb_context s32min-(-2),1-s32max
UNITS 0 hdev unit_byte
UNITS 3 param unit_byte
UNITS 4 param_len unit_byte
UNITS 6 cb_context unit_byte
LOCK2 &nfc_dev->dev.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex

drivers/nfc/microread/microread.c microread_im_transceive() -> nfc_hci_send_cmd_async()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->ops 4096-ptr_max
PARAM_VALUE 0 hdev->ops->im_transceive 1036725058525425664,5717870902715117568,9108918625211588608
PARAM_VALUE 1 gate 17-20,25
PARAM_VALUE 2 cmd 16
PARAM_VALUE 6 cb_context 4096-ptr_max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 3 param 1-s32max
BUF_SIZE 6 cb_context 48,216,856
DATA_SOURCE 0 hdev $0
DATA_SOURCE 6 cb_context r nfc_hci_get_clientdata
PARAM_COMPARE 0 hdev->clientdata == $6
PARAM_COMPARE 6 cb_context == $0->clientdata
UNITS 3 param unit_byte
UNITS 4 param_len unit_byte
LOCK2 &nfc_dev->dev.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex

drivers/nfc/pn544/pn544.c pn544_hci_im_transceive() -> nfc_hci_send_cmd_async()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->ops 4096-ptr_max
PARAM_VALUE 0 hdev->ops->im_transceive 1036725058525425664,5717870902715117568,9108918625211588608
PARAM_VALUE 1 gate 19
PARAM_VALUE 2 cmd 33
PARAM_VALUE 3 param 4096-ptr_max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 3 param 1-s32max
DATA_SOURCE 0 hdev $0
DATA_SOURCE 5 cb $3
DATA_SOURCE 6 cb_context $4
UNITS 3 param unit_byte
UNITS 4 param_len unit_byte
LOCK2 &nfc_dev->dev.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex

drivers/nfc/pn544/pn544.c pn544_hci_im_transceive() -> nfc_hci_send_cmd_async()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->ops 4096-ptr_max
PARAM_VALUE 0 hdev->ops->im_transceive 1036725058525425664,5717870902715117568,9108918625211588608
PARAM_VALUE 1 gate 20
PARAM_VALUE 2 cmd 32
PARAM_VALUE 6 cb_context 4096-ptr_max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 3 param 1-s32max
BUF_SIZE 6 cb_context 48,216,856
DATA_SOURCE 0 hdev $0
DATA_SOURCE 6 cb_context r nfc_hci_get_clientdata
PARAM_COMPARE 0 hdev->clientdata == $6
PARAM_COMPARE 6 cb_context == $0->clientdata
UNITS 3 param unit_byte
UNITS 4 param_len unit_byte
LOCK2 &nfc_dev->dev.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex

drivers/nfc/pn544/pn544.c pn544_hci_im_transceive() -> nfc_hci_send_cmd_async()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->ops 4096-ptr_max
PARAM_VALUE 0 hdev->ops->im_transceive 1036725058525425664,5717870902715117568,9108918625211588608
PARAM_VALUE 1 gate 21
PARAM_VALUE 2 cmd 35
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 3 param 1-s32max
DATA_SOURCE 0 hdev $0
DATA_SOURCE 5 cb $3
DATA_SOURCE 6 cb_context $4
UNITS 3 param unit_byte
UNITS 4 param_len unit_byte
LOCK2 &nfc_dev->dev.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex

drivers/nfc/st21nfca/vendor_cmds.c st21nfca_hci_dm_reset() -> nfc_hci_send_cmd_async()

Type Parameter Key Value
PARAM_VALUE 1 gate 1
PARAM_VALUE 2 cmd 62
PARAM_VALUE 3 param 0,4096-ptr_max
PARAM_VALUE 4 param_len 0-u16max
PARAM_VALUE 5 cb 0
PARAM_VALUE 6 cb_context 0
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
DATA_SOURCE 3 param $1
DATA_SOURCE 4 param_len $2
FUZZY_MAX 4 param_len 0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 *param 0-255
UNITS 0 hdev unit_byte
USER_PTR 3 param
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