/openbmc/gpioplus/test/ |
H A D | handle.cpp | 92 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 D | nouveau_acpi.c | 71 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 D | vboxsf_wrappers.c | 149 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 D | quota_global.c | 229 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 D | dir.h | 44 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 D | dmi.h | 79 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 D | vchiq.h | 57 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 D | mlxreg.h | 81 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 D | navi10_ih.c | 545 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 D | gmc_v6_0.c | 46 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 …]
|
/openbmc/linux/drivers/misc/vmw_vmci/ |
H A D | vmci_doorbell.h | 21 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/tools/testing/selftests/net/forwarding/ |
H A D | tc_flower_l2_miss.sh | 80 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/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_qdisc.c | 70 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/arch/arm/boot/dts/broadcom/ |
H A D | bcm958625-meraki-alamo.dtsi | 131 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 D | osunixxf.c | 597 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 D | fsl-ls2088a-rdb.dts | 27 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 D | pci.c | 21 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 D | nsxfobj.c | 31 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 D | 0001-dso-Check-for-NULL-handle-in-apr_dso_sym.patch | 4 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 D | vega12_smumgr.c | 235 &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/scripts/gdb/linux/ |
H A D | stackdepot.py | 16 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/mm/ |
H A D | z3fold.c | 246 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/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | one_armed_router.sh | 135 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 …]
|
/openbmc/qemu/migration/ |
H A D | multifd-uadk.c | 25 handle_t handle; member 67 wd->handle = wd_comp_alloc_sess(&ss); in multifd_uadk_init_sess() 68 if (!wd->handle) { in multifd_uadk_init_sess() 86 if (wd->handle) { in multifd_uadk_init_sess() 87 wd_comp_free_sess(wd->handle); in multifd_uadk_init_sess() 97 if (wd->handle) { in multifd_uadk_uninit_sess() 98 wd_comp_free_sess(wd->handle); in multifd_uadk_uninit_sess() 198 if (uadk_data->handle) { in multifd_uadk_send_prepare() 199 ret = wd_do_comp_sync(uadk_data->handle, &creq); in multifd_uadk_send_prepare() 336 if (unlikely(!uadk_data->handle)) { in multifd_uadk_recv() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-designware-baytrail.c | 19 acpi_handle handle; in i2c_dw_baytrail_probe_lock_support() local 24 handle = ACPI_HANDLE(dev->dev); in i2c_dw_baytrail_probe_lock_support() 25 if (!handle) in i2c_dw_baytrail_probe_lock_support() 28 status = acpi_evaluate_integer(handle, "_SEM", NULL, &shared_host); in i2c_dw_baytrail_probe_lock_support()
|