Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/bluetooth/btmtksdio.c btmtksdio_open() -> btmtksdio_drv_pmctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->func | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->func->card->host->claimed | 1 |
| PARAM_VALUE | 0 | bdev->func->card->host->claimer | 1-u64max |
| PARAM_VALUE | 0 | bdev->func->card->host->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->cmd_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->uhs2_cmd.packet_len | 0,4-12 |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->uhs2_cmd.payload_len | 0-8 |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len | 0,4-6,8 |
| BUF_SIZE | 0 | bdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdev | unit_byte |
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
drivers/bluetooth/btmtksdio.c btmtksdio_reset() -> btmtksdio_drv_pmctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->data | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->data->chipid | 31009 |
| PARAM_VALUE | 0 | bdev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdev->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdev->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | bdev->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | bdev->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdev->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | bdev->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdev->func | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdev->func->card->host->claimed | 1 |
| PARAM_VALUE | 0 | bdev->func->card->host->claimer | 1-u64max |
| PARAM_VALUE | 0 | bdev->func->card->host->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bdev->reset | 4096-18446744073709551613,(-1) |
| BUF_SIZE | 0 | bdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | bdev | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/bluetooth/btmtksdio.c btmtksdio_runtime_resume() -> btmtksdio_drv_pmctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| BUF_SIZE | 0 | bdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdev | unit_byte |
drivers/bluetooth/btmtksdio.c btmtksdio_setup() -> btmtksdio_drv_pmctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->data | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->data->chipid | 30978,31009 |
| PARAM_VALUE | 0 | bdev->evt_skb | 0 |
| PARAM_VALUE | 0 | bdev->evt_skb->_nfct | 0 |
| PARAM_VALUE | 0 | bdev->evt_skb->_skb_refdst | 0 |
| PARAM_VALUE | 0 | bdev->evt_skb->active_extensions | 0 |
| PARAM_VALUE | 0 | bdev->evt_skb->destructor | 0 |
| PARAM_VALUE | 0 | bdev->evt_skb->sk | 0 |
| PARAM_VALUE | 0 | bdev->evt_skb->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | bdev->evt_skb->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | bdev->evt_skb->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | bdev->evt_skb->sk->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bdev->func | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->func->card->host->claimed | 0 |
| PARAM_VALUE | 0 | bdev->func->card->host->claimer | 0 |
| PARAM_VALUE | 0 | bdev->func->card->host->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->cmd_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->uhs2_cmd.packet_len | 0,4-12 |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->uhs2_cmd.payload_len | 0-8 |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len | 0,4-6,8 |
| PARAM_VALUE | 0 | bdev->func->card->host->parent->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->func->card->host->parent->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->func->card->host->parent->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->parent->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->cookie | s32min-s32max |
| PARAM_VALUE | 0 | bdev->func->card->host->private->cookie_sg_count | (-22),0-s32max |
| PARAM_VALUE | 0 | bdev->func->card->host->private->dev->dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->dma_len | 1-4294967295 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->next_data.cookie | s32min-s32max |
| PARAM_VALUE | 0 | bdev->func->card->host->private->next_data.dma_len | 0-s32max |
| PARAM_VALUE | 0 | bdev->func->card->host->private->pcr->pci->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->pcr->pci->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->pcr->pcr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->pcr->pcr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bdev->func->card->host->private->pdev->dev.dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->sg_count | s32min-s32max |
| PARAM_VALUE | 0 | bdev->func->card->host->private->ucr->dev_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->ucr->dev_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bdev->func->tmpbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->udev->u1_params.timeout | s32min-s32max |
| PARAM_VALUE | 0 | bdev->udev->u2_params.timeout | s32min-s32max |
| BUF_SIZE | 0 | bdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | bdev | unit_byte |
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
drivers/bluetooth/btmtksdio.c mt79xx_setup() -> btmtksdio_drv_pmctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->data | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->evt_skb->active_extensions | 0-255 |
| PARAM_VALUE | 0 | bdev->func | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->func->card->host->claimed | 0 |
| PARAM_VALUE | 0 | bdev->func->card->host->claimer | 0 |
| PARAM_VALUE | 0 | bdev->func->card->host->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->cmd_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->uhs2_cmd.packet_len | 0,4-12 |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->uhs2_cmd.payload_len | 0-8 |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len | 0,4-6,8 |
| PARAM_VALUE | 0 | bdev->func->card->host->parent->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->func->card->host->parent->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->func->card->host->parent->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->parent->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->cookie | s32min-s32max |
| PARAM_VALUE | 0 | bdev->func->card->host->private->cookie_sg_count | (-22),0-s32max |
| PARAM_VALUE | 0 | bdev->func->card->host->private->dev->dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->dma_len | 1-4294967295 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->next_data.cookie | s32min-s32max |
| PARAM_VALUE | 0 | bdev->func->card->host->private->next_data.dma_len | 0-s32max |
| PARAM_VALUE | 0 | bdev->func->card->host->private->pcr->pci->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->pcr->pci->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->pcr->pcr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->pcr->pcr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bdev->func->card->host->private->pdev->dev.dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->sg_count | s32min-s32max |
| PARAM_VALUE | 0 | bdev->func->card->host->private->ucr->dev_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bdev->func->card->host->private->ucr->dev_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bdev->func->tmpbuf | 4096-ptr_max |
| BUF_SIZE | 0 | bdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdev | unit_byte |
| LOCK2 | &hdev->req_lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |