Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/gpu/drm/udl/udl_main.c udl_init() -> drm_dev_set_dma_dev()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 dma_dev 4096-ptr_max
PARAM_VALUE 1 dma_dev->dma_mask 1-u64max
BUF_SIZE 0 dev 3696
DATA_SOURCE 1 dma_dev r usb_intf_get_dma_device
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/tiny/appletbdrm.c appletbdrm_probe() -> drm_dev_set_dma_dev()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 dma_dev 4096-ptr_max
PARAM_VALUE 1 dma_dev->dma_mask 1-u64max
BUF_SIZE 0 dev 3696
DATA_SOURCE 1 dma_dev r usb_intf_get_dma_device
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/sun4i/sun8i_mixer.c sun8i_mixer_bind() -> drm_dev_set_dma_dev()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 dma_dev 4096-ptr_max
PARAM_VALUE 1 dma_dev->dma_mask 4096-ptr_max
PARAM_VALUE 1 dma_dev->driver_data 4096-ptr_max
BUF_SIZE 0 dev s32min-(-1),1-s32max
BUF_SIZE 0 dev s32min-(-1),1-s32max
CAPPED_DATA 0 dev->dev 1
DATA_SOURCE 0 dev $2
DATA_SOURCE 1 dma_dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &component_mutex

drivers/gpu/drm/exynos/exynos_drm_dma.c exynos_drm_cleanup_dma() -> drm_dev_set_dma_dev()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dev->debugfs_root->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 dev->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->dev_private 4096-ptr_max
PARAM_VALUE 0 dev->dev_private->agp 0
PARAM_VALUE 0 dev->dev_private->doorbell.ptr 0
PARAM_VALUE 0 dev->dev_private->ih.enabled 0
PARAM_VALUE 0 dev->dev_private->ih.rptr 0
PARAM_VALUE 0 dev->dev_private->mmio_idx_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->dev_private->rio_mem 0
PARAM_VALUE 0 dev->dev_private->rmmio 0
PARAM_VALUE 0 dev->dev_private->shutdown 1
PARAM_VALUE 0 dev->mode_config.funcs->atomic_check 0,4096-ptr_max
PARAM_VALUE 0 dev->mode_config.funcs->atomic_commit 0,1709437739929436160,3385958169767186432,9025212985888776192
PARAM_VALUE 0 dev->mode_config.funcs->fb_create 0,4096-ptr_max
PARAM_VALUE 0 dev->mode_config.funcs->get_format_info 0,4744930813722337280,7691603805021310976
PARAM_VALUE 0 dev->mode_config.funcs->mode_valid 0,4096-ptr_max
PARAM_VALUE 0 dev->mode_config.helper_private->atomic_commit_tail 0,234517204248432640,264416658693812224,1002985563129995264,1135616218159751168,1435312838172803072,1559742614509715456,1682444203744997376,2792895115794366464,3649211429048074240,4264110321136541696,4348468181405868032-s64max
PARAM_VALUE 0 dev->mode_config.idr_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mode_config.mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->mode_config.object_idr.idr_rt.xa_flags 0,33554432-u32max
PARAM_VALUE 0 dev->mode_config.tile_idr.idr_rt.xa_flags 0,33554432-u32max
PARAM_VALUE 0 *dev->dev_private->doorbell.ptr 0-4294967295
PARAM_VALUE 0 *dev->dev_private->rio_mem (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *dev->dev_private->rmmio (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 dma_dev 0
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev->dev_private (-1),192
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 dev->num_crtcs
UNITS 0 dev unit_byte
LOCK2 global &component_mutex

drivers/gpu/drm/exynos/exynos_drm_dma.c exynos_drm_register_dma() -> drm_dev_set_dma_dev()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
BUF_SIZE 0 dev s32min-(-1),1-s32max
BUF_SIZE 0 dev s32min-(-1),1-s32max
CAPPED_DATA 0 dev->dev 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 dma_dev $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &component_mutex

drivers/gpu/drm/sun4i/sun4i_backend.c sun4i_backend_bind() -> drm_dev_set_dma_dev()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 dma_dev 4096-ptr_max
PARAM_VALUE 1 dma_dev->driver_data 1-u64max
BUF_SIZE 0 dev s32min-(-1),1-s32max
BUF_SIZE 0 dev s32min-(-1),1-s32max
CAPPED_DATA 0 dev->dev 1
DATA_SOURCE 0 dev $2
DATA_SOURCE 1 dma_dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &component_mutex

drivers/gpu/drm/mediatek/mtk_drm_drv.c mtk_drm_kms_init() -> drm_dev_set_dma_dev()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->managed.resources.next 4096-ptr_max
PARAM_VALUE 0 dev->managed.resources.next->next 4096-ptr_max
PARAM_VALUE 0 dev->managed.resources.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.blob_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mode_config.blob_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mode_config.blob_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->mode_config.blob_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->mode_config.blob_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->mode_config.blob_lock.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 dev->mode_config.blob_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->mode_config.colorop_list.next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.colorop_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.colorop_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.colorop_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.colorop_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.connection_mutex.head.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.connection_mutex.head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.connection_mutex.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.connector_ida.xa.xa_flags 33554437
PARAM_VALUE 0 dev->mode_config.connector_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.connector_list.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.connector_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.connector_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.connector_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.connector_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->mode_config.crtc_list.next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.crtc_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.crtc_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.crtc_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.crtc_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.cursor_height 512
PARAM_VALUE 0 dev->mode_config.cursor_width 512
PARAM_VALUE 0 dev->mode_config.encoder_list.next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.encoder_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.encoder_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.encoder_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.encoder_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.fb_list.next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.fb_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.fb_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.fb_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.fb_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.fb_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mode_config.fb_lock.first_waiter 0
PARAM_VALUE 0 dev->mode_config.fb_lock.magic 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.fb_lock.owner.counter 0
PARAM_VALUE 0 dev->mode_config.funcs 7610584990869794816
PARAM_VALUE 0 dev->mode_config.helper_private 9178012507704025088
PARAM_VALUE 0 dev->mode_config.idr_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 dev->mode_config.idr_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->mode_config.max_height 4096
PARAM_VALUE 0 dev->mode_config.max_width 1-u16max
PARAM_VALUE 0 dev->mode_config.min_height 1-u16max
PARAM_VALUE 0 dev->mode_config.min_width 1-u16max
PARAM_VALUE 0 dev->mode_config.mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->mode_config.mutex.first_waiter 0
PARAM_VALUE 0 dev->mode_config.mutex.magic 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.mutex.osq.tail.counter 0
PARAM_VALUE 0 dev->mode_config.mutex.owner.counter 0
PARAM_VALUE 0 dev->mode_config.num_colorop 0
PARAM_VALUE 0 dev->mode_config.num_connector 0
PARAM_VALUE 0 dev->mode_config.num_crtc s32min-32
PARAM_VALUE 0 dev->mode_config.num_encoder 0
PARAM_VALUE 0 dev->mode_config.num_fb 0
PARAM_VALUE 0 dev->mode_config.num_total_plane s32min-32
PARAM_VALUE 0 dev->mode_config.object_idr.idr_base 1
PARAM_VALUE 0 dev->mode_config.object_idr.idr_next 0
PARAM_VALUE 0 dev->mode_config.object_idr.idr_rt.xa_head->count 0-255
PARAM_VALUE 0 dev->mode_config.object_idr.idr_rt.xa_head->nr_values 0-255
PARAM_VALUE 0 dev->mode_config.object_idr.idr_rt.xa_head->offset 0-255
PARAM_VALUE 0 dev->mode_config.object_idr.idr_rt.xa_head->shift 0-255
PARAM_VALUE 0 dev->mode_config.plane_list.next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.plane_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.plane_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.plane_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.privobj_list.next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.privobj_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.privobj_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.privobj_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.privobj_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.property_blob_list.next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.property_blob_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.property_blob_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.property_blob_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.property_list.next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.property_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.property_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.property_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.property_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.tile_idr.idr_base 1
PARAM_VALUE 0 dev->mode_config.tile_idr.idr_next 0
PARAM_VALUE 0 dev->mode_config.tile_idr.idr_rt.xa_flags 33554436
PARAM_VALUE 1 dma_dev 1-u64max
BUF_SIZE 0 dev 3696
BUF_SIZE 0 dev->dev_private s32min-(-1),1-s32max
BUF_SIZE 0 dev->mode_config.funcs 64
BUF_SIZE 0 dev->mode_config.helper_private 16
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 dma_dev r mtk_crtc_dma_dev_get
FUZZY_MAX 0 dev->mode_config.max_width 4096
FUZZY_MAX 0 dev->mode_config.min_height 64
FUZZY_MAX 0 dev->mode_config.min_width 64
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &component_mutex

drivers/gpu/drm/tiny/gm12u320.c gm12u320_usb_probe() -> drm_dev_set_dma_dev()

Type Parameter Key Value
PARAM_VALUE 0 dev 0-ptr_max
PARAM_VALUE 1 dma_dev 4096-ptr_max
PARAM_VALUE 1 dma_dev->dma_mask 1-u64max
BUF_SIZE 0 dev 3696
DATA_SOURCE 1 dma_dev r usb_intf_get_dma_device
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/rockchip/rockchip_drm_drv.c rockchip_drm_dma_init_device() -> drm_dev_set_dma_dev()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_private 4096-ptr_max
PARAM_VALUE 0 dev->huge_mnt->mnt_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 dev->mode_config.helper_private->atomic_commit_tail 0,113,4096-ptr_max
PARAM_VALUE 1 dma_dev 1-ptr_max
BUF_SIZE 0 dev s32min-(-1),1-s32max
BUF_SIZE 0 dev s32min-(-1),1-s32max
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &component_mutex

drivers/gpu/drm/gud/gud_drv.c gud_probe() -> drm_dev_set_dma_dev()

Type Parameter Key Value
PARAM_VALUE 0 dev 0-ptr_max
PARAM_VALUE 1 dma_dev 4096-ptr_max
PARAM_VALUE 1 dma_dev->dma_mask 1-u64max
BUF_SIZE 0 dev 3696
DATA_SOURCE 1 dma_dev r usb_intf_get_dma_device
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL