Home
last modified time | relevance | path

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

123

/drivers/gpu/drm/i915/selftests/
Di915_gem_evict.c38 struct list_head *objects) in quirk_add() argument
43 list_add(&obj->st_link, objects); in quirk_add()
46 static int populate_ggtt(struct i915_ggtt *ggtt, struct list_head *objects) in populate_ggtt() argument
69 quirk_add(obj, objects); in populate_ggtt()
109 LIST_HEAD(objects); in igt_evict_something()
114 err = populate_ggtt(ggtt, &objects); in igt_evict_something()
147 cleanup_objects(ggtt, &objects); in igt_evict_something()
157 LIST_HEAD(objects); in igt_overcommit()
164 err = populate_ggtt(ggtt, &objects); in igt_overcommit()
174 quirk_add(obj, &objects); in igt_overcommit()
[all …]
Dintel_memory_region.c31 struct list_head *objects) in close_objects() argument
36 list_for_each_entry_safe(obj, on, objects, st_link) { in close_objects()
60 LIST_HEAD(objects); in igt_mock_fill()
83 list_add(&obj->st_link, &objects); in igt_mock_fill()
99 close_objects(mem, &objects); in igt_mock_fill()
106 struct list_head *objects, in igt_object_create() argument
121 list_add(&obj->st_link, objects); in igt_object_create()
164 LIST_HEAD(objects); in igt_mock_reserve()
209 obj = igt_object_create(mem, &objects, size, 0); in igt_mock_reserve()
227 close_objects(mem, &objects); in igt_mock_reserve()
[all …]
Di915_gem_gtt.c377 static void close_object_list(struct list_head *objects, in close_object_list() argument
383 list_for_each_entry_safe(obj, on, objects, st_link) { in close_object_list()
406 LIST_HEAD(objects); in fill_hole()
432 list_add(&obj->st_link, &objects); in fill_hole()
442 list_for_each_entry(obj, &objects, st_link) { in fill_hole()
479 list_for_each_entry(obj, &objects, st_link) { in fill_hole()
515 list_for_each_entry_reverse(obj, &objects, st_link) { in fill_hole()
552 list_for_each_entry_reverse(obj, &objects, st_link) { in fill_hole()
595 close_object_list(&objects, vm); in fill_hole()
602 close_object_list(&objects, vm); in fill_hole()
[all …]
Di915_vma.c107 struct list_head *objects, in create_vmas() argument
114 list_for_each_entry(obj, objects, st_link) { in create_vmas()
158 LIST_HEAD(objects); in igt_vma_create()
172 list_add(&obj->st_link, &objects); in igt_vma_create()
185 err = create_vmas(i915, &objects, &contexts); in igt_vma_create()
205 err = create_vmas(i915, &objects, &contexts); in igt_vma_create()
212 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/
Ddrm_lease.c351 struct drm_mode_object **objects, in validate_lease() argument
363 if (objects[o]->type == DRM_MODE_OBJECT_CRTC && has_crtc == -1) { in validate_lease()
366 if (objects[o]->type == DRM_MODE_OBJECT_CONNECTOR && has_connector == -1) in validate_lease()
370 if (objects[o]->type == DRM_MODE_OBJECT_PLANE && has_plane == -1) in validate_lease()
387 struct drm_mode_object **objects; in fill_object_idr() local
392 objects = kcalloc(object_count, sizeof(struct drm_mode_object *), in fill_object_idr()
394 if (!objects) in fill_object_idr()
400 objects[o] = drm_mode_object_find(dev, lessor_priv, in fill_object_idr()
403 if (!objects[o]) { in fill_object_idr()
408 if (!drm_mode_object_lease_required(objects[o]->type)) { in fill_object_idr()
[all …]
/drivers/gpu/drm/i915/gem/
Di915_gem_region.c16 mutex_lock(&mem->objects.lock); in i915_gem_object_init_memory_region()
17 list_add(&obj->mm.region_link, &mem->objects.list); in i915_gem_object_init_memory_region()
18 mutex_unlock(&mem->objects.lock); in i915_gem_object_init_memory_region()
25 mutex_lock(&mem->objects.lock); in i915_gem_object_release_memory_region()
27 mutex_unlock(&mem->objects.lock); in i915_gem_object_release_memory_region()
/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.c810 union acpi_object objects[2]; in acpi_ev_execute_orphan_reg_method() local
850 args.pointer = objects; in acpi_ev_execute_orphan_reg_method()
851 objects[0].type = ACPI_TYPE_INTEGER; in acpi_ev_execute_orphan_reg_method()
852 objects[0].integer.value = space_id; in acpi_ev_execute_orphan_reg_method()
853 objects[1].type = ACPI_TYPE_INTEGER; in acpi_ev_execute_orphan_reg_method()
854 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_memory_region.c108 mutex_init(&mem->objects.lock); in intel_memory_region_create()
109 INIT_LIST_HEAD(&mem->objects.list); in intel_memory_region_create()
143 mutex_destroy(&mem->objects.lock); in __intel_memory_region_destroy()
Di915_buddy.c236 void i915_buddy_free_list(struct i915_buddy_mm *mm, struct list_head *objects) in i915_buddy_free_list() argument
240 list_for_each_entry_safe(block, on, objects, link) { in i915_buddy_free_list()
244 INIT_LIST_HEAD(objects); in i915_buddy_free_list()
Di915_buddy.h130 void i915_buddy_free_list(struct i915_buddy_mm *mm, struct list_head *objects);
/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.
149 This driver can be used to measure the distance of objects.
171 This driver can be used to measure the distance of objects.
/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/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/gpu/drm/i915/gem/selftests/
Dhuge_pages.c675 static void close_object_list(struct list_head *objects, in close_object_list() argument
680 list_for_each_entry_safe(obj, on, objects, st_link) { in close_object_list()
697 LIST_HEAD(objects); in igt_mock_ppgtt_huge_fill()
728 list_add(&obj->st_link, &objects); in igt_mock_ppgtt_huge_fill()
803 close_object_list(&objects, ppgtt); in igt_mock_ppgtt_huge_fill()
820 } objects[] = { in igt_mock_ppgtt_64K() local
887 for (i = 0; i < ARRAY_SIZE(objects); ++i) { in igt_mock_ppgtt_64K()
888 unsigned int size = objects[i].size; in igt_mock_ppgtt_64K()
889 unsigned int expected_gtt = objects[i].gtt; in igt_mock_ppgtt_64K()
890 unsigned int offset = objects[i].offset; in igt_mock_ppgtt_64K()
Di915_gem_context.c579 struct list_head *objects) in create_test_object() argument
607 list_add_tail(&obj->st_link, objects); in create_test_object()
679 LIST_HEAD(objects); in igt_ctx_exec()
713 obj = create_test_object(ce->vm, file, &objects); in igt_ctx_exec()
757 list_for_each_entry(obj, &objects, st_link) { in igt_ctx_exec()
824 LIST_HEAD(objects); in igt_shared_ctx_exec()
847 file, &objects); in igt_shared_ctx_exec()
890 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 …]
/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/
DKconfig31 other DPAA2 objects. This driver does not expose the DPIO
32 objects individually, but groups them under a service layer
/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
/drivers/gpu/drm/nouveau/
Dnouveau_usif.c304 list_add(&object->head, &cli->objects); in usif_object_new()
419 list_for_each_entry_safe(object, otemp, &cli->objects, head) { in usif_client_fini()
427 INIT_LIST_HEAD(&cli->objects); in usif_client_init()

123