Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/soc/mediatek/mtk-cmdq-helper.c, line 60 (as a function)
- include/linux/soc/mediatek/mtk-cmdq.h, line 482 (as a function)
Referenced in 15 files:
- drivers/gpu/drm/mediatek/mtk_ddp_comp.c, line 702
- drivers/gpu/drm/mediatek/mtk_disp_aal.c, line 188
- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c, line 152
- drivers/gpu/drm/mediatek/mtk_disp_color.c, line 115
- drivers/gpu/drm/mediatek/mtk_disp_gamma.c, line 276
- drivers/gpu/drm/mediatek/mtk_disp_merge.c, line 338
- drivers/gpu/drm/mediatek/mtk_disp_ovl.c, line 635
- drivers/gpu/drm/mediatek/mtk_disp_rdma.c, line 337
- drivers/gpu/drm/mediatek/mtk_ethdr.c, line 336
- drivers/gpu/drm/mediatek/mtk_mdp_rdma.c, line 311
- drivers/gpu/drm/mediatek/mtk_padding.c, line 116
- drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.c, line 1695
- drivers/soc/mediatek/mtk-cmdq-helper.c, line 111
- drivers/soc/mediatek/mtk-mmsys.c, line 425
- drivers/soc/mediatek/mtk-mutex.c, line 1124
Smatch caller information:
drivers/gpu/drm/mediatek/mtk_disp_merge.c mtk_disp_merge_probe() -> cmdq_dev_get_client_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 1 | client_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 1 | client_reg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/mediatek/mtk_disp_ovl.c mtk_disp_ovl_probe() -> cmdq_dev_get_client_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 1 | client_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 1 | client_reg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.c mdp_get_subsys_id() -> cmdq_dev_get_client_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | client_reg | 5987994097638481920 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/mediatek/mtk_ethdr.c mtk_ethdr_probe() -> cmdq_dev_get_client_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | client_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0-6 |
| BUF_SIZE | 0 | dev | 1616 |
| FUZZY_MAX | 2 | idx | 6 |
| HARD_MAX | 2 | idx | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/mediatek/mtk-mmsys.c mtk_mmsys_probe() -> cmdq_dev_get_client_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | client_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 1 | client_reg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/mediatek/mtk_mdp_rdma.c mtk_mdp_rdma_probe() -> cmdq_dev_get_client_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 1 | client_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 1 | client_reg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/mediatek/mtk_disp_rdma.c mtk_disp_rdma_probe() -> cmdq_dev_get_client_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 1 | client_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 1 | client_reg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/mediatek/mtk_disp_ccorr.c mtk_disp_ccorr_probe() -> cmdq_dev_get_client_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 1 | client_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 1 | client_reg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/soc/mediatek/mtk-mutex.c mtk_mutex_probe() -> cmdq_dev_get_client_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | client_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 1 | client_reg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/mediatek/mtk_disp_color.c mtk_disp_color_probe() -> cmdq_dev_get_client_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 1 | client_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 1 | client_reg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/mediatek/mtk_disp_gamma.c mtk_disp_gamma_probe() -> cmdq_dev_get_client_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 1 | client_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 1 | client_reg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/mediatek/mtk_ddp_comp.c mtk_ddp_comp_init() -> cmdq_dev_get_client_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | client_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 1 | client_reg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/mediatek/mtk_disp_aal.c mtk_disp_aal_probe() -> cmdq_dev_get_client_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 1 | client_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 1 | client_reg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/mediatek/mtk_padding.c mtk_padding_probe() -> cmdq_dev_get_client_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 1 | client_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| MEM_ZERO | 1 | client_reg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |