Home
last modified time | relevance | path

Searched full:handle (Results 1 – 25 of 2375) sorted by relevance

12345678910>>...95

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/
H A D0001-Replace-LFS64-interfaces-off64_t-and-lseek64.patch33 @@ -106,7 +106,7 @@ const char *tracecmd_get_trace_clock(struct tracecmd_input *handle);
34 const char *tracecmd_get_cpustats(struct tracecmd_input *handle);
35 const char *tracecmd_get_uname(struct tracecmd_input *handle);
36 const char *tracecmd_get_version(struct tracecmd_input *handle);
37 -off64_t tracecmd_get_cpu_file_size(struct tracecmd_input *handle, int cpu);
38 +off_t tracecmd_get_cpu_file_size(struct tracecmd_input *handle, int cpu);
42 @@ -336,7 +336,7 @@ int tracecmd_write_buffer_info(struct tracecmd_output *handle);
44 int tracecmd_write_cpus(struct tracecmd_output *handle, int cpus);
45 int tracecmd_write_cmdlines(struct tracecmd_output *handle);
46 -int tracecmd_prepare_options(struct tracecmd_output *handle, off64_t offset, int whence);
[all …]
/openbmc/u-boot/drivers/firmware/
H A Dti_sci.c50 * @handle: Instance of TI SCI handle to send to clients.
62 struct ti_sci_handle handle; member
73 #define handle_to_ti_sci_info(h) container_of(h, struct ti_sci_info, handle)
163 dev_err(info->dev, "%s: Unable to handle %zu xfer (max %d)\n", in ti_sci_get_response()
216 * @handle: pointer to TI SCI handle
222 static int ti_sci_cmd_get_revision(struct ti_sci_handle *handle) in ti_sci_cmd_get_revision() argument
231 if (IS_ERR(handle)) in ti_sci_cmd_get_revision()
232 return PTR_ERR(handle); in ti_sci_cmd_get_revision()
233 if (!handle) in ti_sci_cmd_get_revision()
236 info = handle_to_ti_sci_info(handle); in ti_sci_cmd_get_revision()
[all …]
/openbmc/libpldm/include/libpldm/
H A Dpdr.h14 * opaque structure that acts as a handle to a PDR repository
19 * opaque structure that acts as a handle to a PDR record
29 * @return opaque pointer that acts as a handle to the repository; NULL if no
33 * for PDRs received by other entities) and can associate the returned handle
40 * @param[in/out] repo - pointer to opaque pointer acting as a PDR repo handle
48 * @param[in] repo - opaque pointer acting as a PDR repo handle
58 * @param[in] repo - opaque pointer acting as a PDR repo handle
66 * @param[in/out] repo - opaque pointer acting as a PDR repo handle
71 * @param[in] terminus_handle - terminus handle of the input PDR record
72 * @param[in,out] record_handle - record handle of input PDR record. If this is set to 0 then a
[all …]
/openbmc/u-boot/include/linux/soc/ti/
H A Dti_sci_protocol.h50 int (*board_config)(const struct ti_sci_handle *handle,
52 int (*board_config_rm)(const struct ti_sci_handle *handle,
54 int (*board_config_security)(const struct ti_sci_handle *handle,
56 int (*board_config_pm)(const struct ti_sci_handle *handle,
111 * -handle: Pointer to TISCI handle as retrieved by *ti_sci_get_handle
119 int (*get_device)(const struct ti_sci_handle *handle, u32 id);
120 int (*idle_device)(const struct ti_sci_handle *handle, u32 id);
121 int (*put_device)(const struct ti_sci_handle *handle, u32 id);
122 int (*is_valid)(const struct ti_sci_handle *handle, u32 id);
123 int (*get_context_loss_count)(const struct ti_sci_handle *handle,
[all …]
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_table.hpp18 using Handle = uint32_t; typedef
25 * PLDM File I/O. The file handle is used to uniquely identify the file. The
31 Handle handle; //!< File handle member
40 * file handle and extract the file attribute table. The file attribute table
41 * comprises of metadata for files. Metadata includes the file handle, file
67 /** @brief Get the FileEntry at the file handle
69 * @param[in] handle - file handle
71 * @return FileEntry - file entry at the handle
73 FileEntry at(Handle handle) const in at()
75 return tableEntries.at(handle); in at()
[all …]
/openbmc/qemu/audio/
H A Dalsaaudio.c40 snd_pcm_t *handle; member
49 snd_pcm_t *handle; member
56 snd_pcm_t *handle; member
117 hlp->handle = NULL; in alsa_fini_poll()
124 alsa_logerr (err, "Failed to close PCM handle %p\n", *handlep); in alsa_anal_close1()
135 static int alsa_recover (snd_pcm_t *handle) in alsa_recover() argument
137 int err = snd_pcm_prepare (handle); in alsa_recover()
139 alsa_logerr (err, "Failed to prepare handle %p\n", handle); in alsa_recover()
145 static int alsa_resume (snd_pcm_t *handle) in alsa_resume() argument
147 int err = snd_pcm_resume (handle); in alsa_resume()
[all …]
/openbmc/gpioplus/src/gpioplus/
H A Dhandle.hpp12 /** @brief Flags to set when taking a handle */
26 /** @brief Creates handle flags from the gpio line flags
40 * @brief Handle interface to provide a set of methods required to exist in
53 /** @class Handle
54 * @brief Handle to a gpio line handle
55 * @details Provides a c++ interface for gpio handle operations
57 class Handle : public HandleInterface class
60 /** @brief Per line information used to construct a handle */
69 /** @brief Creates a new gpio handle
70 * The underlying implementation of the handle is independent of
[all …]
/openbmc/u-boot/arch/mips/dts/
H A Dluton_pcb090.dts63 phy-handle = <&phy0>;
67 phy-handle = <&phy1>;
71 phy-handle = <&phy2>;
75 phy-handle = <&phy3>;
79 phy-handle = <&phy4>;
83 phy-handle = <&phy5>;
87 phy-handle = <&phy6>;
91 phy-handle = <&phy7>;
95 phy-handle = <&phy8>;
99 phy-handle = <&phy9>;
[all …]
H A Dluton_pcb091.dts69 phy-handle = <&phy0>;
73 phy-handle = <&phy1>;
77 phy-handle = <&phy2>;
81 phy-handle = <&phy3>;
85 phy-handle = <&phy4>;
89 phy-handle = <&phy5>;
93 phy-handle = <&phy6>;
97 phy-handle = <&phy7>;
101 phy-handle = <&phy8>;
105 phy-handle = <&phy9>;
[all …]
/openbmc/u-boot/lib/efi_driver/
H A Defi_block_device.c7 * The EFI uclass creates a handle for this driver and installs the
23 * exposes a handle with the block IO protocol. It calls ConnectController.
38 * handle handle of the controller on which this driver is installed
42 efi_handle_t handle; member
108 * @handle EFI handle of the block device
111 static int efi_bl_bind_partitions(efi_handle_t handle, struct udevice *dev) in efi_bl_bind_partitions() argument
119 return efi_disk_create_partitions(handle, desc, if_typename, in efi_bl_bind_partitions()
124 * Create a block device for a handle
126 * @handle handle
130 static int efi_bl_bind(efi_handle_t handle, void *interface) in efi_bl_bind() argument
[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
208 * @handle: the structure's handle, a unique 16-bit number
211 int length, int handle) in fill_smbios_header() argument
[all …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_boottime.c426 * The protocols list is initialized. The object handle is set.
428 void efi_add_handle(efi_handle_t handle) in efi_add_handle() argument
430 if (!handle) in efi_add_handle()
432 INIT_LIST_HEAD(&handle->protocols); in efi_add_handle()
433 list_add_tail(&handle->link, &efi_obj_list); in efi_add_handle()
437 * efi_create_handle() - create handle
438 * @handle: new handle
442 efi_status_t efi_create_handle(efi_handle_t *handle) in efi_create_handle() argument
451 *handle = obj; in efi_create_handle()
457 * efi_search_protocol() - find a protocol on a handle.
[all …]
/openbmc/libpldm/tests/dsp/
H A Dbios_table.cpp42 2, 0, /* attr handle */ in TEST()
44 1, 0, /* attr name handle (string handle) */ in TEST()
46 2, 0, /* possible value handle */ in TEST()
47 3, 0, /* possible value handle */ in TEST()
49 0 /* default value string handle index */ in TEST()
65 0, 0, /* attr handle */ in TEST()
67 1, 0, /* attr name handle */ in TEST()
69 2, 0, /* possible value handle */ in TEST()
70 3, 0, /* possible value handle */ in TEST()
72 1 /* default value string handle index */ in TEST()
[all …]
/openbmc/gpioplus/test/
H A Dhandle.cpp3 #include <gpioplus/handle.hpp>
81 std::vector<Handle::Line> lines; in TEST_F()
92 Handle handle(*chip, lines, in TEST_F() local
96 EXPECT_EQ(handle_fd, *handle.getFd()); in TEST_F()
112 const std::vector<Handle::Line> lines(GPIOHANDLES_MAX + 1); in TEST_F()
113 EXPECT_THROW(Handle(*chip, lines, HandleFlags(), "too_many"), in TEST_F()
121 EXPECT_THROW(Handle(*chip, {}, HandleFlags(), std::string(large_size, '1')), in TEST_F()
128 std::vector<Handle::Line> lines; in TEST_F()
137 EXPECT_THROW(Handle(*chip, lines, in TEST_F()
155 std::unique_ptr<Handle> handle; member in gpioplus::__anon2c27dd800111::HandleMethodTest
[all …]
/openbmc/pldm/libpldmresponder/
H A Dbios_table.hpp85 * handle
86 * @param[in] handle - string handle
89 virtual std::string findString(uint16_t handle) const = 0;
91 /** @brief Find the string handle from the BIOS string table by the given
94 * @return handle of the string
118 * handle
119 * @param[in] handle - string handle
123 std::string findString(uint16_t handle) const override;
125 /** @brief Find the string handle from the BIOS string table by the given
128 * @return handle of the string
[all …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_hii.c28 * @handle: handle of the loaded image
33 static int setup(const efi_handle_t handle, in setup() argument
70 * the provided handle.
76 efi_hii_handle_t handle; in test_hii_database_new_package_list() local
82 NULL, &handle); in test_hii_database_new_package_list()
83 if (ret != EFI_SUCCESS || !handle) { in test_hii_database_new_package_list()
90 handle); in test_hii_database_new_package_list()
110 efi_hii_handle_t handle = NULL; in test_hii_database_update_package_list() local
117 NULL, &handle); in test_hii_database_update_package_list()
118 if (ret != EFI_SUCCESS || !handle) { in test_hii_database_update_package_list()
[all …]
H A Defi_selftest_manageprotocols.c42 * Find a handle in an array.
44 * @handle: handle to find
48 efi_status_t find_in_buffer(efi_handle_t handle, size_t count, in find_in_buffer() argument
54 if (buffer[i] == handle) in find_in_buffer()
73 * @handle: handle of the loaded image
80 efi_handle_t handle; in setup() local
92 efi_st_error("InstallProtocolInterface failed to create handle\n"); in setup()
95 handle = handle1; in setup()
103 if (handle != handle1) { in setup()
104 efi_st_error("InstallProtocolInterface failed to use handle\n"); in setup()
[all …]
/openbmc/u-boot/examples/api/
H A Dglue.c207 * handle: 0-based id of the device
211 int ub_dev_open(int handle) in ub_dev_open() argument
216 if (handle < 0 || handle >= UB_MAX_DEV) in ub_dev_open()
219 di = &devices[handle]; in ub_dev_open()
227 int ub_dev_close(int handle) in ub_dev_close() argument
231 if (handle < 0 || handle >= UB_MAX_DEV) in ub_dev_close()
234 di = &devices[handle]; in ub_dev_close()
245 * - have sane handle
250 static int dev_valid(int handle) in dev_valid() argument
252 if (handle < 0 || handle >= UB_MAX_DEV) in dev_valid()
[all …]
/openbmc/qemu/disas/
H A Dcapstone.c55 * ??? It would be nice to cache this. We would need one handle for the
59 * re-open the target handle with a different arch for the target in order
60 * to handle AArch64 vs AArch32 mode switching.
62 static cs_err cap_disas_start(disassemble_info *info, csh *handle) in cap_disas_start() argument
70 err = cs_open(info->cap_arch, cap_mode, handle); in cap_disas_start()
76 cs_option(*handle, CS_OPT_SKIPDATA, CS_OPT_ON); in cap_disas_start()
80 cs_option(*handle, CS_OPT_SKIPDATA_SETUP, in cap_disas_start()
90 cs_option(*handle, CS_OPT_SYNTAX, CS_OPT_SYNTAX_ATT); in cap_disas_start()
96 cap_insn = cs_malloc(*handle); in cap_disas_start()
98 cs_close(handle); in cap_disas_start()
[all …]
/openbmc/qemu/crypto/
H A Dcipher-gnutls.c.inc65 gnutls_cipher_hd_t handle; /* XTS & CBC mode */
79 if (ctx->handle) {
80 gnutls_cipher_deinit(ctx->handle);
102 if (ctx->handle) { /* CBC / XTS mode */
103 err = gnutls_cipher_encrypt2(ctx->handle,
114 gnutls_cipher_hd_t handle;
116 err = gnutls_cipher_init(&handle, ctx->galg, &gkey, NULL);
123 gnutls_cipher_set_iv(handle, iv, ctx->blocksize);
125 err = gnutls_cipher_encrypt2(handle,
129 gnutls_cipher_deinit(handle);
[all …]
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dsessionhelper.hpp10 * This function retrives the session id and session handle from the session
21 * @param[in] sessionHandle - retrived session handle will be asigned.
23 * @return true if session id and session handle are retrived else returns
33 // getting the position of session id and session handle string from in parseCloseSessionInputPayload()
39 // get the sessionid & session handle string from the session object in parseCloseSessionInputPayload()
46 // extracting the session handle in parseCloseSessionInputPayload()
50 // converting session id string and session handle string to in parseCloseSessionInputPayload()
52 std::stringstream handle(sessionHandleString); in parseCloseSessionInputPayload() local
54 handle >> std::hex >> tempSessionHandle; in parseCloseSessionInputPayload()
73 * @param[in] reqSessionHandle - request session handle
/openbmc/openbmc-test-automation/pldm/
H A Dtest_pldm_platform.robot25 # Note: Record handle count is unknown and it is dynamic in nature.
26 # Assuming there are 100 record handle.
28 ${next_record_handle}= Run Keyword Verify GetPDR For Record Handle ${record_handle}
62 Verify GetPDR For Record Handle
64 ... record handle and return next record handle.
68 # ${record_handle} Record handle.
69 # e.g. '1' is record handle 'Boot Progress' (196).
70 # '2' is record handle 'System Power State (260)'.
71 # '3' is record handle 'Softwar
[all...]
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_bios_enum_attribute_test.cpp105 0, 0, /* attr handle */ in TEST_F()
107 4, 0, /* attr name handle */ in TEST_F()
109 2, 0, /* possible value handle */ in TEST_F()
110 3, 0, /* possible value handle */ in TEST_F()
112 1 /* default value string handle index */ in TEST_F()
116 0, 0, /* attr handle */ in TEST_F()
119 1 /* current value string handle index */ in TEST_F()
172 0, 0, /* attr handle */ in TEST_F()
175 0 /* current value string handle index */ in TEST_F()
210 0, 0, /* attr handle */ in TEST_F()
[all …]
/openbmc/qemu/net/
H A Dtap-win32.c101 HANDLE handle; member
102 HANDLE read_event;
103 HANDLE write_event;
104 HANDLE output_queue_semaphore;
105 HANDLE free_list_semaphore;
106 HANDLE tap_semaphore;
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()
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-security/trusted-services/corstone1000/
H A D0005-plat-corstone1000-Use-the-stateless-platform-service.patch6 with a pre defined handle.
28 - psa_handle_t handle;
36 - handle = psa_connect(caller, TFM_SP_PLATFORM_IOCTL_SID,
38 - if (handle <= 0) {
39 - EMSG("%s Invalid handle", __func__);
43 - psa_call(caller,handle, PSA_IPC_CALL,
46 - set_fmp_image_info(caller, handle);
53 - handle = psa_connect(caller, TFM_SP_PLATFORM_IOCTL_SID,
55 - if (handle <= 0) {
56 - EMSG("%s Invalid handle", __func__);
[all …]

12345678910>>...95