Defined in 2 files as a function:
- drivers/gpu/drm/v3d/v3d_drv.c, line 306 (as a function)
- drivers/media/pci/mgb4/mgb4_core.c, line 437 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/media/pci/mgb4/mgb4_core.c mgb4_probe() -> map_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->bus->self->link_bwctrl->cdev | (-22),(-19),(-12),0-s64max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | pdev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->driver->err_handler | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | pdev->is_msi_managed | 1 |
| PARAM_VALUE | 0 | pdev->link_bwctrl->cdev | 0-s64max |
| PARAM_VALUE | 0 | pdev->msix_base | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->msix_enabled | 1 |
| PARAM_VALUE | 0 | pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | *pdev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 1 | res | 5244419138264088576 |
| PARAM_VALUE | 1 | res->child | 0 |
| PARAM_VALUE | 1 | res->desc | 0 |
| PARAM_VALUE | 1 | res->end | 255 |
| PARAM_VALUE | 1 | res->flags | 512 |
| PARAM_VALUE | 1 | res->name | 1346573587889963008 |
| PARAM_VALUE | 1 | res->parent | 0 |
| PARAM_VALUE | 1 | res->sibling | 0 |
| PARAM_VALUE | 1 | res->start | 0 |
| PARAM_VALUE | 2 | regs | 4096-ptr_max |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| CAPPED_DATA | 0 | pdev | 1 |
| DATA_SOURCE | 0 | pdev | $0 |
| TERMINATED | 1 | res->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | pdev->current_state | 0-3[c] |
| HALF_LOCKED2 | 0 | &pdev->dev.mutex |
drivers/media/pci/mgb4/mgb4_core.c mgb4_probe() -> map_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->bus->self->link_bwctrl->cdev | (-22),(-19),(-12),0-s64max |
| PARAM_VALUE | 0 | pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | pdev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->driver->err_handler | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | pdev->is_msi_managed | 1 |
| PARAM_VALUE | 0 | pdev->link_bwctrl->cdev | 0-s64max |
| PARAM_VALUE | 0 | pdev->msix_base | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->msix_enabled | 1 |
| PARAM_VALUE | 0 | pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | *pdev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 1 | res | 1418489064148688896 |
| PARAM_VALUE | 1 | res->child | 0 |
| PARAM_VALUE | 1 | res->desc | 0 |
| PARAM_VALUE | 1 | res->end | 6143 |
| PARAM_VALUE | 1 | res->flags | 512 |
| PARAM_VALUE | 1 | res->name | 3568207820659871744 |
| PARAM_VALUE | 1 | res->parent | 0 |
| PARAM_VALUE | 1 | res->sibling | 0 |
| PARAM_VALUE | 1 | res->start | 4096 |
| PARAM_VALUE | 2 | regs | 4096-ptr_max |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| CAPPED_DATA | 0 | pdev | 1 |
| DATA_SOURCE | 0 | pdev | $0 |
| TERMINATED | 1 | res->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | pdev->current_state | 0-3[c] |
| HALF_LOCKED2 | 0 | &pdev->dev.mutex |
drivers/gpu/drm/v3d/v3d_drv.c v3d_platform_drm_probe() -> map_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | regs | 1643424311135105024 |
| BUF_SIZE | 2 | regs | 4 |
| DATA_SOURCE | 0 | pdev | r __devm_drm_dev_alloc |
| STR_LEN | 0 | pdev | 3 |
| TERMINATED | 2 | regs | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/v3d/v3d_drv.c v3d_platform_drm_probe() -> map_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->core_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->hub_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | *pdev->hub_regs | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | regs | 7836295536021540864 |
| BUF_SIZE | 1 | res | 24 |
| BUF_SIZE | 2 | regs | 6 |
| DATA_SOURCE | 0 | pdev | r __devm_drm_dev_alloc |
| STR_LEN | 0 | pdev | 5 |
| TERMINATED | 2 | regs | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/v3d/v3d_drv.c v3d_platform_drm_probe() -> map_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->core_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->hub_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->ver | 71-u32max |
| PARAM_VALUE | 0 | *pdev->hub_regs | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | regs | 7123526008582234112 |
| BUF_SIZE | 2 | regs | 4 |
| DATA_SOURCE | 0 | pdev | r __devm_drm_dev_alloc |
| STR_LEN | 0 | pdev | 3 |
| TERMINATED | 2 | regs | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/v3d/v3d_drv.c v3d_platform_drm_probe() -> map_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->core_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->hub_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->ver | 0-40 |
| PARAM_VALUE | 0 | *pdev->hub_regs | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | regs | 2947712433377402880 |
| BUF_SIZE | 2 | regs | 4 |
| DATA_SOURCE | 0 | pdev | r __devm_drm_dev_alloc |
| STR_LEN | 0 | pdev | 3 |
| TERMINATED | 2 | regs | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/v3d/v3d_drv.c v3d_platform_drm_probe() -> map_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->core_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->hub_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->reset | 0 |
| PARAM_VALUE | 0 | *pdev->hub_regs | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | regs | 923469029696008192 |
| BUF_SIZE | 0 | pdev->reset | (-1),8,96,280,1296 |
| BUF_SIZE | 2 | regs | 7 |
| DATA_SOURCE | 0 | pdev | r __devm_drm_dev_alloc |
| STR_LEN | 0 | pdev | 6 |
| TERMINATED | 2 | regs | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |