/openbmc/linux/drivers/xen/ |
H A D | xen-acpi-pad.c | 50 static int acpi_pad_pur(acpi_handle handle) in acpi_pad_pur() argument 56 if (ACPI_FAILURE(acpi_evaluate_object(handle, "_PUR", NULL, &buffer))) in acpi_pad_pur() 73 static void acpi_pad_handle_notify(acpi_handle handle) in acpi_pad_handle_notify() argument 83 idle_nums = acpi_pad_pur(handle); in acpi_pad_handle_notify() 92 acpi_evaluate_ost(handle, ACPI_PROCESSOR_AGGREGATOR_NOTIFY, in acpi_pad_handle_notify() 97 static void acpi_pad_notify(acpi_handle handle, u32 event, in acpi_pad_notify() argument 102 acpi_pad_handle_notify(handle); in acpi_pad_notify() 117 status = acpi_install_notify_handler(device->handle, in acpi_pad_add() 131 acpi_remove_notify_handler(device->handle, in acpi_pad_remove()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | asus-laptop.c | 368 if (!handle) in write_acpi_int_ret() 385 return write_acpi_int_ret(handle, method, val, NULL); in write_acpi_int() 397 status = acpi_get_handle(handle, (char *)method, in acpi_check_handle() 402 status = acpi_get_handle(handle, (char *)method, in acpi_check_handle() 425 return write_acpi_int(asus->handle, method, unit); in asus_pega_lucid_set() 547 return write_acpi_int(asus->handle, method, value); in asus_led_set() 923 if (write_acpi_int(asus->handle, method, value)) in sysfs_acpi_set() 1257 if (write_acpi_int(asus->handle, meth, 0x02)) in asus_gps_switch() 1574 acpi_handle handle = asus->handle; in asus_sysfs_is_visible() local 1711 if (write_acpi_int(asus->handle, "CWAP", wapf)) in asus_laptop_get_info() [all …]
|
/openbmc/u-boot/include/ |
H A D | smbios.h | 63 u16 handle; member 82 u16 handle; member 100 u16 handle; member 120 u16 handle; member 148 u16 handle; member 181 u16 handle; member 190 u16 handle; member 197 u16 handle; member 211 int length, int handle) in fill_smbios_header() argument 217 header->handle = handle; in fill_smbios_header() [all …]
|
/openbmc/linux/include/linux/sunrpc/ |
H A D | rpc_rdma.h | 137 static inline __be32 *xdr_encode_rdma_segment(__be32 *p, u32 handle, in xdr_encode_rdma_segment() argument 140 *p++ = cpu_to_be32(handle); in xdr_encode_rdma_segment() 157 u32 handle, u32 length, in xdr_encode_read_segment() argument 161 return xdr_encode_rdma_segment(p, handle, length, offset); in xdr_encode_read_segment() 174 static inline __be32 *xdr_decode_rdma_segment(__be32 *p, u32 *handle, in xdr_decode_rdma_segment() argument 177 *handle = be32_to_cpup(p++); in xdr_decode_rdma_segment() 194 u32 *handle, u32 *length, in xdr_decode_read_segment() argument 198 return xdr_decode_rdma_segment(p, handle, length, offset); in xdr_decode_read_segment()
|
/openbmc/linux/drivers/thermal/intel/int340x_thermal/ |
H A D | int3402_thermal.c | 19 acpi_handle *handle; member 23 static void int3402_notify(acpi_handle handle, u32 event, void *data) in int3402_notify() argument 48 if (!acpi_has_method(adev->handle, "_TMP")) in int3402_thermal_probe() 59 ret = acpi_install_notify_handler(adev->handle, in int3402_thermal_probe() 68 d->handle = adev->handle; in int3402_thermal_probe() 78 acpi_remove_notify_handler(d->handle, in int3402_thermal_remove()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
H A D | hclge_comm_tqp_stats.c | 10 u64 *hclge_comm_tqps_get_stats(struct hnae3_handle *handle, u64 *data) in hclge_comm_tqps_get_stats() argument 12 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hclge_comm_tqps_get_stats() 30 int hclge_comm_tqps_get_sset_count(struct hnae3_handle *handle) in hclge_comm_tqps_get_sset_count() argument 32 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hclge_comm_tqps_get_sset_count() 37 u8 *hclge_comm_tqps_get_strings(struct hnae3_handle *handle, u8 *data) in hclge_comm_tqps_get_strings() argument 39 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hclge_comm_tqps_get_strings() 60 int hclge_comm_tqps_update_stats(struct hnae3_handle *handle, in hclge_comm_tqps_update_stats() argument 63 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hclge_comm_tqps_update_stats() 103 void hclge_comm_reset_tqp_stats(struct hnae3_handle *handle) in hclge_comm_reset_tqp_stats() argument 105 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hclge_comm_reset_tqp_stats()
|
/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 134 static int smbios_write_type2(ulong *current, int handle) in smbios_write_type2() argument 154 static int smbios_write_type3(ulong *current, int handle) in smbios_write_type3() argument 208 static int smbios_write_type4(ulong *current, int handle) in smbios_write_type4() argument 232 static int smbios_write_type32(ulong *current, int handle) in smbios_write_type32() argument 247 static int smbios_write_type127(ulong *current, int handle) in smbios_write_type127() argument 254 fill_smbios_header(t, SMBIOS_END_OF_TABLE, len, handle); in smbios_write_type127() 279 int handle = 0; in write_smbios_table() local [all …]
|
/openbmc/linux/drivers/acpi/dptf/ |
H A D | dptf_power.c | 34 status = acpi_evaluate_integer(acpi_dev->handle, #object,\ 75 status = acpi_execute_simple_method(acpi_dev->handle, "PBOK", seq_no); in prochot_confirm_store() 121 static long long dptf_participant_type(acpi_handle handle) in dptf_participant_type() argument 126 status = acpi_evaluate_integer(handle, "PTYP", NULL, &ptype); in dptf_participant_type() 133 static void dptf_power_notify(acpi_handle handle, u32 event, void *data) in dptf_power_notify() argument 166 if (dptf_participant_type(handle) == 0x0CULL) in dptf_power_notify() 183 ptype = dptf_participant_type(acpi_dev->handle); in dptf_power_add() 191 result = acpi_install_notify_handler(acpi_dev->handle, in dptf_power_add() 201 acpi_remove_notify_handler(acpi_dev->handle, in dptf_power_add() 216 acpi_remove_notify_handler(acpi_dev->handle, in dptf_power_remove() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls1046-post.dtsi | 26 pcsphy-handle = <&qsgmiib_pcs3>; 27 pcs-handle-names = "qsgmii"; 40 pcsphy-handle = <&pcsphy4>, <&qsgmiib_pcs1>; 41 pcs-handle-names = "sgmii", "qsgmii"; 45 pcsphy-handle = <&pcsphy5>, <&pcsphy5>; 46 pcs-handle-names = "sgmii", "qsgmii"; 53 pcsphy-handle = <&pcsphy7>, <&qsgmiib_pcs2>, <&pcsphy7>; 54 pcs-handle-names = "sgmii", "qsgmii", "xfi";
|
/openbmc/linux/include/linux/ |
H A D | acpi.h | 42 return adev ? adev->handle : NULL; in acpi_device_handle() 444 int acpi_get_node(acpi_handle handle); 1203 #define acpi_handle_emerg(handle, fmt, ...) \ argument 1205 #define acpi_handle_alert(handle, fmt, ...) \ argument 1207 #define acpi_handle_crit(handle, fmt, ...) \ argument 1209 #define acpi_handle_err(handle, fmt, ...) \ argument 1211 #define acpi_handle_warn(handle, fmt, ...) \ argument 1215 #define acpi_handle_info(handle, fmt, ...) \ argument 1219 #define acpi_handle_debug(handle, fmt, ...) \ argument 1223 #define acpi_handle_debug(handle, fmt, ...) \ argument [all …]
|
/openbmc/linux/fs/ocfs2/ |
H A D | suballoc.c | 92 handle_t *handle, 462 handle_t *handle, in ocfs2_block_group_claim_bits() argument 682 if (IS_ERR(handle)) { in ocfs2_block_group_alloc() 684 handle = NULL; in ocfs2_block_group_alloc() 749 if (handle) in ocfs2_block_group_alloc() 2003 handle, in ocfs2_claim_metadata() 2090 handle = NULL; in ocfs2_find_new_inode_loc() 2112 if (handle) in ocfs2_find_new_inode_loc() 2211 handle, in ocfs2_claim_new_inode() 2317 handle, in __ocfs2_claim_clusters() [all …]
|
H A D | dir.c | 57 handle_t *handle, 1689 handle, in __ocfs2_add_entry() 2190 handle_t *handle, in ocfs2_fill_new_dir_id() argument 2223 handle_t *handle, in ocfs2_fill_new_dir_el() argument 2518 handle_t *handle, in ocfs2_fill_new_dir_dx() argument 2793 handle_t *handle; in ocfs2_expand_inline_dir() local 2853 if (IS_ERR(handle)) { in ocfs2_expand_inline_dir() 3274 handle = NULL; in ocfs2_extend_dir() 3330 if (handle) in ocfs2_extend_dir() 3764 handle = NULL; in ocfs2_dx_dir_rebalance() [all …]
|
/openbmc/linux/fs/notify/ |
H A D | fdinfo.c | 45 struct file_handle handle; in show_mark_fhandle() member 50 f.handle.handle_bytes = sizeof(f.pad); in show_mark_fhandle() 51 size = f.handle.handle_bytes >> 2; in show_mark_fhandle() 53 ret = exportfs_encode_fid(inode, (struct fid *)f.handle.f_handle, &size); in show_mark_fhandle() 59 f.handle.handle_type = ret; in show_mark_fhandle() 60 f.handle.handle_bytes = size * sizeof(u32); in show_mark_fhandle() 63 f.handle.handle_bytes, f.handle.handle_type); in show_mark_fhandle() 65 for (i = 0; i < f.handle.handle_bytes; i++) in show_mark_fhandle() 66 seq_printf(m, "%02x", (int)f.handle.f_handle[i]); in show_mark_fhandle()
|
/openbmc/qemu/net/ |
H A D | tap-win32.c | 101 HANDLE handle; member 410 overlapped->handle = handle; in tap_win32_overlapped_init() 525 result = ReadFile(overlapped->handle, in tap_win32_thread_entry() 601 HANDLE handle; in tap_win32_open() local 625 handle = CreateFile ( in tap_win32_open() 634 if (handle == INVALID_HANDLE_VALUE) { in tap_win32_open() 643 CloseHandle(handle); in tap_win32_open() 647 if (!tap_win32_set_status(handle, TRUE)) { in tap_win32_open() 664 tap_win32_overlapped_t *handle; member 781 tap_win32_overlapped_t *handle; in tap_win32_init() local [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | uvd_v5_0.c | 91 static int uvd_v5_0_early_init(void *handle) in uvd_v5_0_early_init() argument 102 static int uvd_v5_0_sw_init(void *handle) in uvd_v5_0_sw_init() argument 133 static int uvd_v5_0_sw_fini(void *handle) in uvd_v5_0_sw_fini() argument 152 static int uvd_v5_0_hw_init(void *handle) in uvd_v5_0_hw_init() argument 209 static int uvd_v5_0_hw_fini(void *handle) in uvd_v5_0_hw_fini() argument 221 static int uvd_v5_0_suspend(void *handle) in uvd_v5_0_suspend() argument 257 static int uvd_v5_0_resume(void *handle) in uvd_v5_0_resume() argument 579 static bool uvd_v5_0_is_idle(void *handle) in uvd_v5_0_is_idle() argument 586 static int uvd_v5_0_wait_for_idle(void *handle) in uvd_v5_0_wait_for_idle() argument 598 static int uvd_v5_0_soft_reset(void *handle) in uvd_v5_0_soft_reset() argument [all …]
|
H A D | vce_v3_0.c | 399 static int vce_v3_0_early_init(void *handle) in vce_v3_0_early_init() argument 418 static int vce_v3_0_sw_init(void *handle) in vce_v3_0_sw_init() argument 458 static int vce_v3_0_sw_fini(void *handle) in vce_v3_0_sw_fini() argument 470 static int vce_v3_0_hw_init(void *handle) in vce_v3_0_hw_init() argument 490 static int vce_v3_0_hw_fini(void *handle) in vce_v3_0_hw_fini() argument 497 r = vce_v3_0_wait_for_idle(handle); in vce_v3_0_hw_fini() 505 static int vce_v3_0_suspend(void *handle) in vce_v3_0_suspend() argument 540 static int vce_v3_0_resume(void *handle) in vce_v3_0_resume() argument 603 static bool vce_v3_0_is_idle(void *handle) in vce_v3_0_is_idle() argument 620 if (vce_v3_0_is_idle(handle)) in vce_v3_0_wait_for_idle() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | fsl,fman-dtsec.yaml | 96 pcsphy-handle: 101 description: See pcs-handle. 103 pcs-handle: 112 pcs-handle-names: 122 tbi-handle: 134 pcs-handle-names: 135 - pcs-handle 146 - tbi-handle 158 tbi-handle = <&tbi0>; 167 pcs-handle = <&pcsphy4>, <&qsgmiib_pcs1>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/bluetooth/ |
H A D | qualcomm-bluetooth.yaml | 45 description: VDD_IO supply regulator handle 48 description: VDD_XO supply regulator handle 51 description: VDD_RF supply regulator handle 54 description: VDD_CH0 supply regulator handle 57 description: VDD_CH1 supply regulator handle 60 description: VDD_AON supply regulator handle 63 description: VDD_DIG supply regulator handle 66 description: VDD_BT_CXMX supply regulator handle 69 description: VDD_RFA_CMN supply regulator handle 75 description: VDD_RFA_1P7 supply regulator handle [all …]
|
/openbmc/qemu/crypto/ |
H A D | cipher-gnutls.c.inc | 79 if (ctx->handle) { 80 gnutls_cipher_deinit(ctx->handle); 102 if (ctx->handle) { /* CBC / XTS mode */ 114 gnutls_cipher_hd_t handle; 125 err = gnutls_cipher_encrypt2(handle, 129 gnutls_cipher_deinit(handle); 134 gnutls_cipher_deinit(handle); 162 if (ctx->handle) { /* CBC / XTS mode */ 175 gnutls_cipher_hd_t handle; 190 gnutls_cipher_deinit(handle); [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | extents.c | 2796 handle_t *handle; in ext4_ext_remove_space() local 2809 if (IS_ERR(handle)) in ext4_ext_remove_space() 4451 handle_t *handle; in ext4_alloc_file_blocks() local 4825 if (!handle) { in ext4_convert_unwritten_extents() 4873 if (handle) { in ext4_convert_unwritten_io_end_vec() 4874 handle = ext4_journal_start_reserved(handle, in ext4_convert_unwritten_io_end_vec() 4876 if (IS_ERR(handle)) in ext4_convert_unwritten_io_end_vec() 4888 if (handle) in ext4_convert_unwritten_io_end_vec() 5279 handle, SHIFT); in ext4_ext_shift_extents() 5302 handle_t *handle; in ext4_collapse_range() local [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | transport_ipc.h | 34 void ksmbd_rpc_id_free(int handle); 35 struct ksmbd_rpc_command *ksmbd_rpc_open(struct ksmbd_session *sess, int handle); 36 struct ksmbd_rpc_command *ksmbd_rpc_close(struct ksmbd_session *sess, int handle); 37 struct ksmbd_rpc_command *ksmbd_rpc_write(struct ksmbd_session *sess, int handle, 39 struct ksmbd_rpc_command *ksmbd_rpc_read(struct ksmbd_session *sess, int handle); 40 struct ksmbd_rpc_command *ksmbd_rpc_ioctl(struct ksmbd_session *sess, int handle,
|
/openbmc/linux/drivers/watchdog/ |
H A D | sun4v_wdt.c | 94 struct mdesc_handle *handle; in sun4v_wdt_init() local 110 handle = mdesc_grab(); in sun4v_wdt_init() 111 if (!handle) in sun4v_wdt_init() 114 node = mdesc_node_by_name(handle, MDESC_NODE_NULL, "platform"); in sun4v_wdt_init() 127 value = mdesc_get_property(handle, node, "watchdog-resolution", NULL); in sun4v_wdt_init() 135 value = mdesc_get_property(handle, node, "watchdog-max-timeout", NULL); in sun4v_wdt_init() 164 mdesc_release(handle); in sun4v_wdt_init() 172 mdesc_release(handle); in sun4v_wdt_init()
|
/openbmc/linux/sound/hda/ |
H A D | intel-sdw-acpi.c | 55 struct acpi_device *adev = acpi_fetch_acpi_dev(info->handle); in sdw_intel_scan_controller() 120 static acpi_status sdw_intel_acpi_cb(acpi_handle handle, u32 level, in sdw_intel_acpi_cb() argument 127 status = acpi_evaluate_integer(handle, METHOD_NAME__ADR, NULL, &adr); in sdw_intel_acpi_cb() 131 if (!acpi_fetch_acpi_dev(handle)) { in sdw_intel_acpi_cb() 147 info->handle = handle; in sdw_intel_acpi_cb() 168 info->handle = NULL; in sdw_intel_acpi_scan() 179 if (ACPI_FAILURE(status) || info->handle == NULL) in sdw_intel_acpi_scan()
|
/openbmc/linux/drivers/acpi/ |
H A D | device_sysfs.c | 47 return dn->handle ? acpi_object_path(dn->handle, buf) : 0; in data_node_show_path() 104 else if (dn->handle) in acpi_expose_nondev_subnodes() 527 if (dev->handle) { in acpi_device_setup_files() 546 if (acpi_has_method(dev->handle, "_STR")) { in acpi_device_setup_files() 562 if (acpi_has_method(dev->handle, "_SUN")) { in acpi_device_setup_files() 568 if (acpi_has_method(dev->handle, "_HRV")) { in acpi_device_setup_files() 631 if (acpi_has_method(dev->handle, "_EJ0")) in acpi_device_remove_files() 634 if (acpi_has_method(dev->handle, "_SUN")) in acpi_device_remove_files() 637 if (acpi_has_method(dev->handle, "_HRV")) in acpi_device_remove_files() 646 if (acpi_has_method(dev->handle, "_STA")) in acpi_device_remove_files() [all …]
|
H A D | power.c | 137 rhandle = package->package.elements[i].reference.handle; in acpi_power_resource_is_dup() 139 dup = package->package.elements[j].reference.handle; in acpi_power_resource_is_dup() 162 rhandle = element->reference.handle; in acpi_extract_power_resources() 187 static int __get_state(acpi_handle handle, u8 *state) in __get_state() argument 199 acpi_handle_debug(handle, "Power resource is %s\n", in __get_state() 364 acpi_handle handle = resource->device.handle; in __acpi_power_on() local 401 acpi_handle_debug(resource->device.handle, in acpi_power_on_unlocked() 423 acpi_handle handle = resource->device.handle; in __acpi_power_off() local 444 acpi_handle_debug(resource->device.handle, in acpi_power_off_unlocked() 450 acpi_handle_debug(resource->device.handle, in acpi_power_off_unlocked() [all …]
|