Home
last modified time | relevance | path

Searched refs:handle (Results 251 – 275 of 4121) sorted by relevance

1...<<11121314151617181920>>...165

/openbmc/gpioplus/test/
H A Dhandle.cpp92 Handle handle(*chip, lines, in TEST_F() local
96 EXPECT_EQ(handle_fd, *handle.getFd()); in TEST_F()
155 std::unique_ptr<Handle> handle; member in gpioplus::__anon2c27dd800111::HandleMethodTest
165 handle = std::make_unique<Handle>( in SetUp()
173 handle.reset(); in TearDown()
187 EXPECT_EQ(expected, handle->getValues()); in TEST_F()
200 handle->getValues(output); in TEST_F()
208 EXPECT_THROW(handle->getValues(), std::system_error); in TEST_F()
216 handle->setValues({0, 1}); in TEST_F()
223 EXPECT_THROW(handle->setValues({1}), std::runtime_error); in TEST_F()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_acpi.c71 static int nouveau_optimus_dsm(acpi_handle handle, int func, int arg, uint32_t *result) in nouveau_optimus_dsm() argument
87 obj = acpi_evaluate_dsm_typed(handle, &nouveau_op_dsm_muid, 0x00000100, in nouveau_optimus_dsm()
90 acpi_handle_info(handle, "failed to evaluate _DSM\n"); in nouveau_optimus_dsm()
110 static int nouveau_dsm_get_optimus_functions(acpi_handle handle) in nouveau_dsm_get_optimus_functions() argument
118 if (nouveau_optimus_dsm(handle, 0, 0, &result)) in nouveau_dsm_get_optimus_functions()
130 static int nouveau_dsm(acpi_handle handle, int func, int arg) in nouveau_dsm() argument
139 obj = acpi_evaluate_dsm_typed(handle, &nouveau_dsm_muid, 0x00000102, in nouveau_dsm()
142 acpi_handle_info(handle, "failed to evaluate _DSM\n"); in nouveau_dsm()
153 static int nouveau_dsm_switch_mux(acpi_handle handle, int mux_id) in nouveau_dsm_switch_mux() argument
157 return nouveau_dsm(handle, NOUVEAU_DSM_LED, mux_id); in nouveau_dsm_switch_mux()
[all …]
/openbmc/linux/fs/vboxsf/
H A Dvboxsf_wrappers.c149 int vboxsf_close(u32 root, u64 handle) in vboxsf_close() argument
156 parms.handle.type = VMMDEV_HGCM_PARM_TYPE_64BIT; in vboxsf_close()
157 parms.handle.u.value64 = handle; in vboxsf_close()
209 parms.handle.type = VMMDEV_HGCM_PARM_TYPE_64BIT; in vboxsf_read()
210 parms.handle.u.value64 = handle; in vboxsf_read()
233 parms.handle.type = VMMDEV_HGCM_PARM_TYPE_64BIT; in vboxsf_write()
234 parms.handle.u.value64 = handle; in vboxsf_write()
250 int vboxsf_dirinfo(u32 root, u64 handle, in vboxsf_dirinfo() argument
260 parms.handle.type = VMMDEV_HGCM_PARM_TYPE_64BIT; in vboxsf_dirinfo()
261 parms.handle.u.value64 = handle; in vboxsf_dirinfo()
[all …]
/openbmc/linux/fs/ocfs2/
H A Dquota_global.c229 if (!handle) { in ocfs2_quota_write()
599 handle_t *handle; in ocfs2_sync_dquot_helper() local
615 if (IS_ERR(handle)) { in ocfs2_sync_dquot_helper()
662 handle_t *handle; in ocfs2_write_dquot() local
670 if (IS_ERR(handle)) { in ocfs2_write_dquot()
720 handle_t *handle; in ocfs2_release_dquot() local
751 if (IS_ERR(handle)) { in ocfs2_release_dquot()
802 handle_t *handle; in ocfs2_acquire_dquot() local
845 if (IS_ERR(handle)) { in ocfs2_acquire_dquot()
921 handle_t *handle; in ocfs2_mark_dquot_dirty() local
[all …]
H A Ddir.h44 int ocfs2_delete_entry(handle_t *handle,
47 int __ocfs2_add_entry(handle_t *handle,
53 static inline int ocfs2_add_entry(handle_t *handle, in ocfs2_add_entry() argument
59 return __ocfs2_add_entry(handle, d_inode(dentry->d_parent), in ocfs2_add_entry()
63 int ocfs2_update_entry(struct inode *dir, handle_t *handle,
89 handle_t *handle,
/openbmc/linux/include/linux/
H A Ddmi.h79 u16 handle; member
114 extern void dmi_memdev_name(u16 handle, const char **bank, const char **device);
115 extern u64 dmi_memdev_size(u16 handle);
116 extern u8 dmi_memdev_type(u16 handle);
144 static inline void dmi_memdev_name(u16 handle, const char **bank, in dmi_memdev_name() argument
146 static inline u64 dmi_memdev_size(u16 handle) { return ~0ul; } in dmi_memdev_size() argument
147 static inline u8 dmi_memdev_type(u16 handle) { return 0x0; } in dmi_memdev_type() argument
/openbmc/linux/drivers/staging/vc04_services/include/linux/raspberrypi/
H A Dvchiq.h57 unsigned int handle,
74 unsigned int handle,
92 extern void vchiq_msg_queue_push(struct vchiq_instance *instance, unsigned int handle,
96 extern int vchiq_queue_kernel_message(struct vchiq_instance *instance, unsigned int handle,
105 extern int vchiq_get_peer_version(struct vchiq_instance *instance, unsigned int handle,
107 extern struct vchiq_header *vchiq_msg_hold(struct vchiq_instance *instance, unsigned int handle);
/openbmc/linux/include/linux/platform_data/
H A Dmlxreg.h81 void *handle; member
82 int (*user_handler)(void *handle, enum mlxreg_hotplug_kind kind, u8 action);
108 void *handle; member
109 int (*user_handler)(void *handle, enum mlxreg_hotplug_kind kind, u8 action);
235 void *handle; member
236 int (*completion_notify)(void *handle, int id);
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dnavi10_ih.c545 static int navi10_ih_early_init(void *handle) in navi10_ih_early_init() argument
554 static int navi10_ih_sw_init(void *handle) in navi10_ih_sw_init() argument
596 static int navi10_ih_sw_fini(void *handle) in navi10_ih_sw_fini() argument
605 static int navi10_ih_hw_init(void *handle) in navi10_ih_hw_init() argument
612 static int navi10_ih_hw_fini(void *handle) in navi10_ih_hw_fini() argument
621 static int navi10_ih_suspend(void *handle) in navi10_ih_suspend() argument
628 static int navi10_ih_resume(void *handle) in navi10_ih_resume() argument
635 static bool navi10_ih_is_idle(void *handle) in navi10_ih_is_idle() argument
641 static int navi10_ih_wait_for_idle(void *handle) in navi10_ih_wait_for_idle() argument
647 static int navi10_ih_soft_reset(void *handle) in navi10_ih_soft_reset() argument
[all …]
H A Dgmc_v6_0.c46 static int gmc_v6_0_wait_for_idle(void *handle);
769 static int gmc_v6_0_early_init(void *handle) in gmc_v6_0_early_init() argument
779 static int gmc_v6_0_late_init(void *handle) in gmc_v6_0_late_init() argument
806 static int gmc_v6_0_sw_init(void *handle) in gmc_v6_0_sw_init() argument
883 static int gmc_v6_0_sw_fini(void *handle) in gmc_v6_0_sw_fini() argument
896 static int gmc_v6_0_hw_init(void *handle) in gmc_v6_0_hw_init() argument
921 static int gmc_v6_0_hw_fini(void *handle) in gmc_v6_0_hw_fini() argument
931 static int gmc_v6_0_suspend(void *handle) in gmc_v6_0_suspend() argument
940 static int gmc_v6_0_resume(void *handle) in gmc_v6_0_resume() argument
954 static bool gmc_v6_0_is_idle(void *handle) in gmc_v6_0_is_idle() argument
[all …]
H A Damdgpu_vkms.c484 static int amdgpu_vkms_sw_init(void *handle) in amdgpu_vkms_sw_init() argument
527 static int amdgpu_vkms_sw_fini(void *handle) in amdgpu_vkms_sw_fini() argument
546 static int amdgpu_vkms_hw_init(void *handle) in amdgpu_vkms_hw_init() argument
591 static int amdgpu_vkms_hw_fini(void *handle) in amdgpu_vkms_hw_fini() argument
596 static int amdgpu_vkms_suspend(void *handle) in amdgpu_vkms_suspend() argument
604 return amdgpu_vkms_hw_fini(handle); in amdgpu_vkms_suspend()
607 static int amdgpu_vkms_resume(void *handle) in amdgpu_vkms_resume() argument
612 r = amdgpu_vkms_hw_init(handle); in amdgpu_vkms_resume()
618 static bool amdgpu_vkms_is_idle(void *handle) in amdgpu_vkms_is_idle() argument
623 static int amdgpu_vkms_wait_for_idle(void *handle) in amdgpu_vkms_wait_for_idle() argument
[all …]
/openbmc/linux/drivers/misc/vmw_vmci/
H A Dvmci_doorbell.h21 struct vmci_handle handle; member
33 struct vmci_handle handle; member
37 int vmci_dbell_host_context_notify(u32 src_cid, struct vmci_handle handle);
38 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags);
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c70 u32 handle; member
114 return mlxsw_sp_qdisc->ops && mlxsw_sp_qdisc->handle == handle; in mlxsw_sp_qdisc_compare()
177 if (qdisc->ops && qdisc->handle == handle) in mlxsw_sp_qdisc_walk_cb_find_by_handle()
191 &handle); in mlxsw_sp_qdisc_find_by_handle()
354 u32 handle, in mlxsw_sp_qdisc_create() argument
394 mlxsw_sp_qdisc->handle = handle; in mlxsw_sp_qdisc_create()
435 if (mlxsw_sp_qdisc->handle != handle) { in mlxsw_sp_qdisc_change()
440 mlxsw_sp_qdisc->handle = handle; in mlxsw_sp_qdisc_change()
1753 u32 handle; member
2140 binding->handle = handle; in mlxsw_sp_qevent_binding_create()
[all …]
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dtc_flower_l2_miss.sh80 tc filter add dev $swp2 egress protocol ipv4 handle 101 pref 1 \
84 tc filter add dev $swp2 egress protocol ipv4 handle 102 pref 1 \
119 tc filter del dev $swp2 egress protocol ipv4 pref 1 handle 102 flower
120 tc filter del dev $swp2 egress protocol ipv4 pref 1 handle 101 flower
137 tc filter add dev $swp2 egress protocol $proto handle 101 pref 1 \
141 tc filter add dev $swp2 egress protocol $proto handle 102 pref 1 \
254 tc filter add dev $swp2 egress protocol $proto handle 101 pref 1 \
305 tc filter add dev $swp2 egress protocol all handle 101 pref 1 \
308 tc filter add dev $swp2 egress protocol all handle 102 pref 1 \
320 tc filter del dev $swp2 egress protocol all pref 1 handle 102 flower
[all …]
/openbmc/linux/net/bluetooth/
H A Dhci_conn.c273 cp.handle = cpu_to_le16(handle); in hci_add_sco()
339 __u16 handle = conn_handle->handle; in hci_enhanced_setup_sync() local
358 cp.handle = cpu_to_le16(handle); in hci_enhanced_setup_sync()
472 cp.handle = cpu_to_le16(handle); in hci_setup_sync_conn()
523 conn_handle->handle = handle; in hci_setup_sync()
977 conn->handle = handle; in hci_conn_add()
1300 if (conn->handle == handle) in hci_conn_set_handle()
1318 conn->handle = handle; in hci_conn_set_handle()
2674 (ci + n)->handle = c->handle; in hci_get_conn_list()
2710 ci.handle = conn->handle; in hci_get_conn_info()
[all …]
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm958625-meraki-alamo.dtsi131 phy-handle = <&phy_port6>;
137 phy-handle = <&phy_port7>;
143 phy-handle = <&phy_port8>;
149 phy-handle = <&phy_port9>;
155 phy-handle = <&phy_port10>;
209 phy-handle = <&phy_port1>;
215 phy-handle = <&phy_port2>;
221 phy-handle = <&phy_port3>;
227 phy-handle = <&phy_port4>;
233 phy-handle = <&phy_port5>;
/openbmc/linux/tools/power/acpi/os_specific/service_layers/
H A Dosunixxf.c597 acpi_status acpi_os_delete_semaphore(acpi_handle handle) in acpi_os_delete_semaphore() argument
607 acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units) in acpi_os_signal_semaphore() argument
680 acpi_status acpi_os_delete_semaphore(acpi_handle handle) in acpi_os_delete_semaphore() argument
682 sem_t *sem = (sem_t *) handle; in acpi_os_delete_semaphore()
718 sem_t *sem = (sem_t *) handle; in acpi_os_wait_semaphore()
835 sem_t *sem = (sem_t *) handle; in acpi_os_signal_semaphore()
864 void acpi_os_delete_lock(acpi_spinlock handle) in acpi_os_delete_lock() argument
866 acpi_os_delete_semaphore(handle); in acpi_os_delete_lock()
869 acpi_cpu_flags acpi_os_acquire_lock(acpi_handle handle) in acpi_os_acquire_lock() argument
871 acpi_os_wait_semaphore(handle, 1, 0xFFFF); in acpi_os_acquire_lock()
[all …]
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls2088a-rdb.dts27 phy-handle = <&mdio1_phy1>;
32 phy-handle = <&mdio1_phy2>;
37 phy-handle = <&mdio1_phy3>;
42 phy-handle = <&mdio1_phy4>;
47 phy-handle = <&mdio2_phy1>;
52 phy-handle = <&mdio2_phy2>;
57 phy-handle = <&mdio2_phy3>;
62 phy-handle = <&mdio2_phy4>;
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dpci.c21 efi_handle_t handle; in efi_pci_disable_bridge_busmaster() local
49 for_each_efi_handle(handle, pci_handle, pci_handle_size, i) { in efi_pci_disable_bridge_busmaster()
53 status = efi_bs_call(handle_protocol, handle, &pci_proto, in efi_pci_disable_bridge_busmaster()
82 efi_bs_call(disconnect_controller, handle, NULL, NULL); in efi_pci_disable_bridge_busmaster()
85 for_each_efi_handle(handle, pci_handle, pci_handle_size, i) { in efi_pci_disable_bridge_busmaster()
88 status = efi_bs_call(handle_protocol, handle, &pci_proto, in efi_pci_disable_bridge_busmaster()
/openbmc/linux/drivers/acpi/acpica/
H A Dnsxfobj.c31 acpi_status acpi_get_type(acpi_handle handle, acpi_object_type *ret_type) in acpi_get_type() argument
44 if (handle == ACPI_ROOT_OBJECT) { in acpi_get_type()
56 node = acpi_ns_validate_handle(handle); in acpi_get_type()
83 acpi_status acpi_get_parent(acpi_handle handle, acpi_handle *ret_handle) in ACPI_EXPORT_SYMBOL()
95 if (handle == ACPI_ROOT_OBJECT) { in ACPI_EXPORT_SYMBOL()
106 node = acpi_ns_validate_handle(handle); in ACPI_EXPORT_SYMBOL()
/openbmc/openbmc/poky/meta/recipes-support/apr/apr/
H A D0001-dso-Check-for-NULL-handle-in-apr_dso_sym.patch4 Subject: [PATCH] dso: Check for NULL handle in apr_dso_sym
17 apr_dso_handle_t *handle,
24 + * musl's `dlsym()` assumes the handle is never NULL and
27 + if (handle->handle == NULL) {
28 + handle->errormsg = "library not loaded";
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dvega12_smumgr.c235 &priv->smu_tables.entry[TABLE_PPTABLE].handle, in vega12_smu_init()
249 &priv->smu_tables.entry[TABLE_WATERMARKS].handle, in vega12_smu_init()
265 &priv->smu_tables.entry[TABLE_PMSTATUSLOG].handle, in vega12_smu_init()
280 &priv->smu_tables.entry[TABLE_AVFS_FUSE_OVERRIDE].handle, in vega12_smu_init()
295 &priv->smu_tables.entry[TABLE_OVERDRIVE].handle, in vega12_smu_init()
309 &priv->smu_tables.entry[TABLE_SMU_METRICS].handle, in vega12_smu_init()
321 amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_OVERDRIVE].handle, in vega12_smu_init()
334 amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_WATERMARKS].handle, in vega12_smu_init()
338 amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PPTABLE].handle, in vega12_smu_init()
353 amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PPTABLE].handle, in vega12_smu_fini()
[all …]
/openbmc/linux/mm/
H A Dz3fold.c246 slots = handle_to_slots(handle); in get_z3fold_header()
288 slots = handle_to_slots(handle); in free_handle()
290 *(unsigned long *)handle = 0; in free_handle()
408 addr = *(unsigned long *)handle; in handle_to_chunks()
426 addr = *(unsigned long *)handle; in handle_to_buddy()
1001 unsigned long *handle) in z3fold_alloc() argument
1118 bud = handle_to_buddy(handle); in z3fold_free()
1138 free_handle(handle, zhdr); in z3fold_free()
1385 unsigned long *handle) in z3fold_zpool_malloc() argument
1391 z3fold_free(pool, handle); in z3fold_zpool_free()
[all …]
/openbmc/linux/scripts/gdb/linux/
H A Dstackdepot.py16 def stack_depot_fetch(handle): argument
26 parts = handle.cast(handle_parts_t)
31 …ex %d out of bounds (%d) for stack id 0x%08x\n" % (parts['pool_index'], pool_index_cached, handle))
45 def stack_depot_print(handle): argument
49 entries, nr_entries = stack_depot_fetch(handle)
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Done_armed_router.sh135 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
139 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 flower \
143 tc filter add dev $swp2 egress protocol ip pref 2 handle 102 flower \
171 tc filter del dev $swp2 egress protocol ip pref 2 handle 102 flower
172 tc filter del dev $swp2 egress protocol ip pref 1 handle 101 flower
173 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
182 tc filter add dev $swp2 egress protocol ipv6 pref 1 handle 101 flower \
186 tc filter add dev $swp2 egress protocol ipv6 pref 2 handle 102 flower \
214 tc filter del dev $swp2 egress protocol ipv6 pref 2 handle 102 flower
215 tc filter del dev $swp2 egress protocol ipv6 pref 1 handle 101 flower
[all …]

1...<<11121314151617181920>>...165