Home
last modified time | relevance | path

Searched refs:handle (Results 526 – 550 of 4091) sorted by relevance

1...<<21222324252627282930>>...164

/openbmc/linux/net/sched/
H A Dcls_matchall.c20 u32 handle; member
146 static void *mall_get(struct tcf_proto *tp, u32 handle) in mall_get() argument
150 if (head && head->handle == handle) in mall_get()
164 u32 handle, struct nlattr **tca, in mall_change() argument
200 if (!handle) in mall_change()
201 handle = 1; in mall_change()
202 new->handle = handle; in mall_change()
340 t->tcm_handle = head->handle; in mall_dump()
H A Dsch_fifo.c64 qopt.handle = sch->handle; in fifo_offload_init()
78 qopt.handle = sch->handle; in fifo_offload_destroy()
88 qopt.handle = sch->handle; in fifo_offload_dump()
259 q = qdisc_create_dflt(sch->dev_queue, ops, TC_H_MAKE(sch->handle, 1), in fifo_create_dflt()
/openbmc/linux/drivers/acpi/pmic/
H A Dintel_pmic.c256 int intel_pmic_install_opregion_handler(struct device *dev, acpi_handle handle, in intel_pmic_install_opregion_handler() argument
267 if (!handle) in intel_pmic_install_opregion_handler()
276 opregion->lpat_table = acpi_lpat_get_conversion_table(handle); in intel_pmic_install_opregion_handler()
279 status = acpi_install_address_space_handler(handle, in intel_pmic_install_opregion_handler()
289 status = acpi_install_address_space_handler(handle, in intel_pmic_install_opregion_handler()
298 status = acpi_install_address_space_handler(handle, in intel_pmic_install_opregion_handler()
312 acpi_remove_address_space_handler(handle, in intel_pmic_install_opregion_handler()
318 acpi_remove_address_space_handler(handle, in intel_pmic_install_opregion_handler()
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dvxlan_flooding.sh178 tc filter add dev br0 egress protocol all pref 1 handle 1 \
181 tc filter add dev $h1 egress protocol all pref 1 handle 1 \
183 tc filter add dev $h1 egress protocol all pref 2 handle 2 \
191 tc filter add dev $rp2 ingress protocol ip pref $i handle $i \
204 handle $i flower
209 tc filter del dev $h1 egress protocol all pref 2 handle 2 matchall
210 tc filter del dev $h1 egress protocol all pref 1 handle 1 flower
212 tc filter del dev br0 egress protocol all pref 1 handle 1 matchall
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1046a-qds.dts196 phy-handle = <&qsgmii_phy_s2_p1>;
201 phy-handle = <&sgmii_phy_s4_p1>;
206 phy-handle = <&rgmii_phy1>;
211 phy-handle = <&rgmii_phy2>;
216 phy-handle = <&sgmii_phy_s1_p3>;
221 phy-handle = <&sgmii_phy_s1_p4>;
226 phy-handle = <&sgmii_phy_s1_p1>;
231 phy-handle = <&sgmii_phy_s1_p2>;
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dsmu_v13_0_10.c34 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in smu_v13_0_10_is_mode2_default()
46 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in smu_v13_0_10_get_reset_handler()
103 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in smu_v13_0_10_mode2_prepare_hwcontext()
121 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in smu_v13_0_10_async_reset()
136 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in smu_v13_0_10_mode2_perform_reset()
235 struct amdgpu_device *tmp_adev = (struct amdgpu_device *)reset_ctl->handle; in smu_v13_0_10_mode2_restore_hwcontext()
283 reset_ctl->handle = adev; in smu_v13_0_10_reset_init()
H A Damdgpu_vce.c85 static int amdgpu_vce_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
87 static int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
414 uint32_t handle = atomic_read(&adev->vce.handles[i]); in amdgpu_vce_free_handles() local
416 if (!handle || adev->vce.filp[i] != filp) in amdgpu_vce_free_handles()
419 r = amdgpu_vce_get_destroy_msg(ring, handle, false, NULL); in amdgpu_vce_free_handles()
437 static int amdgpu_vce_get_create_msg(struct amdgpu_ring *ring, uint32_t handle, in amdgpu_vce_get_create_msg() argument
471 ib->ptr[ib->length_dw++] = handle; in amdgpu_vce_get_create_msg()
529 static int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, in amdgpu_vce_get_destroy_msg() argument
552 ib->ptr[ib->length_dw++] = handle; in amdgpu_vce_get_destroy_msg()
699 uint32_t handle, uint32_t *allocated) in amdgpu_vce_validate_handle() argument
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_gem.c131 uint32_t *handle, in vmw_gem_object_create_with_handle() argument
147 ret = drm_gem_handle_create(filp, &(*p_vbo)->tbo.base, handle); in vmw_gem_object_create_with_handle()
195 uint32_t handle; in vmw_gem_object_create_ioctl() local
199 req->size, &handle, &vbo); in vmw_gem_object_create_ioctl()
203 rep->handle = handle; in vmw_gem_object_create_ioctl()
205 rep->cur_gmr_id = handle; in vmw_gem_object_create_ioctl()
H A Dvmwgfx_fence.c625 *p_handle = ufence->base.handle; in vmw_user_fence_create()
699 vmw_fence_obj_lookup(struct ttm_object_file *tfile, u32 handle) in vmw_fence_obj_lookup() argument
701 struct ttm_base_object *base = ttm_base_object_lookup(tfile, handle); in vmw_fence_obj_lookup()
705 (unsigned long)handle); in vmw_fence_obj_lookup()
711 (unsigned long)handle); in vmw_fence_obj_lookup()
745 base = vmw_fence_obj_lookup(tfile, arg->handle); in vmw_fence_obj_wait_ioctl()
770 return ttm_ref_object_base_unref(tfile, arg->handle); in vmw_fence_obj_wait_ioctl()
785 base = vmw_fence_obj_lookup(tfile, arg->handle); in vmw_fence_obj_signaled_ioctl()
812 arg->handle); in vmw_fence_obj_unref_ioctl()
1037 uint32_t handle; in vmw_fence_event_ioctl() local
[all …]
/openbmc/linux/fs/vboxsf/
H A Dshfl_hostintf.h398 u64 handle; member
570 struct vmmdev_hgcm_function_parameter handle; member
590 struct vmmdev_hgcm_function_parameter handle; member
628 struct vmmdev_hgcm_function_parameter handle; member
674 struct vmmdev_hgcm_function_parameter handle; member
775 struct vmmdev_hgcm_function_parameter handle; member
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dcurs507a.c81 u32 handle = nv50_disp(wndw->plane.dev)->core->chan.vram.handle; in curs507a_prepare() local
83 if (asyh->curs.handle != handle || asyh->curs.offset != offset) { in curs507a_prepare()
84 asyh->curs.handle = handle; in curs507a_prepare()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_bo5039.c137 nv50_bo_move_init(struct nouveau_channel *chan, u32 handle) in nv50_bo_move_init() argument
146 PUSH_MTHD(push, NV5039, SET_OBJECT, handle); in nv50_bo_move_init()
147 PUSH_MTHD(push, NV5039, SET_CONTEXT_DMA_NOTIFY, chan->drm->ntfy.handle, in nv50_bo_move_init()
148 SET_CONTEXT_DMA_BUFFER_IN, chan->vram.handle, in nv50_bo_move_init()
149 SET_CONTEXT_DMA_BUFFER_OUT, chan->vram.handle); in nv50_bo_move_init()
/openbmc/qemu/qapi/
H A Dcompat.json52 # @deprecated-input: how to handle deprecated input (default 'accept')
54 # @deprecated-output: how to handle deprecated output (default
57 # @unstable-input: how to handle unstable input (default 'accept')
60 # @unstable-output: how to handle unstable output (default 'accept')
/openbmc/linux/include/uapi/drm/
H A Dlima_drm.h48 __u32 handle; /* out, GEM buffer handle */ member
56 __u32 handle; /* in, GEM buffer handle */ member
66 __u32 handle; /* in, GEM buffer handle */ member
135 __u32 handle; /* in, GEM buffer handle */ member
H A Darmada_drm.h27 __u32 handle; member
34 __u32 handle; member
45 __u32 handle; member
/openbmc/linux/arch/arm64/kvm/hyp/include/nvhe/
H A Dpkvm.h60 int __pkvm_init_vcpu(pkvm_handle_t handle, struct kvm_vcpu *host_vcpu,
62 int __pkvm_teardown_vm(pkvm_handle_t handle);
64 struct pkvm_hyp_vcpu *pkvm_load_hyp_vcpu(pkvm_handle_t handle,
/openbmc/linux/drivers/input/
H A Djoydev.c37 struct input_handle handle; member
112 static void joydev_event(struct input_handle *handle, in joydev_event() argument
115 struct joydev *joydev = handle->private; in joydev_event()
164 input_put_device(joydev->handle.dev); in joydev_free()
187 struct input_dev *dev = joydev->handle.dev; in joydev_refresh_state()
207 retval = input_open_device(&joydev->handle); in joydev_open_device()
223 input_close_device(&joydev->handle); in joydev_close_device()
388 struct input_dev *input = joydev->handle.dev; in joydev_read()
513 struct input_dev *dev = joydev->handle.dev; in joydev_ioctl_common()
738 struct input_handle *handle = &joydev->handle; in joydev_cleanup() local
[all …]
/openbmc/linux/kernel/power/
H A Dsnapshot.c2244 int snapshot_read_next(struct snapshot_handle *handle) in snapshot_read_next() argument
2246 if (handle->cur > nr_meta_pages + nr_copy_pages) in snapshot_read_next()
2255 if (!handle->cur) { in snapshot_read_next()
2261 handle->buffer = buffer; in snapshot_read_next()
2264 } else if (handle->cur <= nr_meta_pages) { in snapshot_read_next()
2282 handle->buffer = buffer; in snapshot_read_next()
2284 handle->buffer = page_address(page); in snapshot_read_next()
2287 handle->cur++; in snapshot_read_next()
2778 int snapshot_write_next(struct snapshot_handle *handle) in snapshot_write_next() argument
2785 if (handle->cur > 1 && handle->cur > nr_meta_pages + nr_copy_pages + nr_zero_pages) in snapshot_write_next()
[all …]
/openbmc/linux/drivers/platform/x86/
H A Dfujitsu-laptop.c154 status = acpi_evaluate_integer(device->handle, "FUNC", &arg_list, in call_fext_func()
157 acpi_handle_err(device->handle, "Failed to evaluate FUNC\n"); in call_fext_func()
161 acpi_handle_debug(device->handle, in call_fext_func()
177 if (acpi_has_method(device->handle, "SBL2")) in set_lcd_level()
190 acpi_handle_debug(device->handle, "set lcd level via %s [%d]\n", method, in set_lcd_level()
196 status = acpi_execute_simple_method(device->handle, method, level); in set_lcd_level()
198 acpi_handle_err(device->handle, "Failed to evaluate %s\n", in set_lcd_level()
214 acpi_handle_debug(device->handle, "get lcd level via GBLL\n"); in get_lcd_level()
216 status = acpi_evaluate_integer(device->handle, "GBLL", NULL, &state); in get_lcd_level()
231 acpi_handle_debug(device->handle, "get max lcd level via RBLL\n"); in get_max_brightness()
[all …]
/openbmc/linux/drivers/hwmon/
H A Dacpi_power_meter.c114 status = acpi_evaluate_integer(resource->acpi_dev->handle, "_GAI", in update_avg_interval()
117 acpi_evaluation_failure_warn(resource->acpi_dev->handle, "_GAI", in update_avg_interval()
163 status = acpi_evaluate_integer(resource->acpi_dev->handle, "_PAI", in set_avg_interval()
170 acpi_evaluation_failure_warn(resource->acpi_dev->handle, "_PAI", in set_avg_interval()
188 status = acpi_evaluate_integer(resource->acpi_dev->handle, "_GHL", in update_cap()
191 acpi_evaluation_failure_warn(resource->acpi_dev->handle, "_GHL", in update_cap()
236 status = acpi_evaluate_integer(resource->acpi_dev->handle, "_SHL", in set_cap()
243 acpi_evaluation_failure_warn(resource->acpi_dev->handle, "_SHL", in set_cap()
274 status = acpi_evaluate_integer(resource->acpi_dev->handle, "_PTP", in set_acpi_trip()
277 acpi_evaluation_failure_warn(resource->acpi_dev->handle, "_PTP", in set_acpi_trip()
[all …]
/openbmc/linux/block/
H A Dbdev.c837 struct bdev_handle *handle = kmalloc(sizeof(*handle), GFP_KERNEL); in bdev_open_by_dev() local
840 if (!handle) in bdev_open_by_dev()
844 kfree(handle); in bdev_open_by_dev()
847 handle->bdev = bdev; in bdev_open_by_dev()
848 handle->holder = holder; in bdev_open_by_dev()
849 return handle; in bdev_open_by_dev()
894 struct bdev_handle *handle; in bdev_open_by_path() local
902 handle = bdev_open_by_dev(dev, mode, holder, hops); in bdev_open_by_path()
903 if (!IS_ERR(handle) && (mode & BLK_OPEN_WRITE) && in bdev_open_by_path()
904 bdev_read_only(handle->bdev)) { in bdev_open_by_path()
[all …]
/openbmc/linux/arch/arm/mm/
H A Ddma-mapping.c533 static void *__dma_alloc(struct device *dev, size_t size, dma_addr_t *handle, in __dma_alloc() argument
571 *handle = DMA_MAPPING_ERROR; in __dma_alloc()
589 *handle = phys_to_dma(dev, page_to_phys(page)); in __dma_alloc()
606 dma_addr_t handle, unsigned long attrs, in __arm_dma_free() argument
609 struct page *page = phys_to_page(dma_to_phys(dev, handle)); in __arm_dma_free()
1044 dma_addr_t *handle, int coherent_flag, in __iommu_alloc_simple() argument
1057 *handle = __iommu_create_mapping(dev, &page, size, attrs); in __iommu_alloc_simple()
1058 if (*handle == DMA_MAPPING_ERROR) in __iommu_alloc_simple()
1069 dma_addr_t handle, size_t size, int coherent_flag) in __iommu_free_atomic() argument
1071 __iommu_remove_mapping(dev, handle, size); in __iommu_free_atomic()
[all …]
/openbmc/linux/drivers/scsi/
H A Dsr_ioctl.c39 struct scsi_cd *cd = cdi->handle; in sr_read_tochdr()
72 struct scsi_cd *cd = cdi->handle; in sr_read_tocentry()
157 return sr_do_ioctl(cdi->handle, &cgc); in sr_fake_playtrkind()
164 struct scsi_cd *cd = cdi->handle; in sr_play_trkind()
274 Scsi_CD *cd = cdi->handle; in sr_tray_move()
287 Scsi_CD *cd = cdi->handle; in sr_lock_door()
295 struct scsi_cd *cd = cdi->handle; in sr_drive_status()
352 Scsi_CD *cd = cdi->handle; in sr_disk_status()
384 Scsi_CD *cd = cdi->handle; in sr_get_last_session()
394 Scsi_CD *cd = cdi->handle; in sr_get_mcn()
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.h554 struct hnae3_handle *handle; member
700 #define hns3_get_ae_dev(handle) \ argument
701 (pci_get_drvdata((handle)->pdev))
703 #define hns3_get_ops(handle) \ argument
704 ((handle)->ae_algo->ops)
737 void hns3_request_update_promisc_mode(struct hnae3_handle *handle);
738 int hns3_reset_notify(struct hnae3_handle *handle,
742 void hns3_dcbnl_setup(struct hnae3_handle *handle);
744 static inline void hns3_dcbnl_setup(struct hnae3_handle *handle) {} in hns3_dcbnl_setup() argument
747 int hns3_dbg_init(struct hnae3_handle *handle);
[all …]
/openbmc/qemu/util/
H A Dqemu-thread-win32.c435 HANDLE handle; in qemu_thread_join() local
449 handle = qemu_thread_get_handle(thread); in qemu_thread_join()
450 if (handle) { in qemu_thread_join()
451 WaitForSingleObject(handle, INFINITE); in qemu_thread_join()
452 CloseHandle(handle); in qemu_thread_join()
531 HANDLE handle; in qemu_thread_get_handle() local
540 handle = OpenThread(SYNCHRONIZE | THREAD_SUSPEND_RESUME | in qemu_thread_get_handle()
543 handle = NULL; in qemu_thread_get_handle()
546 return handle; in qemu_thread_get_handle()

1...<<21222324252627282930>>...164