Home
last modified time | relevance | path

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

123

/drivers/gpu/drm/i915/selftests/
Di915_gem_evict.c39 struct list_head *objects) in quirk_add() argument
44 list_add(&obj->st_link, objects); in quirk_add()
47 static int populate_ggtt(struct i915_ggtt *ggtt, struct list_head *objects) in populate_ggtt() argument
70 quirk_add(obj, objects); in populate_ggtt()
110 LIST_HEAD(objects); in igt_evict_something()
115 err = populate_ggtt(ggtt, &objects); in igt_evict_something()
148 cleanup_objects(ggtt, &objects); in igt_evict_something()
158 LIST_HEAD(objects); in igt_overcommit()
165 err = populate_ggtt(ggtt, &objects); in igt_overcommit()
175 quirk_add(obj, &objects); in igt_overcommit()
[all …]
Dintel_memory_region.c33 struct list_head *objects) in close_objects() argument
38 list_for_each_entry_safe(obj, on, objects, st_link) { in close_objects()
62 LIST_HEAD(objects); in igt_mock_fill()
85 list_add(&obj->st_link, &objects); in igt_mock_fill()
101 close_objects(mem, &objects); in igt_mock_fill()
108 struct list_head *objects, in igt_object_create() argument
123 list_add(&obj->st_link, objects); in igt_object_create()
166 LIST_HEAD(objects); in igt_mock_reserve()
211 obj = igt_object_create(mem, &objects, size, 0); in igt_mock_reserve()
229 close_objects(mem, &objects); in igt_mock_reserve()
[all …]
Di915_gem_gtt.c384 static void close_object_list(struct list_head *objects, in close_object_list() argument
390 list_for_each_entry_safe(obj, on, objects, st_link) { in close_object_list()
415 LIST_HEAD(objects); in fill_hole()
441 list_add(&obj->st_link, &objects); in fill_hole()
451 list_for_each_entry(obj, &objects, st_link) { in fill_hole()
491 list_for_each_entry(obj, &objects, st_link) { in fill_hole()
530 list_for_each_entry_reverse(obj, &objects, st_link) { in fill_hole()
570 list_for_each_entry_reverse(obj, &objects, st_link) { in fill_hole()
616 close_object_list(&objects, vm); in fill_hole()
623 close_object_list(&objects, vm); in fill_hole()
[all …]
Di915_vma.c108 struct list_head *objects, in create_vmas() argument
115 list_for_each_entry(obj, objects, st_link) { in create_vmas()
159 LIST_HEAD(objects); in igt_vma_create()
173 list_add(&obj->st_link, &objects); in igt_vma_create()
186 err = create_vmas(i915, &objects, &contexts); in igt_vma_create()
206 err = create_vmas(i915, &objects, &contexts); in igt_vma_create()
213 list_for_each_entry_safe(obj, on, &objects, st_link) in igt_vma_create()
Di915_mock_selftests.h28 selftest(objects, i915_gem_object_mock_selftests)
Di915_live_selftests.h31 selftest(objects, i915_gem_object_live_selftests)
/drivers/gpu/drm/i915/gem/
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/
Ddrm_lease.c345 struct drm_mode_object **objects, in validate_lease() argument
357 if (objects[o]->type == DRM_MODE_OBJECT_CRTC && has_crtc == -1) { in validate_lease()
360 if (objects[o]->type == DRM_MODE_OBJECT_CONNECTOR && has_connector == -1) in validate_lease()
364 if (objects[o]->type == DRM_MODE_OBJECT_PLANE && has_plane == -1) in validate_lease()
381 struct drm_mode_object **objects; in fill_object_idr() local
386 objects = kcalloc(object_count, sizeof(struct drm_mode_object *), in fill_object_idr()
388 if (!objects) in fill_object_idr()
394 objects[o] = drm_mode_object_find(dev, lessor_priv, in fill_object_idr()
397 if (!objects[o]) { in fill_object_idr()
402 if (!drm_mode_object_lease_required(objects[o]->type)) { in fill_object_idr()
[all …]
/drivers/bus/fsl-mc/
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/
Devregion.c820 union acpi_object objects[2]; in acpi_ev_execute_orphan_reg_method() local
860 args.pointer = objects; in acpi_ev_execute_orphan_reg_method()
861 objects[0].type = ACPI_TYPE_INTEGER; in acpi_ev_execute_orphan_reg_method()
862 objects[0].integer.value = space_id; in acpi_ev_execute_orphan_reg_method()
863 objects[1].type = ACPI_TYPE_INTEGER; in acpi_ev_execute_orphan_reg_method()
864 objects[1].integer.value = ACPI_REG_CONNECT; in acpi_ev_execute_orphan_reg_method()
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/gpu/drm/i915/
Dintel_region_ttm.c127 mutex_lock(&mem->objects.lock); in intel_region_ttm_fini()
128 if (list_empty(&mem->objects.list)) in intel_region_ttm_fini()
130 mutex_unlock(&mem->objects.lock); in intel_region_ttm_fini()
Dintel_memory_region.c247 mutex_init(&mem->objects.lock); in intel_memory_region_create()
248 INIT_LIST_HEAD(&mem->objects.list); in intel_memory_region_create()
301 GEM_WARN_ON(!list_empty_careful(&mem->objects.list)); in intel_memory_region_destroy()
302 mutex_destroy(&mem->objects.lock); in intel_memory_region_destroy()
/drivers/gpu/drm/nouveau/
Dnouveau_usif.c87 list_add(&object->head, &cli->objects); in usif_object_new()
191 list_for_each_entry_safe(object, otemp, &cli->objects, head) { in usif_client_fini()
199 INIT_LIST_HEAD(&cli->objects); in usif_client_init()
/drivers/media/mc/
Dmc-request.c48 list_for_each_entry_safe(obj, obj_safe, &req->objects, list) { in media_request_clean()
323 INIT_LIST_HEAD(&req->objects); in media_request_alloc()
375 list_for_each_entry(obj, &req->objects, list) { in media_request_object_find()
426 list_add_tail(&obj->list, &req->objects); in media_request_object_bind()
428 list_add(&obj->list, &req->objects); in media_request_object_bind()
/drivers/iio/proximity/
DKconfig66 the distance of objects. Supported types are mb1202, mb1212,
78 used to measure the distance of objects.
103 of objects. It is using two GPIOs.
183 This driver can be used to measure the distance of objects.
205 This driver can be used to measure the distance of objects.
/drivers/gpu/drm/qxl/
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/net/ethernet/freescale/dpaa2/
DKconfig12 The driver manages network objects discovered on the Freescale
39 switch objects discovered on the Freeescale MC bus.
/drivers/thermal/intel/int340x_thermal/
DKconfig19 as the master, and INT3401~INT340B ACPI device objects as the slaves.
21 from these objects to userspace via the normal thermal framework.
/drivers/soc/fsl/
DKconfig32 other DPAA2 objects. This driver does not expose the DPIO
33 objects individually, but groups them under a service layer
/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_mman.c1014 struct list_head *objects) in igt_close_objects() argument
1018 list_for_each_entry_safe(obj, on, objects, st_link) { in igt_close_objects()
1034 static void igt_make_evictable(struct list_head *objects) in igt_make_evictable() argument
1038 list_for_each_entry(obj, objects, st_link) { in igt_make_evictable()
1049 struct list_head *objects) in igt_fill_mappable() argument
1065 list_add(&obj->st_link, objects); in igt_fill_mappable()
1088 igt_close_objects(mr->i915, objects); in igt_fill_mappable()
1178 LIST_HEAD(objects); in __igt_mmap_migrate()
1209 err = igt_fill_mappable(placements[0], &objects); in __igt_mmap_migrate()
1241 igt_make_evictable(&objects); in __igt_mmap_migrate()
[all …]
Di915_gem_context.c576 struct list_head *objects) in create_test_object() argument
604 list_add_tail(&obj->st_link, objects); in create_test_object()
676 LIST_HEAD(objects); in igt_ctx_exec()
710 obj = create_test_object(ce->vm, file, &objects); in igt_ctx_exec()
754 list_for_each_entry(obj, &objects, st_link) { in igt_ctx_exec()
821 LIST_HEAD(objects); in igt_shared_ctx_exec()
844 file, &objects); in igt_shared_ctx_exec()
887 list_for_each_entry(obj, &objects, st_link) { in igt_shared_ctx_exec()
1378 LIST_HEAD(objects); in igt_ctx_readonly()
1423 obj = create_test_object(ce->vm, file, &objects); in igt_ctx_readonly()
[all …]
Dhuge_pages.c694 static void close_object_list(struct list_head *objects, in close_object_list() argument
699 list_for_each_entry_safe(obj, on, objects, st_link) { in close_object_list()
716 LIST_HEAD(objects); in igt_mock_ppgtt_huge_fill()
747 list_add(&obj->st_link, &objects); in igt_mock_ppgtt_huge_fill()
822 close_object_list(&objects, ppgtt); in igt_mock_ppgtt_huge_fill()
839 } objects[] = { in igt_mock_ppgtt_64K() local
906 for (i = 0; i < ARRAY_SIZE(objects); ++i) { in igt_mock_ppgtt_64K()
907 unsigned int size = objects[i].size; in igt_mock_ppgtt_64K()
908 unsigned int expected_gtt = objects[i].gtt; in igt_mock_ppgtt_64K()
909 unsigned int offset = objects[i].offset; in igt_mock_ppgtt_64K()
/drivers/input/rmi4/
Drmi_f12.c148 int objects = f12->data1->num_subpackets; in rmi_f12_process_objects() local
151 objects = size / F12_DATA1_BYTES_PER_OBJ; in rmi_f12_process_objects()
153 for (i = 0; i < objects; i++) { in rmi_f12_process_objects()
194 for (i = 0; i < objects; i++) in rmi_f12_process_objects()
/drivers/gpu/drm/amd/display/
DTODO14 4. DONE - Flatten all DC objects
16 * Same for other DC objects
28 5. DONE - Rename DC objects to align more with DRM

123