Home
last modified time | relevance | path

Searched refs:objects (Results 1 – 25 of 74) sorted by relevance

123

/drivers/gpu/drm/i915/selftests/
A Di915_gem_evict.c40 struct list_head *objects) in quirk_add() argument
45 list_add(&obj->st_link, objects); in quirk_add()
71 quirk_add(obj, objects); in populate_ggtt()
111 LIST_HEAD(objects); in igt_evict_something()
159 LIST_HEAD(objects); in igt_overcommit()
176 quirk_add(obj, &objects); in igt_overcommit()
198 LIST_HEAD(objects); in igt_evict_for_vma()
253 LIST_HEAD(objects); in igt_evict_for_cache_color()
271 quirk_add(obj, &objects); in igt_evict_for_cache_color()
287 quirk_add(obj, &objects); in igt_evict_for_cache_color()
[all …]
A Dintel_memory_region.c33 struct list_head *objects) in close_objects() argument
62 LIST_HEAD(objects); in igt_mock_fill()
101 close_objects(mem, &objects); in igt_mock_fill()
108 struct list_head *objects, in igt_object_create() argument
166 LIST_HEAD(objects); in igt_mock_reserve()
229 close_objects(mem, &objects); in igt_mock_reserve()
241 LIST_HEAD(objects); in igt_mock_contiguous()
318 list = &objects; in igt_mock_contiguous()
376 LIST_HEAD(objects); in igt_mock_splintered_region()
455 LIST_HEAD(objects); in igt_mock_max_segment()
[all …]
A Di915_gem_gtt.c422 LIST_HEAD(objects); in fill_hole()
448 list_add(&obj->st_link, &objects); in fill_hole()
624 close_object_list(&objects, vm); in fill_hole()
631 close_object_list(&objects, vm); in fill_hole()
912 LIST_HEAD(objects); in __shrink_hole()
930 list_add(&obj->st_link, &objects); in __shrink_hole()
977 close_object_list(&objects, vm); in __shrink_hole()
1539 LIST_HEAD(objects); in igt_gtt_reserve()
1568 list_add(&obj->st_link, &objects); in igt_gtt_reserve()
1613 list_add(&obj->st_link, &objects); in igt_gtt_reserve()
[all …]
/drivers/gpu/drm/i915/gem/
A Di915_gem_region.c18 mutex_lock(&mem->objects.lock); in i915_gem_object_init_memory_region()
19 list_add(&obj->mm.region_link, &mem->objects.list); in i915_gem_object_init_memory_region()
20 mutex_unlock(&mem->objects.lock); in i915_gem_object_init_memory_region()
27 mutex_lock(&mem->objects.lock); in i915_gem_object_release_memory_region()
29 mutex_unlock(&mem->objects.lock); in i915_gem_object_release_memory_region()
169 mutex_lock(&mr->objects.lock); in i915_gem_process_region()
173 obj = list_first_entry_or_null(&mr->objects.list, typeof(*obj), in i915_gem_process_region()
187 mutex_unlock(&mr->objects.lock); in i915_gem_process_region()
200 mutex_lock(&mr->objects.lock); in i915_gem_process_region()
204 list_splice_tail(&still_in_list, &mr->objects.list); in i915_gem_process_region()
[all …]
/drivers/gpu/drm/
A Ddrm_exec.c87 exec->objects = kvmalloc_array(nr, sizeof(void *), GFP_KERNEL); in drm_exec_init()
90 exec->max_objects = exec->objects ? nr : 0; in drm_exec_init()
107 kvfree(exec->objects); in drm_exec_fini()
150 tmp = kvrealloc(exec->objects, size + PAGE_SIZE, GFP_KERNEL); in drm_exec_obj_locked()
154 exec->objects = tmp; in drm_exec_obj_locked()
158 exec->objects[exec->num_objects++] = obj; in drm_exec_obj_locked()
267 if (exec->objects[i] == obj) { in drm_exec_unlock_obj()
270 exec->objects[i - 1] = exec->objects[i]; in drm_exec_unlock_obj()
324 struct drm_gem_object **objects, in drm_exec_prepare_array() argument
331 ret = drm_exec_prepare_obj(exec, objects[i], num_fences); in drm_exec_prepare_array()
A Ddrm_lease.c348 struct drm_mode_object **objects, in validate_lease() argument
384 struct drm_mode_object **objects; in fill_object_idr() local
391 if (!objects) in fill_object_idr()
397 objects[o] = drm_mode_object_find(dev, lessor_priv, in fill_object_idr()
400 if (!objects[o]) { in fill_object_idr()
405 if (!drm_mode_object_lease_required(objects[o]->type)) { in fill_object_idr()
421 struct drm_mode_object *obj = objects[o]; in fill_object_idr()
422 u32 object_id = objects[o]->id; in fill_object_idr()
463 if (objects[o]) in fill_object_idr()
464 drm_mode_object_put(objects[o]); in fill_object_idr()
[all …]
A Ddrm_buddy.c470 struct list_head *objects, in __drm_buddy_free_list() argument
478 list_for_each_entry_safe(block, on, objects, link) { in __drm_buddy_free_list()
486 INIT_LIST_HEAD(objects); in __drm_buddy_free_list()
490 struct list_head *objects) in drm_buddy_free_list_internal() argument
497 __drm_buddy_free_list(mm, objects, false, false); in drm_buddy_free_list_internal()
508 struct list_head *objects, in drm_buddy_free_list() argument
513 __drm_buddy_free_list(mm, objects, mark_clear, !mark_clear); in drm_buddy_free_list()
/drivers/iommu/iommufd/
A Dmain.c107 xa_lock(&ictx->objects); in iommufd_object_finalize()
109 xa_unlock(&ictx->objects); in iommufd_object_finalize()
120 xa_lock(&ictx->objects); in iommufd_object_abort()
122 xa_unlock(&ictx->objects); in iommufd_object_abort()
149 xa_lock(&ictx->objects); in iommufd_get_object()
150 obj = xa_load(&ictx->objects, id); in iommufd_get_object()
154 xa_unlock(&ictx->objects); in iommufd_get_object()
210 xa_lock(&ictx->objects); in iommufd_object_remove()
236 xa_unlock(&ictx->objects); in iommufd_object_remove()
257 xa_unlock(&ictx->objects); in iommufd_object_remove()
[all …]
A Dvfio_compat.c19 xa_lock(&ictx->objects); in get_compat_ioas()
24 xa_unlock(&ictx->objects); in get_compat_ioas()
59 xa_lock(&ictx->objects); in iommufd_vfio_compat_set_no_iommu()
66 xa_unlock(&ictx->objects); in iommufd_vfio_compat_set_no_iommu()
89 xa_lock(&ictx->objects); in iommufd_vfio_compat_ioas_create()
105 xa_unlock(&ictx->objects); in iommufd_vfio_compat_ioas_create()
117 xa_unlock(&ictx->objects); in iommufd_vfio_compat_ioas_create()
143 xa_lock(&ucmd->ictx->objects); in iommufd_vfio_ioas()
145 xa_unlock(&ucmd->ictx->objects); in iommufd_vfio_ioas()
150 xa_lock(&ucmd->ictx->objects); in iommufd_vfio_ioas()
[all …]
A Dioas.c414 xa_lock(&ictx->objects); in iommufd_take_all_iova_rwsem()
415 xa_for_each(&ictx->objects, index, obj) { in iommufd_take_all_iova_rwsem()
424 xa_unlock(&ictx->objects); in iommufd_take_all_iova_rwsem()
436 xa_lock(&ictx->objects); in iommufd_take_all_iova_rwsem()
438 xa_unlock(&ictx->objects); in iommufd_take_all_iova_rwsem()
605 xa_lock(&ictx->objects); in iommufd_option_rlimit_mode()
606 if (!xa_empty(&ictx->objects)) { in iommufd_option_rlimit_mode()
616 xa_unlock(&ictx->objects); in iommufd_option_rlimit_mode()
/drivers/bus/fsl-mc/
A DKconfig15 DPAA2 objects (which are represented as Linux devices) and
16 binding objects to drivers.
23 configuring DPAA2 objects exported by the Management Complex.
/drivers/acpi/acpica/
A Devregion.c831 union acpi_object objects[2]; in acpi_ev_execute_orphan_reg_method() local
871 args.pointer = objects; in acpi_ev_execute_orphan_reg_method()
872 objects[0].type = ACPI_TYPE_INTEGER; in acpi_ev_execute_orphan_reg_method()
873 objects[0].integer.value = space_id; in acpi_ev_execute_orphan_reg_method()
874 objects[1].type = ACPI_TYPE_INTEGER; in acpi_ev_execute_orphan_reg_method()
875 objects[1].integer.value = ACPI_REG_CONNECT; in acpi_ev_execute_orphan_reg_method()
A Ddbexec.c50 void acpi_db_delete_objects(u32 count, union acpi_object *objects) in acpi_db_delete_objects() argument
55 switch (objects[i].type) { in acpi_db_delete_objects()
58 ACPI_FREE(objects[i].buffer.pointer); in acpi_db_delete_objects()
65 acpi_db_delete_objects(objects[i].package.count, in acpi_db_delete_objects()
66 objects[i].package.elements); in acpi_db_delete_objects()
70 ACPI_FREE(objects[i].package.elements); in acpi_db_delete_objects()
/drivers/media/mc/
A Dmc-request.c48 list_for_each_entry_safe(obj, obj_safe, &req->objects, list) { in media_request_clean()
317 INIT_LIST_HEAD(&req->objects); in media_request_alloc()
369 list_for_each_entry(obj, &req->objects, list) { in media_request_object_find()
420 list_add_tail(&obj->list, &req->objects); in media_request_object_bind()
422 list_add(&obj->list, &req->objects); in media_request_object_bind()
/drivers/gpu/drm/i915/
A Dintel_region_ttm.c126 mutex_lock(&mem->objects.lock); in intel_region_ttm_fini()
127 if (list_empty(&mem->objects.list)) in intel_region_ttm_fini()
129 mutex_unlock(&mem->objects.lock); in intel_region_ttm_fini()
A Dintel_memory_region.c276 mutex_init(&mem->objects.lock); in intel_memory_region_create()
277 INIT_LIST_HEAD(&mem->objects.list); in intel_memory_region_create()
330 GEM_WARN_ON(!list_empty_careful(&mem->objects.list)); in intel_memory_region_destroy()
331 mutex_destroy(&mem->objects.lock); in intel_memory_region_destroy()
/drivers/net/ethernet/freescale/dpaa2/
A DKconfig12 The driver manages network objects discovered on the Freescale
39 switch objects discovered on the Freeescale MC bus.
/drivers/gpu/drm/qxl/
A Dqxl_gem.c69 list_add_tail(&qbo->list, &qdev->gem.objects); in qxl_gem_object_create()
125 INIT_LIST_HEAD(&qdev->gem.objects); in qxl_gem_init()
/drivers/gpu/drm/i915/gem/selftests/
A Dhuge_pages.c723 LIST_HEAD(objects); in igt_ppgtt_huge_fill()
769 list_add(&obj->st_link, &objects); in igt_ppgtt_huge_fill()
846 close_object_list(&objects); in igt_ppgtt_huge_fill()
869 } objects[] = { in igt_ppgtt_64K() local
947 for (i = 0; i < ARRAY_SIZE(objects); ++i) { in igt_ppgtt_64K()
948 unsigned int size = objects[i].size; in igt_ppgtt_64K()
949 unsigned int expected_gtt = objects[i].gtt; in igt_ppgtt_64K()
950 unsigned int offset = objects[i].offset; in igt_ppgtt_64K()
1623 LIST_HEAD(objects); in igt_ppgtt_mixed()
1670 list_add_tail(&obj->st_link, &objects); in igt_ppgtt_mixed()
[all …]
A Di915_gem_context.c580 struct list_head *objects) in create_test_object() argument
608 list_add_tail(&obj->st_link, objects); in create_test_object()
680 LIST_HEAD(objects); in igt_ctx_exec()
714 obj = create_test_object(ce->vm, file, &objects); in igt_ctx_exec()
758 list_for_each_entry(obj, &objects, st_link) { in igt_ctx_exec()
825 LIST_HEAD(objects); in igt_shared_ctx_exec()
848 file, &objects); in igt_shared_ctx_exec()
891 list_for_each_entry(obj, &objects, st_link) { in igt_shared_ctx_exec()
1379 LIST_HEAD(objects); in igt_ctx_readonly()
1424 obj = create_test_object(ce->vm, file, &objects); in igt_ctx_readonly()
[all …]
A Di915_gem_mman.c1016 struct list_head *objects) in igt_close_objects() argument
1020 list_for_each_entry_safe(obj, on, objects, st_link) { in igt_close_objects()
1036 static void igt_make_evictable(struct list_head *objects) in igt_make_evictable() argument
1040 list_for_each_entry(obj, objects, st_link) { in igt_make_evictable()
1051 struct list_head *objects) in igt_fill_mappable() argument
1067 list_add(&obj->st_link, objects); in igt_fill_mappable()
1090 igt_close_objects(mr->i915, objects); in igt_fill_mappable()
1180 LIST_HEAD(objects); in __igt_mmap_migrate()
1211 err = igt_fill_mappable(placements[0], &objects); in __igt_mmap_migrate()
1243 igt_make_evictable(&objects); in __igt_mmap_migrate()
[all …]
/drivers/gpu/drm/loongson/
A Dlsdc_gem.c168 list_add_tail(&lbo->list, &ldev->gem.objects); in lsdc_gem_object_create()
270 INIT_LIST_HEAD(&ldev->gem.objects); in lsdc_gem_init()
285 list_for_each_entry(lbo, &ldev->gem.objects, list) { in lsdc_show_buffer_object()
/drivers/iio/proximity/
A DKconfig103 the distance of objects. Supported types are mb1202, mb1212,
115 used to measure the distance of objects.
140 of objects. It is using two GPIOs.
220 This driver can be used to measure the distance of objects.
242 This driver can be used to measure the distance of objects.
/drivers/thermal/intel/int340x_thermal/
A DKconfig21 as the master, and INT3401~INT340B ACPI device objects as the slaves.
23 from these objects to userspace via the normal thermal framework.
/drivers/soc/fsl/
A DKconfig32 other DPAA2 objects. This driver does not expose the DPIO
33 objects individually, but groups them under a service layer

Completed in 52 milliseconds

123