/openbmc/qemu/ui/ |
H A D | spice-input.c | 51 static const uint8_t pauseseq[] = { 0xe1, 0x1d, 0x45, 0xe1, 0x9d, 0xc5 }; in kbd_push_key() 65 kbd->pauseseq = 0; in kbd_push_key() 69 kbd->pauseseq = 0; in kbd_push_key() 92 kbd->ledstate = 0; in kbd_leds() 116 static void spice_update_buttons(QemuSpicePointer *pointer, in spice_update_buttons() argument 120 [INPUT_BUTTON_LEFT] = 0x01, in spice_update_buttons() 121 [INPUT_BUTTON_MIDDLE] = 0x04, in spice_update_buttons() 122 [INPUT_BUTTON_RIGHT] = 0x02, in spice_update_buttons() 123 [INPUT_BUTTON_WHEEL_UP] = 0x10, in spice_update_buttons() 124 [INPUT_BUTTON_WHEEL_DOWN] = 0x20, in spice_update_buttons() [all …]
|
/openbmc/qemu/include/crypto/ |
H A D | hash.h | 72 * @result: pointer to hold output hash 73 * @resultlen: pointer to hold length of @result 74 * @errp: pointer to a NULL-initialized error object 80 * @result must hold a pointer that is @result_len in size, and 85 * a buffer to hold the hash output digest, storing a pointer to 90 * Returns: 0 on success, -1 on error 104 * @result: pointer to hold output hash 105 * @resultlen: pointer to hold length of @result 106 * @errp: pointer to a NULL-initialized error object 112 * @result must hold a pointer that is @result_len in size, and [all …]
|
H A D | hmac.h | 41 * @errp: pointer to a NULL-initialized error object 75 * @result: pointer to hold output hmac 76 * @resultlen: pointer to hold length of @result 77 * @errp: pointer to a NULL-initialized error object 83 * @result must hold a pointer that is @result_len in size, and 88 * a buffer to hold the hash output digest, storing a pointer to 94 * 0 on success, -1 on error 108 * @result: pointer to hold output hmac 109 * @resultlen: pointer to hold length of @result 110 * @errp: pointer to a NULL-initialized error object [all …]
|
/openbmc/u-boot/arch/x86/include/asm/fsp/ |
H A D | fsp_support.h | 21 #define FSP_LOWMEM_BASE 0x100000UL 22 #define FSP_HIGHMEM_BASE 0x100000000ULL 23 #define UPD_TERMINATOR 0x55AA 37 * back to the bootloader with HOB list pointer as the parameter. 39 * @hob_list: HOB list pointer 46 * @status: Always 0 47 * @hob_list: HOB list pointer 56 * @retval: the offset of FSP header. If signature is invalid, returns 0. 65 * @nvs_buf: Non-volatile memory buffer pointer 72 * @fsp_hdr: Pointer to FSP information header [all …]
|
/openbmc/openbmc/poky/documentation/overview-manual/svg/ |
H A D | bitbake_tasks_map.svg | 4 …0QmBtPK81caxd24gLbzX+I1FEJ/66SW5PPqz8AWacp1+RfnRpU/zl+OHzu/cofRRfna8Vyf00TVl/K6lpuuaYt7Er98OAFLM9N…
|
/openbmc/linux/security/tomoyo/ |
H A D | tomoyo.c | 14 * Returns pointer to "struct tomoyo_domain_info" for current thread. 30 * @new: Pointer to "struct cred". 31 * @old: Pointer to "struct cred". 34 * Returns 0. 47 return 0; in tomoyo_cred_prepare() 53 * @bprm: Pointer to "struct linux_binprm". 68 * @bprm: Pointer to "struct linux_binprm". 70 * Returns 0. 80 return 0; in tomoyo_bprm_creds_for_exec() 87 * @bprm: Pointer to "struct linux_binprm". [all …]
|
H A D | network.c | 20 u8 *addr; /* This may not be '\0' terminated string. */ 38 [0] = " ", /* Dummy for avoiding NULL pointer dereference. */ 39 [4] = " ", /* Dummy for avoiding NULL pointer dereference. */ 45 * @param: Pointer to "struct tomoyo_acl_param". 46 * @ptr: Pointer to "struct tomoyo_ipaddr_union". 53 u8 * const min = ptr->ip[0].in6_u.u6_addr8; in tomoyo_parse_ipaddr_union() 59 in4_pton(address, -1, min, '-', &end) > 0) { in tomoyo_parse_ipaddr_union() 62 ptr->ip[1].s6_addr32[0] = ptr->ip[0].s6_addr32[0]; in tomoyo_parse_ipaddr_union() 64 in4_pton(end, -1, max, '\0', &end) <= 0 || *end) in tomoyo_parse_ipaddr_union() 68 if (in6_pton(address, -1, min, '-', &end) > 0) { in tomoyo_parse_ipaddr_union() [all …]
|
/openbmc/u-boot/include/ |
H A D | hw_sha.h | 14 * @param in_addr A pointer to the input buffer 16 * @param out_addr A pointer to the output buffer. When complete 17 * 64 bytes are copied to pout[0]...pout[63]. Thus, a user 27 * @param in_addr A pointer to the input buffer 29 * @param out_addr A pointer to the output buffer. When complete 30 * 48 bytes are copied to pout[0]...pout[47]. Thus, a user 40 * @param in_addr A pointer to the input buffer 42 * @param out_addr A pointer to the output buffer. When complete 43 * 32 bytes are copied to pout[0]...pout[31]. Thus, a user 53 * @param in_addr A pointer to the input buffer [all …]
|
H A D | hash.h | 20 HASH_FLAG_VERIFY = 1 << 0, /* Enable verify mode */ 44 * @algo: Pointer to the hash_algo struct 45 * @ctxp: Pointer to the pointer of the context for hashing 46 * @return 0 if ok, -1 on error 54 * @algo: Pointer to the hash_algo struct 55 * @ctx: Pointer to the context for hashing 56 * @buf: Pointer to the buffer being hashed 58 * @is_last: 1 if this is the last update; 0 otherwise 59 * @return 0 if ok, -1 on error 68 * @algo: Pointer to the hash_algo struct [all …]
|
/openbmc/libpldm/include/libpldm/ |
H A D | pdr.h | 29 * @return opaque pointer that acts as a handle to the repository; NULL if no 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 67 * @param[in] data - pointer to a PDR record, pointing to a PDR definition as 72 * @param[in,out] record_handle - record handle of input PDR record. If this is set to 0 then a 76 * @return 0 on success, -EINVAL if the arguments are invalid, -ENOMEM if an internal memory 88 * @param[in] repo - opaque pointer acting as a PDR repo handle 89 * @param[in] record - opaque pointer acting as a PDR record handle [all …]
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | scsw.h | 146 #define SCSW_FCTL_CLEAR_FUNC 0x1 147 #define SCSW_FCTL_HALT_FUNC 0x2 148 #define SCSW_FCTL_START_FUNC 0x4 150 #define SCSW_ACTL_SUSPENDED 0x1 151 #define SCSW_ACTL_DEVACT 0x2 152 #define SCSW_ACTL_SCHACT 0x4 153 #define SCSW_ACTL_CLEAR_PEND 0x8 154 #define SCSW_ACTL_HALT_PEND 0x10 155 #define SCSW_ACTL_START_PEND 0x20 156 #define SCSW_ACTL_RESUME_PEND 0x40 [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_bounds_deduction.c | 10 __failure __msg("R0 tried to subtract pointer from scalar") 11 __msg_unpriv("R1 has pointer with unsupported alu operation") 25 __msg_unpriv("R1 has pointer with unsupported alu operation") 42 __failure __msg("R0 tried to subtract pointer from scalar") 43 __msg_unpriv("R1 has pointer with unsupported alu operation") 47 r0 = 0; \ in deducing_bounds_from_const_3() 48 if r0 s<= 0 goto l0_%=; \ in deducing_bounds_from_const_3() 57 __msg_unpriv("R6 has pointer with unsupported alu operation") 58 __retval(0) 63 r0 = 0; \ in deducing_bounds_from_const_4() [all …]
|
H A D | cgrp_kfunc_failure.c | 32 __failure __msg("Possibly NULL pointer passed to trusted arg0") 40 return 0; in BPF_PROG() 42 /* Can't invoke bpf_cgroup_acquire() on an untrusted pointer. */ in BPF_PROG() 47 return 0; in BPF_PROG() 51 __failure __msg("Possibly NULL pointer passed to trusted arg0") 63 return 0; in BPF_PROG() 67 __failure __msg("arg#0 pointer type STRUCT cgroup must point") 72 /* Can't invoke bpf_cgroup_acquire() on a random frame pointer. */ in BPF_PROG() 77 return 0; in BPF_PROG() 81 __failure __msg("reg type unsupported for arg#0 function") [all …]
|
H A D | verifier_unpriv.c | 11 "r2 = 0;" \ 18 /* sk = func(ctx, &tuple, sizeof tuple, 0, 0) */ \ 22 "r4 = 0;" \ 23 "r5 = 0;" \ 44 [0] = (void *)&dummy_prog_42_socket, 81 __description("unpriv: return pointer") 93 __description("unpriv: add const to pointer") 94 __success __success_unpriv __retval(0) 99 r0 = 0; \ in unpriv_add_const_to_pointer() 105 __description("unpriv: add pointer to pointer") [all …]
|
/openbmc/linux/include/linux/ |
H A D | err.h | 13 * pointer with the same return value. 16 * error and pointer decisions. 23 * IS_ERR_VALUE - Detect an error pointer. 24 * @x: The pointer to check. 31 * ERR_PTR - Create an error pointer. 34 * Encodes @error into a pointer value. Users should consider the result 37 * Return: A pointer with @error encoded within its value. 45 * PTR_ERR - Extract the error code from an error pointer. 46 * @ptr: An error pointer. 55 * IS_ERR - Detect an error pointer. [all …]
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_protocol.h | 14 #define IPC_DOORBELL_IRQ_HPDA 0 19 #define IPC_DEVICE_IRQ_VECTOR 0 20 #define IPC_MSG_IRQ_VECTOR 0 21 #define IPC_UL_PIPE_IRQ_VECTOR 0 22 #define IPC_DL_PIPE_IRQ_VECTOR 0 48 * @head_array: 64 bit address to head pointer arr for the pipes 49 * @tail_array: 64 bit address to tail pointer arr for the pipes 50 * @msg_head: 64 bit address to message head pointer 51 * @msg_tail: 64 bit address to message tail pointer 52 * @msg_ring_addr: 64 bit pointer to the message ring buffer [all …]
|
/openbmc/linux/tools/testing/selftests/hid/tests/ |
H A D | test_hid_core.py | 39 0x05, 0x01, # .Usage Page (Generic Desktop) 40 0x09, 0x02, # .Usage (Mouse) 41 0xa1, 0x01, # .Collection (Application) 42 0x09, 0x02, # ..Usage (Mouse) 43 0xa1, 0x02, # ..Collection (Logical) 44 0x09, 0x01, # ...Usage (Pointer) 45 0xa1, 0x00, # ...Collection (Physical) 46 0x05, 0x09, # ....Usage Page (Button) 47 0x19, 0x01, # ....Usage Minimum (1) 48 0x29, 0x03, # ....Usage Maximum (3) [all …]
|
/openbmc/linux/fs/vboxsf/ |
H A D | vboxsf_wrappers.c | 66 if (err < 0) in vboxsf_call() 81 parms.path.u.pointer.size = shfl_string_buf_size(folder_name); in vboxsf_map_folder() 82 parms.path.u.pointer.u.linear_addr = (uintptr_t)folder_name; in vboxsf_map_folder() 85 parms.root.u.value32 = 0; in vboxsf_map_folder() 120 * Note this function always returns 0 / success unless an exceptional condition 128 * 0 or negative errno value. 139 parms.path.u.pointer.size = shfl_string_buf_size(parsed_path); in vboxsf_create() 140 parms.path.u.pointer.u.linear_addr = (uintptr_t)parsed_path; in vboxsf_create() 143 parms.parms.u.pointer.size = sizeof(struct shfl_createparms); in vboxsf_create() 144 parms.parms.u.pointer.u.linear_addr = (uintptr_t)create_parms; in vboxsf_create() [all …]
|
/openbmc/linux/drivers/net/wireless/rsi/ |
H A D | rsi_91x_debugfs.c | 22 * @seq: Pointer to the sequence file structure. 23 * @data: Pointer to the data. 25 * Return: 0 on success, -1 on failure. 57 return 0; in rsi_sdio_stats_read() 63 * @inode: Pointer to the inode structure. 64 * @file: Pointer to the file structure. 66 * Return: Pointer to the opened file status: 0 on success, ENOMEM on failure. 76 * @seq: Pointer to the sequence file structure. 77 * @data: Pointer to the data. 79 * Return: 0 on success, -1 on failure. [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_nvm.c | 10 * @hw: pointer to the HW struct 11 * @module_typeid: module pointer location in words from the NVM beginning 17 * @cd: pointer to command details structure or NULL 19 * Read the NVM using the admin queue commands (0x0701) 43 cmd->offset_low = cpu_to_le16(offset & 0xFFFF); in ice_aq_read_nvm() 44 cmd->offset_high = (offset >> 16) & 0xFF; in ice_aq_read_nvm() 52 * @hw: pointer to the HW struct 62 * Returns a status code on failure. Note that the data pointer may be 70 u32 bytes_read = 0; in ice_read_flat_nvm() 74 *length = 0; in ice_read_flat_nvm() [all …]
|
H A D | ice_ddp.c | 27 * @pkg: pointer to the package buffer 57 for (i = 0; i < seg_count; i++) { in ice_verify_pkg() 76 * ice_free_seg - free package segment pointer 77 * @hw: pointer to the hardware structure 79 * Frees the package segment pointer in the proper manner, depending on if the 80 * segment was allocated or just the passed in pointer was stored. 87 hw->pkg_size = 0; in ice_free_seg() 94 * @pkg_ver: pointer to a version structure to check 117 * @buf: pointer to the ice buffer 142 * @ice_seg: pointer to the ice segment [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 16 * @hw: pointer to the HW structure 23 int status = 0; in i40e_set_mac_type() 73 * @hw: pointer to the HW structure 135 * @desc: pointer to admin queue descriptor 136 * @buffer: pointer to command buffer 156 "AQ CMD: opcode 0x%04X, flags 0x%04X, datalen 0x%04X, retval 0x%04X\n", in i40e_debug_aq() 162 "\tcookie (h,l) 0x%08X 0x%08X\n", in i40e_debug_aq() 166 "\tparam (0,1) 0x%08X 0x%08X\n", in i40e_debug_aq() 170 "\taddr (h,l) 0x%08X 0x%08X\n", in i40e_debug_aq() 174 if (buffer && buf_len != 0 && len != 0 && in i40e_debug_aq() [all …]
|
H A D | i40e_nvm.c | 11 * @hw: pointer to the HW structure 22 int ret_code = 0; in i40e_init_nvm() 52 * @hw: pointer to the HW structure 62 u64 time_left = 0; in i40e_acquire_nvm() 63 int ret_code = 0; in i40e_acquire_nvm() 69 0, &time_left, NULL); in i40e_acquire_nvm() 89 access, 0, &time_left, in i40e_acquire_nvm() 98 hw->nvm.hw_semaphore_timeout = 0; in i40e_acquire_nvm() 111 * @hw: pointer to the HW structure 117 u32 total_delay = 0; in i40e_release_nvm() [all …]
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | state_dump.c | 19 * Returns pointer to buffer 28 if (buf_len > 0 && buf_len < 3) { in hl_format_as_binary() 29 *wrptr = '\0'; in hl_format_as_binary() 33 wrptr[0] = '0'; in hl_format_as_binary() 36 /* Remove 3 characters from length for '0b' and '\0' termination */ in hl_format_as_binary() 39 for (i = 0; i < sizeof(n) * BITS_PER_BYTE && buf_len; ++i, n <<= 1) { in hl_format_as_binary() 47 *wrptr = '0' + bit; in hl_format_as_binary() 52 *wrptr = '\0'; in hl_format_as_binary() 59 * @buf: destination buffer double pointer 60 * @size: pointer to the size container [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_tlv.c | 8 * @msg: Pointer to message block 11 * This function return success if provided with a valid message pointer 15 /* verify pointer is not NULL */ in fm10k_tlv_msg_init() 21 return 0; in fm10k_tlv_msg_init() 26 * @msg: Pointer to message block 28 * @string: Pointer to string to be stored in attribute 37 u32 attr_data = 0, len = 0; in fm10k_tlv_attr_put_null_string() 51 attr_data = 0; in fm10k_tlv_attr_put_null_string() 66 attr[0] = len | attr_id; in fm10k_tlv_attr_put_null_string() 72 return 0; in fm10k_tlv_attr_put_null_string() [all …]
|