Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/bluetooth/btmtk.c, line 276 (as a function)
- drivers/bluetooth/btmtk.h, line 241 (as a function)
Referenced in 3 files:
- drivers/bluetooth/btmtk.c
- drivers/bluetooth/btmtksdio.c, line 822
- drivers/bluetooth/btmtkuart.c, line 643
Smatch caller information:
drivers/bluetooth/btmtkuart.c btmtkuart_setup() -> btmtk_setup_firmware()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_cnt.counter | 1 |
| PARAM_VALUE | 0 | hdev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb | 0 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->__sk_common.skc_net.net->refcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->sk_callback_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->sk_callback_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->sk_owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->sk_prot_creator->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->dev.driver_data->isoc_altsetting | 0-255 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->rxlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.alloc_size | 0 |
| PARAM_VALUE | 0 | hdev->dump.dump_q.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.next->prev | 2011684551238094848 |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev->next | 2011684551238094848 |
| PARAM_VALUE | 0 | hdev->dump.dump_q.qlen | 0 |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.next | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.next->next | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.prev | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.prev->next | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.prev->prev | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.head | 0 |
| PARAM_VALUE | 0 | hdev->dump.state | 0 |
| PARAM_VALUE | 0 | hdev->dump.tail | 0 |
| PARAM_VALUE | 0 | hdev->quirk_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->req_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->req_rsp->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->req_rsp->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->req_rsp->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->req_skb->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->req_skb->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->req_skb->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->req_workqueue->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | hdev->req_workqueue->work_color | s32min-s32max |
| PARAM_VALUE | 0 | hdev->rx_q.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->rx_q.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->rx_q.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->rx_work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->setup | 1-u64max |
| PARAM_VALUE | 0 | hdev->workqueue->flags | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->workqueue->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | hdev->workqueue->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | hdev->workqueue->work_color | s32min-s32max |
| PARAM_VALUE | 0 | *hdev->dev.driver_data->evt_skb->sk->sk_callback_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *hdev->dev.driver_data->udev->toggle | 0-4294967295 |
| PARAM_VALUE | 2 | wmt_cmd_sync | 8554324247409356800 |
| CAPPED_DATA | 0 | hdev | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | hdev->dev.driver_data->evt_skb->data->hhdr.evt | 0-255[u] |
| USER_DATA | 0 | hdev->dev.driver_data->evt_skb->data->hhdr.plen | 0-255[u] |
| USER_DATA | 0 | hdev->dev.driver_data->evt_skb->data->whdr.dir | 0-255[u] |
| USER_DATA | 0 | hdev->dev.driver_data->evt_skb->data->whdr.dlen | 0-u16max[u] |
| USER_DATA | 0 | hdev->dev.driver_data->evt_skb->data->whdr.flag | 0-255[u] |
| USER_DATA | 0 | hdev->dev.driver_data->evt_skb->data->whdr.op | 1-4,6-7,23[u] |
| LOCK2 | 0 | &hdev->req_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
drivers/bluetooth/btmtksdio.c mt76xx_setup() -> btmtk_setup_firmware()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_cnt.counter | 1 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb | 0 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->__sk_common.skc_net.net->refcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->sk_callback_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->sk_callback_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->sk_owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->dev.driver_data->evt_skb->sk->sk_prot_creator->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->dev.driver_data->rxlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->sco_skb | 0 |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.alloc_size | 0 |
| PARAM_VALUE | 0 | hdev->dump.dump_q.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.next->prev | 2011684551238094848 |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev->next | 2011684551238094848 |
| PARAM_VALUE | 0 | hdev->dump.dump_q.qlen | 0 |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.next | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.next->next | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.prev | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.prev->next | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.prev->prev | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.head | 0 |
| PARAM_VALUE | 0 | hdev->dump.state | 0 |
| PARAM_VALUE | 0 | hdev->dump.tail | 0 |
| PARAM_VALUE | 0 | hdev->quirk_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->req_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->req_skb->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->req_skb->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->req_skb->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->req_workqueue->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | hdev->req_workqueue->work_color | s32min-s32max |
| PARAM_VALUE | 0 | hdev->rx_q.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->setup | 1-u64max |
| PARAM_VALUE | 0 | hdev->workqueue->flags | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->workqueue->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | hdev->workqueue->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | hdev->workqueue->work_color | s32min-s32max |
| PARAM_VALUE | 0 | *hdev->dev.driver_data->evt_skb->sk->sk_callback_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *hdev->dev.driver_data->udev->toggle | 0-4294967295 |
| PARAM_VALUE | 2 | wmt_cmd_sync | 8929265807175557120 |
| CAPPED_DATA | 0 | hdev | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | fwname | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | hdev->dev.driver_data->evt_skb->data->hhdr.evt | 0-255[u] |
| USER_DATA | 0 | hdev->dev.driver_data->evt_skb->data->hhdr.plen | 0-255[u] |
| USER_DATA | 0 | hdev->dev.driver_data->evt_skb->data->whdr.dir | 0-255[u] |
| USER_DATA | 0 | hdev->dev.driver_data->evt_skb->data->whdr.dlen | 0-u16max[u] |
| USER_DATA | 0 | hdev->dev.driver_data->evt_skb->data->whdr.flag | 0-255[u] |
| USER_DATA | 0 | hdev->dev.driver_data->evt_skb->data->whdr.op | 1,6-8,23[u] |
| LOCK2 | 0 | &hdev->req_lock | |
| TYPE_LOCK | (struct hci_dev)->req_lock |
drivers/bluetooth/btmtk.c btmtk_usb_setup() -> btmtk_setup_firmware()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_cnt.counter | 1 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->isoc_altsetting | 0-255 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->rxlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->sco_skb | 0 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->udev->lpm_disable_count | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->udev->usb3_lpm_u1_enabled | 0-1 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->udev->usb3_lpm_u2_enabled | 0-1 |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.alloc_size | 0 |
| PARAM_VALUE | 0 | hdev->dump.dump_q.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.next->prev | 2011684551238094848 |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev->next | 2011684551238094848 |
| PARAM_VALUE | 0 | hdev->dump.dump_q.qlen | 0 |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.next | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.next->next | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.prev | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.prev->next | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.prev->prev | 1-u64max |
| PARAM_VALUE | 0 | hdev->dump.head | 0 |
| PARAM_VALUE | 0 | hdev->dump.state | 0 |
| PARAM_VALUE | 0 | hdev->dump.tail | 0 |
| PARAM_VALUE | 0 | hdev->quirk_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->req_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->req_skb->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->req_skb->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->req_skb->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->req_workqueue->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | hdev->req_workqueue->work_color | s32min-s32max |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->sent_cmd->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->setup | 1-u64max |
| PARAM_VALUE | 0 | hdev->workqueue->flags | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->workqueue->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | hdev->workqueue->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | hdev->workqueue->work_color | s32min-s32max |
| PARAM_VALUE | 0 | *hdev->dev.driver_data->udev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | fwname | 4917536402006700032,9162619713173880832 |
| PARAM_VALUE | 2 | wmt_cmd_sync | 6721127365162184704 |
| BUF_SIZE | 1 | fwname | 24 |
| BUF_SIZE | 1 | fwname | 24 |
| CAPPED_DATA | 0 | hdev | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| STR_LEN | 0 | hdev | 23 |
| STR_LEN | 1 | fwname | 23 |
| BIT_INFO | 1 | fwname | 0x442808050ba80000,0x7f3ebb5dffb9f000 |
| BIT_INFO | 1 | fwname | 0x442808050ba80000,0x7f3ebb5dffb9f000 |
| TERMINATED | 1 | fwname | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hdev->req_lock | |
| TYPE_LOCK | (struct hci_dev)->req_lock |