/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | vce_v2_0.c | 204 static bool vce_v2_0_is_idle(void *handle) in vce_v2_0_is_idle() argument 206 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v2_0_is_idle() 211 static int vce_v2_0_wait_for_idle(void *handle) in vce_v2_0_wait_for_idle() argument 213 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v2_0_wait_for_idle() 217 if (vce_v2_0_is_idle(handle)) in vce_v2_0_wait_for_idle() 401 static int vce_v2_0_early_init(void *handle) in vce_v2_0_early_init() argument 403 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v2_0_early_init() 413 static int vce_v2_0_sw_init(void *handle) in vce_v2_0_sw_init() argument 417 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v2_0_sw_init() 449 static int vce_v2_0_sw_fini(void *handle) in vce_v2_0_sw_fini() argument [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | tc_police.sh | 132 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 152 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 158 tc filter add dev $rp1 ingress protocol ip pref 1 handle 101 flower \ 164 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower 170 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 flower \ 176 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower 207 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 212 tc filter add dev $rp1 ingress protocol ip pref 1 handle 101 flower \ 219 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 flower \ 227 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower [all …]
|
H A D | tc_chains.sh | 38 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ 47 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ 57 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ 59 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ 61 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 76 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 77 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower 78 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ 133 tc filter add dev $h2 ingress protocol ip pref 1 handle 1101 \ 137 tc filter add dev $h2 ingress protocol ip pref 1 handle 1102 \ [all …]
|
H A D | tc_flower_cfm.sh | 60 tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \ 62 tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \ 85 tc filter del dev $h2 ingress protocol cfm pref 1 handle 101 flower 86 tc filter del dev $h2 ingress protocol cfm pref 1 handle 102 flower 96 tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \ 98 tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \ 100 tc filter add dev $h2 ingress protocol cfm pref 1 handle 103 \ 131 tc filter del dev $h2 ingress protocol cfm pref 1 handle 101 flower 132 tc filter del dev $h2 ingress protocol cfm pref 1 handle 102 flower 133 tc filter del dev $h2 ingress protocol cfm pref 1 handle 103 flower [all …]
|
H A D | sch_tbf_etsprio.sh | 17 tc qdisc replace dev $swp2 parent 10:3 handle 103: tbf \ 19 tc qdisc replace dev $swp2 parent 10:2 handle 102: tbf \ 32 tc qdisc add dev $swp2 root handle 10: $QDISC 3 priomap 2 1 0 43 tc qdisc replace dev $swp2 root handle 1: \ 45 tc qdisc replace dev $swp2 parent 1:1 handle 10: \ 47 tc qdisc replace dev $swp2 parent 10:3 handle 103: \ 49 tc qdisc replace dev $swp2 parent 10:2 handle 102: \ 51 tc qdisc replace dev $swp2 parent 10:1 handle 101: \
|
/openbmc/linux/net/sched/ |
H A D | cls_route.c | 54 u32 handle; member 217 static void *route4_get(struct tcf_proto *tp, u32 handle) in route4_get() argument 224 h1 = to_hash(handle); in route4_get() 228 h2 = from_hash(handle >> 16); in route4_get() 237 if (f->handle == handle) in route4_get() 327 h = f->handle; in route4_delete() 385 u32 handle, struct route4_head *head, in route4_set_parms() argument 400 if (new && handle & 0x8000) in route4_set_parms() 423 if (handle && new) { in route4_set_parms() 424 nhandle |= handle & 0x7F00; in route4_set_parms() [all …]
|
H A D | cls_basic.c | 30 u32 handle; member 62 static void *basic_get(struct tcf_proto *tp, u32 handle) in basic_get() argument 68 if (f->handle == handle) { in basic_get() 117 idr_remove(&head->handle_idr, f->handle); in basic_destroy() 135 idr_remove(&head->handle_idr, f->handle); in basic_delete() 173 struct tcf_proto *tp, unsigned long base, u32 handle, in basic_change() argument 192 if (handle && fold->handle != handle) in basic_change() 204 if (!handle) { in basic_change() 205 handle = 1; in basic_change() 206 err = idr_alloc_u32(&head->handle_idr, fnew, &handle, in basic_change() [all …]
|
/openbmc/linux/include/linux/ |
H A D | zpool.h | 47 unsigned long *handle); 49 void zpool_free(struct zpool *pool, unsigned long handle); 51 void *zpool_map_handle(struct zpool *pool, unsigned long handle, 54 void zpool_unmap_handle(struct zpool *pool, unsigned long handle); 86 unsigned long *handle); 87 void (*free)(void *pool, unsigned long handle); 90 void *(*map)(void *pool, unsigned long handle, 92 void (*unmap)(void *pool, unsigned long handle);
|
H A D | acpi.h | 42 return adev ? adev->handle : NULL; in acpi_device_handle() 308 int acpi_processor_evaluate_cst(acpi_handle handle, u32 cpu, 312 static inline int acpi_processor_evaluate_cst(acpi_handle handle, u32 cpu, in acpi_processor_evaluate_cst() argument 321 int acpi_map_cpu(acpi_handle handle, phys_cpuid_t physid, u32 acpi_id, 327 int acpi_get_ioapic_id(acpi_handle handle, u32 gsi_base, u64 *phys_addr); 330 int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base); 331 int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base); 332 int acpi_ioapic_registered(acpi_handle handle, u32 gsi_base); 437 extern long acpi_is_video_device(acpi_handle handle); 444 int acpi_get_node(acpi_handle handle); [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | file.c | 311 handle_t *handle; in ext4_handle_inode_extension() local 314 handle = ext4_journal_start(inode, EXT4_HT_INODE, 2); in ext4_handle_inode_extension() 315 if (IS_ERR(handle)) in ext4_handle_inode_extension() 316 return PTR_ERR(handle); in ext4_handle_inode_extension() 319 int ret = ext4_mark_inode_dirty(handle, inode); in ext4_handle_inode_extension() 321 ext4_journal_stop(handle); in ext4_handle_inode_extension() 327 ext4_orphan_del(handle, inode); in ext4_handle_inode_extension() 328 ext4_journal_stop(handle); in ext4_handle_inode_extension() 358 handle_t *handle = ext4_journal_start(inode, EXT4_HT_INODE, 2); in ext4_inode_extension_cleanup() local 360 if (IS_ERR(handle)) { in ext4_inode_extension_cleanup() [all …]
|
H A D | extents.c | 87 static int ext4_split_extent_at(handle_t *handle, 136 int ext4_datasem_ensure_credits(handle_t *handle, struct inode *inode, in ext4_datasem_ensure_credits() argument 143 ret = ext4_journal_ensure_credits_fn(handle, check_cred, restart_cred, in ext4_datasem_ensure_credits() 155 static int ext4_ext_get_access(handle_t *handle, struct inode *inode, in ext4_ext_get_access() argument 163 err = ext4_journal_get_write_access(handle, inode->i_sb, in ext4_ext_get_access() 186 handle_t *handle, struct inode *inode, in __ext4_ext_dirty() argument 195 err = __ext4_handle_dirty_metadata(where, line, handle, in __ext4_ext_dirty() 202 err = ext4_mark_inode_dirty(handle, inode); in __ext4_ext_dirty() 207 #define ext4_ext_dirty(handle, inode, path) \ argument 208 __ext4_ext_dirty(__func__, __LINE__, (handle), (inode), (path)) [all …]
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | wil_platform.h | 37 int (*bus_request)(void *handle, uint32_t kbps /* KBytes/Sec */); 38 int (*suspend)(void *handle, bool keep_device_power); 39 int (*resume)(void *handle, bool device_powered_on); 40 void (*uninit)(void *handle); 41 int (*notify)(void *handle, enum wil_platform_event evt); 42 int (*get_capa)(void *handle); 43 void (*set_features)(void *handle, int features);
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | driver.c | 95 const struct scmi_handle *handle; member 162 struct scmi_handle handle; member 184 #define handle_to_scmi_info(h) container_of(h, struct scmi_info, handle) 286 void scmi_notification_instance_data_set(const struct scmi_handle *handle, in scmi_notification_instance_data_set() argument 289 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_notification_instance_data_set() 296 void *scmi_notification_instance_data_get(const struct scmi_handle *handle) in scmi_notification_instance_data_get() argument 298 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_notification_instance_data_get() 481 int scmi_xfer_raw_inflight_register(const struct scmi_handle *handle, in scmi_xfer_raw_inflight_register() argument 484 struct scmi_info *info = handle_to_scmi_info(handle); in scmi_xfer_raw_inflight_register() 535 static struct scmi_xfer *scmi_xfer_get(const struct scmi_handle *handle, in scmi_xfer_get() argument [all …]
|
/openbmc/linux/drivers/platform/x86/ |
H A D | asus-laptop.c | 274 acpi_handle handle; /* the handle of the hotk device */ member 361 static int write_acpi_int_ret(acpi_handle handle, const char *method, int val, in write_acpi_int_ret() argument 368 if (!handle) in write_acpi_int_ret() 376 status = acpi_evaluate_object(handle, (char *)method, ¶ms, output); in write_acpi_int_ret() 383 static int write_acpi_int(acpi_handle handle, const char *method, int val) in write_acpi_int() argument 385 return write_acpi_int_ret(handle, method, val, NULL); in write_acpi_int() 388 static int acpi_check_handle(acpi_handle handle, const char *method, in acpi_check_handle() argument 397 status = acpi_get_handle(handle, (char *)method, in acpi_check_handle() 402 status = acpi_get_handle(handle, (char *)method, in acpi_check_handle() 417 !acpi_check_handle(asus->handle, METHOD_PEGA_ENABLE, NULL) && in asus_check_pega_lucid() [all …]
|
/openbmc/linux/include/acpi/ |
H A D | acpi_bus.h | 27 acpi_evaluate_integer(acpi_handle handle, 31 acpi_evaluate_reference(acpi_handle handle, 36 acpi_evaluate_ost(acpi_handle handle, u32 source_event, u32 status_code, 40 acpi_get_physical_device_location(acpi_handle handle, struct acpi_pld_info **pld); 42 bool acpi_has_method(acpi_handle handle, char *name); 43 acpi_status acpi_execute_simple_method(acpi_handle handle, char *method, 45 acpi_status acpi_evaluate_ej0(acpi_handle handle); 46 acpi_status acpi_evaluate_lck(acpi_handle handle, int lock); 47 acpi_status acpi_evaluate_reg(acpi_handle handle, u8 space_id, u32 function); 48 bool acpi_ata_match(acpi_handle handle); [all …]
|
H A D | acpiosxf.h | 89 void acpi_os_delete_lock(acpi_spinlock handle); 93 acpi_cpu_flags acpi_os_acquire_lock(acpi_spinlock handle); 97 void acpi_os_release_lock(acpi_spinlock handle, acpi_cpu_flags flags); 109 # define acpi_os_delete_raw_lock(handle) acpi_os_delete_lock(handle) argument 113 # define acpi_os_acquire_raw_lock(handle) acpi_os_acquire_lock(handle) argument 117 # define acpi_os_release_raw_lock(handle, flags) \ argument 118 acpi_os_release_lock(handle, flags) 131 acpi_status acpi_os_delete_semaphore(acpi_semaphore handle); 136 acpi_os_wait_semaphore(acpi_semaphore handle, u32 units, u16 timeout); 140 acpi_status acpi_os_signal_semaphore(acpi_semaphore handle, u32 units); [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-scmi.c | 23 acpi_handle handle; member 173 status = acpi_evaluate_object(smbus_cmi->handle, method, &input, in acpi_smbus_cmi_access() 176 acpi_handle_err(smbus_cmi->handle, in acpi_smbus_cmi_access() 185 acpi_handle_err(smbus_cmi->handle, "Invalid argument type\n"); in acpi_smbus_cmi_access() 190 acpi_handle_err(smbus_cmi->handle, "Invalid argument type\n"); in acpi_smbus_cmi_access() 196 acpi_handle_debug(smbus_cmi->handle, "%s return status: %i\n", method, in acpi_smbus_cmi_access() 222 acpi_handle_err(smbus_cmi->handle, "Invalid argument type\n"); in acpi_smbus_cmi_access() 234 acpi_handle_err(smbus_cmi->handle, in acpi_smbus_cmi_access() 246 acpi_handle_err(smbus_cmi->handle, in acpi_smbus_cmi_access() 297 struct acpi_handle *handle = smbus_cmi->handle; in acpi_smbus_cmi_add_cap() local [all …]
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | memory_mgr.c | 20 struct hl_mmap_mem_buf *hl_mmap_mem_buf_get(struct hl_mem_mgr *mmg, u64 handle) in hl_mmap_mem_buf_get() argument 25 buf = idr_find(&mmg->handles, lower_32_bits(handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_get() 28 dev_dbg(mmg->dev, "Buff get failed, no match to handle %#llx\n", handle); in hl_mmap_mem_buf_get() 67 idr_remove(&buf->mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_release() 86 idr_remove(&buf->mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_remove_idr_locked() 113 int hl_mmap_mem_buf_put_handle(struct hl_mem_mgr *mmg, u64 handle) in hl_mmap_mem_buf_put_handle() argument 118 buf = idr_find(&mmg->handles, lower_32_bits(handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_put_handle() 122 "Buff put failed, no match to handle %#llx\n", handle); in hl_mmap_mem_buf_put_handle() 171 buf->handle = (((u64)rc | buf->behavior->mem_id) << PAGE_SHIFT); in hl_mmap_mem_buf_alloc() 185 idr_remove(&mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_alloc() [all …]
|
/openbmc/qemu/net/ |
H A D | tap-win32.c | 101 HANDLE handle; member 396 static int tap_win32_set_status(HANDLE handle, int status) in tap_win32_set_status() argument 400 return DeviceIoControl(handle, TAP_IOCTL_SET_MEDIA_STATUS, in tap_win32_set_status() 405 static void tap_win32_overlapped_init(tap_win32_overlapped_t* const overlapped, const HANDLE handle) in tap_win32_overlapped_init() argument 407 overlapped->handle = handle; in tap_win32_overlapped_init() 467 result = GetOverlappedResult( overlapped->handle, &overlapped->write_overlapped, in tap_win32_write() 474 result = WriteFile(overlapped->handle, buffer, size, in tap_win32_write() 489 result = GetOverlappedResult(overlapped->handle, in tap_win32_write() 522 result = ReadFile(overlapped->handle, in tap_win32_thread_entry() 531 result = GetOverlappedResult( overlapped->handle, &overlapped->read_overlapped, in tap_win32_thread_entry() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | firewire-cdev.h | 184 __u32 handle; member 215 __u32 handle; member 286 __u32 handle; member 414 __u32 handle; member 671 __u32 handle; member 715 __u32 handle; member 725 __u32 handle; member 782 __u32 handle; member 795 __u32 handle; member 842 __u32 handle; member [all …]
|
/openbmc/linux/fs/ocfs2/ |
H A D | suballoc.c | 67 static int ocfs2_block_group_fill(handle_t *handle, 92 handle_t *handle, 98 static int ocfs2_relink_block_group(handle_t *handle, 340 static int ocfs2_block_group_fill(handle_t *handle, in ocfs2_block_group_fill() argument 361 status = ocfs2_journal_access_gd(handle, in ocfs2_block_group_fill() 389 ocfs2_journal_dirty(handle, bg_bh); in ocfs2_block_group_fill() 417 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig() argument 428 status = ocfs2_claim_clusters(handle, ac, in ocfs2_block_group_alloc_contig() 450 status = ocfs2_block_group_fill(handle, alloc_inode, bg_bh, in ocfs2_block_group_alloc_contig() 462 handle_t *handle, in ocfs2_block_group_claim_bits() argument [all …]
|
H A D | dir.c | 57 handle_t *handle, 151 static int ocfs2_dx_dir_link_trailer(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_link_trailer() argument 159 ret = ocfs2_journal_access_dr(handle, INODE_CACHE(dir), dx_root_bh, in ocfs2_dx_dir_link_trailer() 171 ocfs2_journal_dirty(handle, dx_root_bh); in ocfs2_dx_dir_link_trailer() 1093 int ocfs2_update_entry(struct inode *dir, handle_t *handle, in ocfs2_update_entry() argument 1111 ret = access(handle, INODE_CACHE(dir), de_bh, in ocfs2_update_entry() 1121 ocfs2_journal_dirty(handle, de_bh); in ocfs2_update_entry() 1131 static int __ocfs2_delete_entry(handle_t *handle, struct inode *dir, in __ocfs2_delete_entry() argument 1153 status = access(handle, INODE_CACHE(dir), bh, in __ocfs2_delete_entry() 1165 ocfs2_journal_dirty(handle, bh); in __ocfs2_delete_entry() [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | pci_slot.c | 42 check_slot(acpi_handle handle, unsigned long long *sun) in check_slot() argument 49 acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer); in check_slot() 54 status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); in check_slot() 59 status = acpi_evaluate_integer(handle, "_ADR", NULL, &adr); in check_slot() 67 status = acpi_evaluate_integer(handle, "_SUN", NULL, sun); in check_slot() 84 register_slot(acpi_handle handle, u32 lvl, void *context, void **rv) in register_slot() argument 93 device = check_slot(handle, &sun); in register_slot() 132 acpi_handle handle = ACPI_HANDLE(bus->bridge); in acpi_pci_slot_enumerate() local 134 if (handle) { in acpi_pci_slot_enumerate() 136 acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1, in acpi_pci_slot_enumerate()
|
/openbmc/u-boot/lib/ |
H A D | smbios.c | 74 static int smbios_write_type0(ulong *current, int handle) in smbios_write_type0() argument 81 fill_smbios_header(t, SMBIOS_BIOS_INFORMATION, len, handle); in smbios_write_type0() 111 static int smbios_write_type1(ulong *current, int handle) in smbios_write_type1() argument 119 fill_smbios_header(t, SMBIOS_SYSTEM_INFORMATION, len, handle); in smbios_write_type1() 134 static int smbios_write_type2(ulong *current, int handle) in smbios_write_type2() argument 141 fill_smbios_header(t, SMBIOS_BOARD_INFORMATION, len, handle); in smbios_write_type2() 154 static int smbios_write_type3(ulong *current, int handle) in smbios_write_type3() argument 161 fill_smbios_header(t, SMBIOS_SYSTEM_ENCLOSURE, len, handle); in smbios_write_type3() 208 static int smbios_write_type4(ulong *current, int handle) in smbios_write_type4() argument 215 fill_smbios_header(t, SMBIOS_PROCESSOR_INFORMATION, len, handle); in smbios_write_type4() [all …]
|
/openbmc/qemu/crypto/ |
H A D | tlssession.c | 39 gnutls_session_t handle; member 67 gnutls_deinit(session->handle); in qcrypto_tls_session_free() 162 ret = gnutls_init(&session->handle, GNUTLS_SERVER); in qcrypto_tls_session_new() 164 ret = gnutls_init(&session->handle, GNUTLS_CLIENT); in qcrypto_tls_session_new() 186 ret = gnutls_priority_set_direct(session->handle, prio, NULL); in qcrypto_tls_session_new() 195 ret = gnutls_credentials_set(session->handle, in qcrypto_tls_session_new() 199 ret = gnutls_credentials_set(session->handle, in qcrypto_tls_session_new() 222 ret = gnutls_priority_set_direct(session->handle, prio, NULL); in qcrypto_tls_session_new() 231 ret = gnutls_credentials_set(session->handle, in qcrypto_tls_session_new() 235 ret = gnutls_credentials_set(session->handle, in qcrypto_tls_session_new() [all …]
|