Home
last modified time | relevance | path

Searched refs:handles (Results 1 – 25 of 69) sorted by relevance

123

/drivers/xen/xenbus/
Dxenbus_client.c68 grant_handle_t handles[XENBUS_MAX_RING_GRANTS]; member
501 grant_handle_t *handles, in __xenbus_map_ring() argument
518 handles[i] = INVALID_GRANT_HANDLE; in __xenbus_map_ring()
531 handles[i] = map[i].handle; in __xenbus_map_ring()
538 if (handles[i] != INVALID_GRANT_HANDLE) { in __xenbus_map_ring()
541 GNTMAP_host_map, handles[i]); in __xenbus_map_ring()
591 err = __xenbus_map_ring(dev, gnt_refs, nr_grefs, node->handles, in xenbus_map_ring_valloc_pv()
672 err = __xenbus_map_ring(dev, gnt_ref, nr_grefs, node->handles, in xenbus_map_ring_valloc_hvm()
697 xenbus_unmap_ring(dev, node->handles, nr_grefs, info.addrs); in xenbus_map_ring_valloc_hvm()
730 unsigned int nr_grefs, grant_handle_t *handles, in xenbus_map_ring() argument
[all …]
/drivers/gpu/drm/armada/
Darmada_fb.c117 (mode->handles[0] != mode->handles[1] || in armada_fb_create()
118 mode->handles[0] != mode->handles[2])) { in armada_fb_create()
123 obj = armada_gem_object_lookup(dev, dfile, mode->handles[0]); in armada_fb_create()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_uvd.c198 atomic_set(&adev->uvd.handles[i], 0); in amdgpu_uvd_sw_init()
241 uint32_t handle = atomic_read(&adev->uvd.handles[i]); in amdgpu_uvd_suspend()
257 atomic_set(&adev->uvd.handles[i], 0); in amdgpu_uvd_suspend()
297 uint32_t handle = atomic_read(&adev->uvd.handles[i]); in amdgpu_uvd_free_handles()
313 atomic_set(&adev->uvd.handles[i], 0); in amdgpu_uvd_free_handles()
563 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg()
568 if (!atomic_cmpxchg(&adev->uvd.handles[i], 0, handle)) { in amdgpu_uvd_cs_msg()
586 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg()
601 atomic_cmpxchg(&adev->uvd.handles[i], handle, 0); in amdgpu_uvd_cs_msg()
1016 unsigned i, fences, handles = 0; in amdgpu_uvd_idle_work_handler() local
[all …]
Damdgpu_vce.c174 atomic_set(&adev->vce.handles[i], 0); in amdgpu_vce_sw_init()
217 if (atomic_read(&adev->vce.handles[i])) in amdgpu_vce_suspend()
344 uint32_t handle = atomic_read(&adev->vce.handles[i]); in amdgpu_vce_free_handles()
355 atomic_set(&adev->vce.handles[i], 0); in amdgpu_vce_free_handles()
588 if (atomic_read(&p->adev->vce.handles[i]) == handle) { in amdgpu_vce_validate_handle()
599 if (!atomic_cmpxchg(&p->adev->vce.handles[i], 0, handle)) { in amdgpu_vce_validate_handle()
749 atomic_cmpxchg(&p->adev->vce.handles[i], handle, 0); in amdgpu_vce_ring_parse_cs()
/drivers/gpu/drm/radeon/
Dradeon_uvd.c176 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_init()
213 uint32_t handle = atomic_read(&rdev->uvd.handles[i]); in radeon_uvd_suspend()
230 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_suspend()
288 uint32_t handle = atomic_read(&rdev->uvd.handles[i]); in radeon_uvd_free_handles()
305 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_free_handles()
473 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) { in radeon_uvd_cs_msg()
478 if (!atomic_cmpxchg(&p->rdev->uvd.handles[i], 0, handle)) { in radeon_uvd_cs_msg()
499 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) { in radeon_uvd_cs_msg()
514 atomic_cmpxchg(&p->rdev->uvd.handles[i], handle, 0); in radeon_uvd_cs_msg()
811 if (!atomic_read(&rdev->uvd.handles[i])) in radeon_uvd_count_handles()
Dradeon_vce.c167 atomic_set(&rdev->vce.handles[i], 0); in radeon_vce_init()
205 if (atomic_read(&rdev->vce.handles[i])) in radeon_vce_suspend()
320 uint32_t handle = atomic_read(&rdev->vce.handles[i]); in radeon_vce_free_handles()
332 atomic_set(&rdev->vce.handles[i], 0); in radeon_vce_free_handles()
528 if (atomic_read(&p->rdev->vce.handles[i]) == handle) { in radeon_vce_validate_handle()
539 if (!atomic_cmpxchg(&p->rdev->vce.handles[i], 0, handle)) { in radeon_vce_validate_handle()
680 atomic_cmpxchg(&p->rdev->vce.handles[i], handle, 0); in radeon_vce_cs_parse()
/drivers/platform/x86/
Dsony-laptop.c835 static struct sony_nc_handles *handles; variable
843 for (i = 0; i < ARRAY_SIZE(handles->cap); i++) { in sony_nc_handles_show()
845 handles->cap[i]); in sony_nc_handles_show()
856 handles = kzalloc(sizeof(*handles), GFP_KERNEL); in sony_nc_handles_setup()
857 if (!handles) in sony_nc_handles_setup()
860 for (i = 0; i < ARRAY_SIZE(handles->cap); i++) { in sony_nc_handles_setup()
867 handles->cap[i] = result; in sony_nc_handles_setup()
872 sysfs_attr_init(&handles->devattr.attr); in sony_nc_handles_setup()
873 handles->devattr.attr.name = "handles"; in sony_nc_handles_setup()
874 handles->devattr.attr.mode = S_IRUGO; in sony_nc_handles_setup()
[all …]
/drivers/scsi/qla2xxx/
Dqla_isr.c585 uint32_t handles[5]; in qla2x00_async_event() local
600 handles[0] = le32_to_cpu((uint32_t)((mb[2] << 16) | mb[1])); in qla2x00_async_event()
604 handles[0] = mb[1]; in qla2x00_async_event()
609 handles[0] = mb[1]; in qla2x00_async_event()
610 handles[1] = mb[2]; in qla2x00_async_event()
615 handles[0] = mb[1]; in qla2x00_async_event()
616 handles[1] = mb[2]; in qla2x00_async_event()
617 handles[2] = mb[3]; in qla2x00_async_event()
622 handles[0] = mb[1]; in qla2x00_async_event()
623 handles[1] = mb[2]; in qla2x00_async_event()
[all …]
/drivers/gpu/drm/sti/
DNOTES12 - The cursor handles ... a cursor.
15 - DVO (Digital Video Output) handles a 24bits parallel signal
/drivers/staging/android/ion/
Dion.c87 struct rb_root handles; member
373 rb_erase(&handle->node, &client->handles); in ion_handle_destroy()
425 struct rb_node *n = client->handles.rb_node; in ion_handle_lookup()
462 struct rb_node **p = &client->handles.rb_node; in ion_handle_add()
485 rb_insert_color(&handle->node, &client->handles); in ion_handle_add()
719 for (n = rb_first(&client->handles); n; n = rb_next(n)) { in ion_debug_client_show()
803 client->handles = RB_ROOT; in ion_client_create()
864 while ((n = rb_first(&client->handles))) { in ion_client_destroy()
1437 for (n = rb_first(&client->handles); n; n = rb_next(n)) { in ion_debug_heap_total()
/drivers/thermal/samsung/
DKconfig7 the TMU, reports temperature and handles cooling action if defined.
/drivers/gpu/drm/omapdrm/
Domap_drv.h251 struct drm_gem_object **bos, uint32_t *handles) in objects_lookup() argument
256 bos[i] = drm_gem_object_lookup(dev, filp, handles[i]); in objects_lookup()
/drivers/staging/most/Documentation/
Ddriver_usage.txt28 module only. This module handles the communication flow through all three
34 HDM (hardware dependent module). Each module of this layer handles exactly
51 that handles the interface.
/drivers/accessibility/
DKconfig4 Accessibility handles all special kinds of hardware devices or
/drivers/gpu/drm/nouveau/
Dnouveau_abi16.h33 u64 handles; member
/drivers/staging/unisys/Documentation/ABI/
Dsysfs-platform-visorchipset77 first disabling all VFs attached to that PF. s-Par handles this
96 first disabling all VFs attached to that PF. s-Par handles this
/drivers/gpu/drm/exynos/
Dexynos_drm_ipp.c491 if (m_node->buf_info.handles[i]) { in ipp_validate_mem_node()
493 m_node->buf_info.handles[i], in ipp_validate_mem_node()
532 unsigned long handle = m_node->buf_info.handles[i]; in ipp_put_mem_node()
583 buf_info->handles[i] = qbuf->handle[i]; in ipp_get_mem_node()
586 buf_info->base[i], buf_info->handles[i]); in ipp_get_mem_node()
Dexynos_drm_ipp.h90 unsigned long handles[EXYNOS_DRM_PLANAR_MAX]; member
Dexynos_drm_fb.c167 mode_cmd->handles[i]); in exynos_user_fb_create()
/drivers/acpi/
Dthermal.c785 handle = tz->trips.passive.devices.handles[i]; in acpi_thermal_cooling_device_cb()
811 handle = tz->trips.active[i].devices.handles[j]; in acpi_thermal_cooling_device_cb()
829 handle = tz->devices.handles[i]; in acpi_thermal_cooling_device_cb()
1182 tz->trips.active[i].devices.handles[j], in acpi_thermal_resume()
Dutils.c384 list->handles[i] = element->reference.handle; in acpi_evaluate_reference()
386 list->handles[i])); in acpi_evaluate_reference()
/drivers/misc/vmw_vmci/
Dvmci_host.c203 struct vmci_handle *handles; in drv_cp_harray_to_user() local
208 if (array_size * sizeof(*handles) > *user_buf_size) in drv_cp_harray_to_user()
211 *user_buf_size = array_size * sizeof(*handles); in drv_cp_harray_to_user()
/drivers/uio/
DKconfig20 driver requires a userspace component called cif that handles
34 handles interrupts in a special way. Userspace is responsible
/drivers/fmc/
DKconfig32 The driver also handles interrupts (we used it with a real carrier
/drivers/gpu/drm/rockchip/
Drockchip_drm_fb.c127 mode_cmd->handles[i]); in rockchip_user_fb_create()

123