Home
last modified time | relevance | path

Searched refs:handle (Results 151 – 175 of 4154) sorted by relevance

12345678910>>...167

/openbmc/qemu/net/
H A Dtap-win32.c101 HANDLE handle; member
407 overlapped->handle = handle; in tap_win32_overlapped_init()
522 result = ReadFile(overlapped->handle, in tap_win32_thread_entry()
598 HANDLE handle; in tap_win32_open() local
622 handle = CreateFile ( in tap_win32_open()
631 if (handle == INVALID_HANDLE_VALUE) { in tap_win32_open()
640 CloseHandle(handle); in tap_win32_open()
644 if (!tap_win32_set_status(handle, TRUE)) { in tap_win32_open()
661 tap_win32_overlapped_t *handle; member
724 tap_win32_overlapped_t *handle; in tap_win32_init() local
[all …]
/openbmc/linux/drivers/platform/x86/
H A Dasus-laptop.c368 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 Dsmbios.h63 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 Drpc_rdma.h137 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 Dint3402_thermal.c19 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 Dhclge_comm_tqp_stats.c10 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 Dsmbios.c74 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 Ddptf_power.c34 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 Dfsl-ls1046-post.dtsi26 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 Dacpi.h42 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/qemu/crypto/
H A Dtlssession.c39 gnutls_session_t handle; member
67 gnutls_deinit(session->handle); in qcrypto_tls_session_free()
195 ret = gnutls_credentials_set(session->handle, in qcrypto_tls_session_new()
199 ret = gnutls_credentials_set(session->handle, in qcrypto_tls_session_new()
231 ret = gnutls_credentials_set(session->handle, in qcrypto_tls_session_new()
258 ret = gnutls_credentials_set(session->handle, in qcrypto_tls_session_new()
279 gnutls_transport_set_ptr(session->handle, session); in qcrypto_tls_session_new()
280 gnutls_transport_set_push_function(session->handle, in qcrypto_tls_session_new()
282 gnutls_transport_set_pull_function(session->handle, in qcrypto_tls_session_new()
548 int ret = gnutls_handshake(session->handle); in qcrypto_tls_session_handshake()
[all …]
H A Dcipher-gnutls.c.inc79 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/ocfs2/
H A Dsuballoc.c92 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 Dlocalalloc.c45 handle_t *handle,
56 handle_t *handle,
369 handle_t *handle; in ocfs2_shutdown_local_alloc() local
417 if (IS_ERR(handle)) { in ocfs2_shutdown_local_alloc()
419 handle = NULL; in ocfs2_shutdown_local_alloc()
550 handle_t *handle; in ocfs2_complete_local_alloc_recovery() local
574 handle = NULL; in ocfs2_complete_local_alloc_recovery()
580 handle->h_sync = 1; in ocfs2_complete_local_alloc_recovery()
770 handle_t *handle, in ocfs2_free_local_alloc_bits() argument
1280 handle = NULL; in ocfs2_local_alloc_slide_window()
[all …]
H A Ddir.c57 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 Dfdinfo.c45 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/linux/drivers/gpu/drm/amd/amdgpu/
H A Duvd_v5_0.c91 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 Dvce_v3_0.c399 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 Dfsl,fman-dtsec.yaml96 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 Dqualcomm-bluetooth.yaml45 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/linux/fs/ext4/
H A Dextents.c2800 handle_t *handle; in ext4_ext_remove_space() local
2813 if (IS_ERR(handle)) in ext4_ext_remove_space()
4472 handle_t *handle; in ext4_alloc_file_blocks() local
4846 if (!handle) { in ext4_convert_unwritten_extents()
4894 if (handle) { in ext4_convert_unwritten_io_end_vec()
4895 handle = ext4_journal_start_reserved(handle, in ext4_convert_unwritten_io_end_vec()
4897 if (IS_ERR(handle)) in ext4_convert_unwritten_io_end_vec()
4909 if (handle) in ext4_convert_unwritten_io_end_vec()
5300 handle, SHIFT); in ext4_ext_shift_extents()
5323 handle_t *handle; in ext4_collapse_range() local
[all …]
/openbmc/linux/fs/smb/server/
H A Dtransport_ipc.h34 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 Dsun4v_wdt.c94 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 Dintel-sdw-acpi.c55 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 Ddevice_sysfs.c47 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()
563 if (acpi_has_method(dev->handle, "_SUN")) { in acpi_device_setup_files()
569 if (acpi_has_method(dev->handle, "_HRV")) { in acpi_device_setup_files()
632 if (acpi_has_method(dev->handle, "_EJ0")) in acpi_device_remove_files()
635 if (acpi_has_method(dev->handle, "_SUN")) in acpi_device_remove_files()
638 if (acpi_has_method(dev->handle, "_HRV")) in acpi_device_remove_files()
647 if (acpi_has_method(dev->handle, "_STA")) in acpi_device_remove_files()
[all …]

12345678910>>...167