Home
last modified time | relevance | path

Searched refs:container_of (Results 1 – 25 of 199) sorted by relevance

12345678

/dragonfly/sys/dev/drm/amd/amdgpu/
HDamdgpu_mn.c114 struct amdgpu_mn *amn = container_of(work, struct amdgpu_mn, work); in amdgpu_mn_destroy()
147 struct amdgpu_mn *amn = container_of(mn, struct amdgpu_mn, mn); in amdgpu_mn_release()
254 struct amdgpu_mn *amn = container_of(mn, struct amdgpu_mn, mn); in amdgpu_mn_invalidate_range_start_gfx()
275 node = container_of(it, struct amdgpu_mn_node, it); in amdgpu_mn_invalidate_range_start_gfx()
302 struct amdgpu_mn *amn = container_of(mn, struct amdgpu_mn, mn); in amdgpu_mn_invalidate_range_start_hsa()
321 node = container_of(it, struct amdgpu_mn_node, it); in amdgpu_mn_invalidate_range_start_hsa()
351 struct amdgpu_mn *amn = container_of(mn, struct amdgpu_mn, mn); in amdgpu_mn_invalidate_range_end()
470 node = container_of(it, struct amdgpu_mn_node, it); in amdgpu_mn_register()
529 node = container_of(head, struct amdgpu_mn_node, bos); in amdgpu_mn_unregister()
HDamdgpu_ucode.c56 container_of(hdr, struct mc_firmware_header_v1_0, header); in amdgpu_ucode_print_mc_hdr()
77 container_of(hdr, struct smc_firmware_header_v1_0, header); in amdgpu_ucode_print_smc_hdr()
95 container_of(hdr, struct gfx_firmware_header_v1_0, header); in amdgpu_ucode_print_gfx_hdr()
116 container_of(hdr, struct rlc_firmware_header_v1_0, header); in amdgpu_ucode_print_rlc_hdr()
130 container_of(hdr, struct rlc_firmware_header_v2_0, header); in amdgpu_ucode_print_rlc_hdr()
168container_of(rlc_hdr, struct rlc_firmware_header_v2_1, v2_0); in amdgpu_ucode_print_rlc_hdr()
211 container_of(hdr, struct sdma_firmware_header_v1_0, header); in amdgpu_ucode_print_sdma_hdr()
221container_of(sdma_hdr, struct sdma_firmware_header_v1_1, v1_0); in amdgpu_ucode_print_sdma_hdr()
240 container_of(hdr, struct gpu_info_firmware_header_v1_0, header); in amdgpu_ucode_print_gpu_info_hdr()
HDamdgpu_mode.h56 #define to_amdgpu_crtc(x) container_of(x, struct amdgpu_crtc, base)
57 #define to_amdgpu_connector(x) container_of(x, struct amdgpu_connector, base)
58 #define to_amdgpu_encoder(x) container_of(x, struct amdgpu_encoder, base)
59 #define to_amdgpu_framebuffer(x) container_of(x, struct amdgpu_framebuffer, base)
60 #define to_amdgpu_plane(x) container_of(x, struct amdgpu_plane, base)
62 #define to_dm_plane_state(x) container_of(x, struct dm_plane_state, base);
542 #define TO_DM_AUX(x) container_of((x), struct amdgpu_dm_dp_aux, aux)
/dragonfly/sys/dev/drm/
HDdrm_simple_kms_helper.c55 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_enable()
67 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_disable()
97 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_atomic_check()
127 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_atomic_update()
139 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_prepare_fb()
151 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_cleanup_fb()
HDlinux_fence-array.c63 struct dma_fence_array *array = container_of(wrk, typeof(*array), work); in irq_dma_fence_array_work()
75 container_of(cb, struct dma_fence_array_cb, cb); in dma_fence_array_cb_func()
/dragonfly/sys/dev/drm/radeon/
HDradeon_ucode.c55container_of(__DECONST(void *, hdr), struct mc_firmware_header_v1_0, header); in radeon_ucode_print_mc_hdr()
76container_of(__DECONST(void *, hdr), struct smc_firmware_header_v1_0, header); in radeon_ucode_print_smc_hdr()
94container_of(__DECONST(void *, hdr), struct gfx_firmware_header_v1_0, header); in radeon_ucode_print_gfx_hdr()
115container_of(__DECONST(void *, hdr), struct rlc_firmware_header_v1_0, header); in radeon_ucode_print_rlc_hdr()
142container_of(__DECONST(void *, hdr), struct sdma_firmware_header_v1_0, header); in radeon_ucode_print_sdma_hdr()
HDradeon_mn.c70 struct radeon_mn *rmn = container_of(work, struct radeon_mn, work); in radeon_mn_destroy()
105 struct radeon_mn *rmn = container_of(mn, struct radeon_mn, mn); in radeon_mn_release()
126 struct radeon_mn *rmn = container_of(mn, struct radeon_mn, mn); in radeon_mn_invalidate_range_start()
140 node = container_of(it, struct radeon_mn_node, it); in radeon_mn_invalidate_range_start()
258 node = container_of(it, struct radeon_mn_node, it); in radeon_mn_register()
318 node = container_of(head, struct radeon_mn_node, bos); in radeon_mn_unregister()
/dragonfly/sys/dev/drm/amd/display/amdgpu_dm/
HDamdgpu_dm.h178 #define to_amdgpu_dm_connector(x) container_of(x, struct amdgpu_dm_connector, base)
200 #define to_dm_crtc_state(x) container_of(x, struct dm_crtc_state, base)
208 #define to_dm_atomic_state(x) container_of(x, struct dm_atomic_state, base)
223 container_of((x), struct dm_connector_state, base)
/dragonfly/sys/dev/drm/amd/display/dc/i2caux/dce80/
HDi2c_sw_engine_dce80.c71 container_of((ptr), struct i2c_sw_engine_dce80, base)
79 FROM_I2C_SW_ENGINE(container_of((ptr), struct i2c_sw_engine, base))
87 FROM_I2C_ENGINE(container_of((ptr), struct i2c_engine, base))
/dragonfly/sys/dev/drm/amd/display/dc/i2caux/dce110/
HDi2c_sw_engine_dce110.c56 container_of((ptr), struct i2c_sw_engine_dce110, base)
63 FROM_I2C_SW_ENGINE(container_of((ptr), struct i2c_sw_engine, base))
71 FROM_I2C_ENGINE(container_of((ptr), struct i2c_engine, base))
/dragonfly/sys/dev/drm/scheduler/
HDsched_fence.c93 struct dma_fence *f = container_of(rcu, struct dma_fence, rcu); in drm_sched_fence_free()
144 return container_of(f, struct drm_sched_fence, scheduled); in to_drm_sched_fence()
147 return container_of(f, struct drm_sched_fence, finished); in to_drm_sched_fence()
HDgpu_scheduler.c59 container_of((sched_job), struct drm_sched_job, queue_node)
240 struct drm_sched_job *job = container_of(cb, struct drm_sched_job, in drm_sched_entity_kill_jobs_cb()
377 container_of(cb, struct drm_sched_entity, cb); in drm_sched_entity_wakeup()
386 container_of(cb, struct drm_sched_entity, cb); in drm_sched_entity_clear_dep()
558 struct drm_sched_job *s_job = container_of(work, struct drm_sched_job, in drm_sched_job_finish()
591 struct drm_sched_job *job = container_of(cb, struct drm_sched_job, in drm_sched_job_finish_cb()
614 struct drm_sched_job *job = container_of(work, struct drm_sched_job, in drm_sched_job_timedout()
821 container_of(cb, struct drm_sched_fence, cb); in drm_sched_process_job()
/dragonfly/sys/dev/drm/ttm/
HDttm_agp_backend.c52 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_bind()
86 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_unbind()
99 struct ttm_agp_backend *agp_be = container_of(ttm, struct ttm_agp_backend, ttm); in ttm_agp_destroy()
HDttm_memory.c77 container_of(kobj, struct ttm_mem_zone, kobj); in ttm_mem_zone_kobj_release()
89 container_of(kobj, struct ttm_mem_zone, kobj); in ttm_mem_zone_show()
117 container_of(kobj, struct ttm_mem_zone, kobj); in ttm_mem_zone_store()
172 container_of(kobj, struct ttm_mem_global, kobj); in ttm_mem_global_kobj_release()
238 container_of(work, struct ttm_mem_global, work); in ttm_shrink_work()
/dragonfly/sys/dev/drm/i915/
HDi915_gem_clflush.c55 struct clflush *clflush = container_of(fence, typeof(*clflush), dma); in i915_clflush_release()
80 struct clflush *clflush = container_of(work, typeof(*clflush), work); in i915_clflush_work()
103 struct clflush *clflush = container_of(fence, typeof(*clflush), wait); in i915_clflush_notify()
HDi915_gem_shrinker.c312 container_of(shrinker, struct drm_i915_private, mm.shrinker); in i915_gem_shrinker_count()
336 container_of(shrinker, struct drm_i915_private, mm.shrinker); in i915_gem_shrinker_scan()
404 container_of(nb, struct drm_i915_private, mm.oom_notifier);
447 container_of(nb, struct drm_i915_private, mm.vmap_notifier);
HDintel_drv.h342 #define to_intel_digital_connector_state(x) container_of(x, struct intel_digital_connector_state, b…
890 #define to_intel_atomic_state(x) container_of(x, struct intel_atomic_state, base)
891 #define to_intel_crtc(x) container_of(x, struct intel_crtc, base)
892 #define to_intel_crtc_state(x) container_of(x, struct intel_crtc_state, base)
893 #define to_intel_connector(x) container_of(x, struct intel_connector, base)
894 #define to_intel_encoder(x) container_of(x, struct intel_encoder, base)
895 #define to_intel_framebuffer(x) container_of(x, struct intel_framebuffer, base)
896 #define to_intel_plane(x) container_of(x, struct intel_plane, base)
897 #define to_intel_plane_state(x) container_of(x, struct intel_plane_state, base)
1156 return container_of(encoder, struct intel_digital_port, in enc_to_dig_port()
[all …]
HDintel_dsi.h122 return container_of(h, struct intel_dsi_host, base); in to_intel_dsi_host()
129 return container_of(encoder, struct intel_dsi, base.base); in enc_to_intel_dsi()
HDintel_fbdev.c60 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_set_par()
74 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_blank()
90 container_of(fb_helper, struct intel_fbdev, helper);
120 container_of(helper, struct intel_fbdev, helper); in intelfb_alloc()
178 container_of(helper, struct intel_fbdev, helper); in intelfb_create()
678 intel_fbdev_set_suspend(&container_of(work, in intel_fbdev_suspend_worker()
HDi915_gem_userptr.c67 struct i915_mmu_object *mo = container_of(work, typeof(*mo), work); in cancel_userptr()
121 container_of(_mn, struct i915_mmu_notifier, mn); in i915_gem_userptr_mn_invalidate_range_start()
144 mo = container_of(it, struct i915_mmu_object, it); in i915_gem_userptr_mn_invalidate_range_start()
377 struct i915_mm_struct *mm = container_of(work, typeof(*mm), work); in __i915_mm_struct_free__worker()
388 struct i915_mm_struct *mm = container_of(kref, typeof(*mm), kref); in __i915_mm_struct_free()
501 struct get_pages_work *work = container_of(_work, typeof(*work), work);
/dragonfly/sys/dev/drm/amd/display/dc/core/
HDdc_surface.c138 struct dc_plane_state *plane_state = container_of(kref, struct dc_plane_state, refcount); in dc_plane_state_free()
155 struct dc_gamma *gamma = container_of(kref, struct dc_gamma, refcount); in dc_gamma_free()
186 struct dc_transfer_func *tf = container_of(kref, struct dc_transfer_func, refcount); in dc_transfer_func_free()
/dragonfly/sys/dev/drm/amd/display/dc/i2caux/
HDi2c_generic_hw_engine.c56 container_of((ptr), struct i2c_generic_hw_engine, base)
64 FROM_I2C_HW_ENGINE(container_of((ptr), struct i2c_hw_engine, base))
72 FROM_I2C_ENGINE(container_of((ptr), struct i2c_engine, base))
/dragonfly/sys/dev/drm/amd/display/dc/gpio/
HDhw_gpio.h32 container_of((ptr), struct hw_gpio, base)
110 container_of((hw_gpio_pin), struct hw_gpio, base)
/dragonfly/sys/dev/drm/include/drm/
HDdrm_encoder_slave.h103 #define to_encoder_slave(x) container_of((x), struct drm_encoder_slave, base)
130 #define to_drm_i2c_encoder_driver(x) container_of((x), \
HDdrm_property.h220 #define obj_to_property(x) container_of(x, struct drm_property, base)
221 #define obj_to_blob(x) container_of(x, struct drm_property_blob, base)

12345678