Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 15 files:
- drivers/acpi/property.c, line 1744
- drivers/ata/ahci_ceva.c, line 356
- drivers/ata/ahci_qoriq.c, line 297
- drivers/base/property.c
- drivers/crypto/ccp/sp-platform.c, line 129
- drivers/dma/arm-dma350.c, line 557
- drivers/gpu/drm/imagination/pvr_gem.c, line 362
- drivers/gpu/drm/imagination/pvr_mmu.c, line 274
- drivers/gpu/drm/panfrost/panfrost_drv.c, line 980
- drivers/gpu/drm/panthor/panthor_gpu.c, line 467
- drivers/gpu/drm/tegra/uapi.c, line 149
- drivers/hv/vmbus_drv.c
- drivers/iommu/arm/arm-smmu/arm-smmu.c, line 1413
- drivers/net/ethernet/amd/xgbe/xgbe-platform.c, line 287
- drivers/of/property.c, line 1693
Smatch caller information:
drivers/crypto/ccp/sp-platform.c sp_platform_probe() -> device_get_dma_attr()
| 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 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ata/ahci_qoriq.c ahci_qoriq_probe() -> device_get_dma_attr()
| 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->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hv/vmbus_drv.c vmbus_acpi_add() -> device_get_dma_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 608,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hv/vmbus_drv.c vmbus_dma_configure() -> device_get_dma_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_probe() -> device_get_dma_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/amd/xgbe/xgbe-platform.c xgbe_platform_probe() -> device_get_dma_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/arm/arm-smmu/arm-smmu.c arm_smmu_capable() -> device_get_dma_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_ops->alloc | 0,1744715142275031040,2065280936184246272,2938795245442469888 |
| PARAM_VALUE | 0 | dev->dma_ops->alloc_pages_op | 0,4686288359180861440,6350905364812603392,6978773206971854848 |
| PARAM_VALUE | 0 | dev->dma_ops->cache_sync | 0 |
| PARAM_VALUE | 0 | dev->dma_ops->dma_supported | 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| PARAM_VALUE | 0 | dev->dma_ops->free | 0,4778164490434129920,7144974343242604544,7861694134817480704 |
| PARAM_VALUE | 0 | dev->dma_ops->free_pages | 0,239457316199952384,5196233516945883136,7413093576918179840 |
| PARAM_VALUE | 0 | dev->dma_ops->get_merge_boundary | 0 |
| PARAM_VALUE | 0 | dev->dma_ops->get_required_mask | 0,7770840938859397120 |
| PARAM_VALUE | 0 | dev->dma_ops->get_sgtable | 0,1322759480623644672 |
| PARAM_VALUE | 0 | dev->dma_ops->map_phys | 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696 |
| PARAM_VALUE | 0 | dev->dma_ops->map_sg | 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488 |
| PARAM_VALUE | 0 | dev->dma_ops->max_mapping_size | 0,8830639662091943936 |
| PARAM_VALUE | 0 | dev->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | dev->dma_ops->opt_mapping_size | 0 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_sg_for_cpu | 0,4862850025765572608 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_sg_for_device | 0,3732476178258022400 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_single_for_cpu | 0,1155325867376779264 |
| PARAM_VALUE | 0 | dev->dma_ops->sync_single_for_device | 0,8781567156597239808 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_phys | 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_sg | 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440 |
| PARAM_VALUE | 0 | dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu->iommu_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->iommu->iommu_dev->ops->capable | 462993810217750528,1218212999370723328,2068158786969784320,4814261608348082176,5273877608991895552,6378217523337945088 |
| PARAM_VALUE | 0 | dev->iommu->iommu_dev->ops->hw_info | 0,4734748057756364800,6417568837149130752,7401392304513224704 |
| PARAM_VALUE | 0 | dev->kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| BUF_SIZE | 0 | dev | (-1)-0,24-s32max |
| BUF_SIZE | 0 | dev | (-1)-0,24-s32max |
| BUF_SIZE | 0 | dev->bus | (-1),168 |
| BUF_SIZE | 0 | dev->dma_mask | (-1),8 |
| BUF_SIZE | 0 | dev->dma_parms | (-1),16 |
| BUF_SIZE | 0 | dev->groups | (-1),16 |
| BUF_SIZE | 0 | dev->init_name | (-1),14 |
| BUF_SIZE | 0 | dev->parent | (-1),1616 |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev->parent | (-1),4-5,13 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->flags | 4096-u32max |
| HOST_DATA | 0 | dev->iommu.max_pasids | 0-u32max |
| HALF_LOCKED2 | &group->device_lock | ||
| HALF_LOCKED2 | &group->mutex | ||
| HALF_LOCKED2 | &ioas->mutex | ||
| HALF_LOCKED2 | &us_ibdev->usdev_lock | ||
| HALF_LOCKED2 | &vf->lock | ||
| HALF_LOCKED2 | 0 | &dev->mutex |
drivers/gpu/drm/panthor/panthor_gpu.c panthor_gpu_coherency_init() -> device_get_dma_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,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_parms->max_segment_size | u32max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.qos | 1-ptr_max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.default_value | s32max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.no_constraint_value | s32max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.target_value | s32max |
| PARAM_VALUE | 0 | dev->power.qos->freq.max_freq.type | 2 |
| PARAM_VALUE | 0 | dev->power.qos->latency_tolerance.no_constraint_value | (-1) |
| PARAM_VALUE | 0 | dev->power.qos->latency_tolerance.type | 2 |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *dev->p->deferred_probe_reason | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/ata/ahci_ceva.c ceva_ahci_probe() -> device_get_dma_attr()
| 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->of_node | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/tegra/uapi.c tegra_drm_ioctl_channel_open() -> device_get_dma_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dev->parent | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | dev->parent->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent->driver_data->channel_list.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->parent->driver_data->channel_list.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->parent->driver_data->channel_list.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->parent->driver_data->channel_list.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->parent->driver_data->info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent->driver_data->info->nb_channels | 1-4294967295 |
| CAPPED_DATA | 0 | dev->parent->driver_data->info->nb_channels | 1 |
drivers/dma/arm-dma350.c d350_probe() -> device_get_dma_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |