| /openbmc/qemu/tests/qtest/libqos/ |
| H A D | i2c.c | 13 void qi2c_send(QI2CDevice *i2cdev, const uint8_t *buf, uint16_t len) in qi2c_send() 18 void qi2c_recv(QI2CDevice *i2cdev, uint8_t *buf, uint16_t len) in qi2c_recv() 24 uint8_t *buf, uint16_t len) in i2c_read_block() 31 const uint8_t *buf, uint16_t len) in i2c_write_block()
|
| /openbmc/u-boot/include/zfs/ |
| H A D | spa.h | 17 #define BF32_DECODE(x, low, len) P2PHASE((x) >> (low), 1U << (len)) argument 18 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len)) argument 19 #define BF32_ENCODE(x, low, len) (P2PHASE((x), 1U << (len)) << (low)) argument 20 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) argument 22 #define BF32_GET(x, low, len) BF32_DECODE(x, low, len) argument 23 #define BF64_GET(x, low, len) BF64_DECODE(x, low, len) argument 25 #define BF32_SET(x, low, len, val) \ argument 27 #define BF64_SET(x, low, len, val) \ argument 30 #define BF32_GET_SB(x, low, len, shift, bias) \ argument 32 #define BF64_GET_SB(x, low, len, shift, bias) \ argument [all …]
|
| /openbmc/libcper/ |
| H A D | cper-utils.c | 83 json_object *uniform_struct64_to_ir(UINT64 *start, int len, const char *names[]) in uniform_struct64_to_ir() 98 json_object *uniform_struct_to_ir(UINT32 *start, int len, const char *names[]) in uniform_struct_to_ir() 115 void ir_to_uniform_struct64(json_object *ir, UINT64 *start, int len, in ir_to_uniform_struct64() 127 void ir_to_uniform_struct(json_object *ir, UINT32 *start, int len, in ir_to_uniform_struct() 139 json_object *integer_to_readable_pair(UINT64 value, int len, const int keys[], in integer_to_readable_pair() 159 json_object *integer_to_readable_pair_with_desc(int value, int len, in integer_to_readable_pair_with_desc() 297 json_object *uint64_array_to_ir_array(UINT64 *array, int len) in uint64_array_to_ir_array() 394 size_t len = snprintf( in guid_to_string() local 440 int select_guid_from_list(EFI_GUID *guid, EFI_GUID *guid_list[], int len) in select_guid_from_list() 463 const char *str, int len) in add_untrusted_string() [all …]
|
| /openbmc/u-boot/drivers/crypto/fsl/ |
| H A D | fsl_blob.c | 28 int blob_decap(u8 *key_mod, u8 *src, u8 *dst, u32 len) in blob_decap() 93 int blob_encap(u8 *key_mod, u8 *src, u8 *dst, u32 len) in blob_encap() 147 int blob_dek(const u8 *src, u8 *dst, u8 len) in blob_dek()
|
| /openbmc/u-boot/scripts/dtc/ |
| H A D | data.c | 59 struct data data_copy_mem(const char *mem, int len) in data_copy_mem() 71 struct data data_copy_escape_string(const char *s, int len) in data_copy_escape_string() 120 struct data data_append_data(struct data d, const void *p, int len) in data_append_data() 129 const void *p, int len) in data_insert_at_marker() 225 struct data data_append_zeroes(struct data d, int len) in data_append_zeroes() 256 int len = d.len; in data_is_one_string() local
|
| /openbmc/qemu/util/ |
| H A D | crc-ccitt.c | 105 uint16_t crc_ccitt(uint16_t crc, uint8_t const *buffer, size_t len) in crc_ccitt() 121 uint16_t crc_ccitt_false(uint16_t crc, uint8_t const *buffer, size_t len) in crc_ccitt_false()
|
| /openbmc/qemu/linux-user/ |
| H A D | semihost.c | 26 int qemu_semihosting_console_read(CPUState *cs, void *buf, int len) in qemu_semihosting_console_read() 47 int qemu_semihosting_console_write(void *buf, int len) in qemu_semihosting_console_write()
|
| /openbmc/obmc-console/ |
| H A D | ringbuffer.c | 130 size_t len) in ringbuffer_consumer_ensure_space() 149 int ringbuffer_queue(struct ringbuffer *rb, uint8_t *data, size_t len) in ringbuffer_queue() 213 size_t len; in ringbuffer_dequeue_peek() local 230 int ringbuffer_dequeue_commit(struct ringbuffer_consumer *rbc, size_t len) in ringbuffer_dequeue_commit()
|
| /openbmc/qemu/tests/qtest/ |
| H A D | remote-i3c-test.c | |
| /openbmc/u-boot/cmd/ |
| H A D | binop.c | 15 void write_to_env_var(char *varname, u8 *result, ulong len) in write_to_env_var() 68 void read_from_mem(ulong addr, u8 *result, ulong len) in read_from_mem() 77 void write_to_mem(char *varname, u8 *result, ulong len) in write_to_mem() 90 ulong len; in do_binop() local
|
| /openbmc/qemu/hw/pci-host/ |
| H A D | xen_igd_pt.c | 35 uint8_t len; member 49 static void host_pci_config_read(int pos, int len, uint32_t *val, Error **errp) in host_pci_config_read() 85 int pos, len; in igd_pt_i440fx_realize() local
|
| /openbmc/qemu/hw/virtio/ |
| H A D | virtio-nsm.c | 92 size_t len; in error_response() local 141 size_t len; in handle_get_random() local 214 size_t len; in handle_describe_nsm() local 304 uint8_t *req, size_t len, in get_nsm_describe_pcr_req() 375 size_t len; in handle_describe_pcr() local 458 static enum NSMResponseTypes get_nsm_extend_pcr_req(uint8_t *req, size_t len, in get_nsm_extend_pcr_req() 562 size_t len; in handle_extend_pcr() local 653 static enum NSMResponseTypes get_nsm_lock_pcr_req(uint8_t *req, size_t len, in get_nsm_lock_pcr_req() 713 size_t len; in handle_lock_pcr() local 788 static enum NSMResponseTypes get_nsm_lock_pcrs_req(uint8_t *req, size_t len, in get_nsm_lock_pcrs_req() [all …]
|
| /openbmc/libmctp/ |
| H A D | control.c | 24 size_t len) in mctp_ctrl_set_endpoint_id() 64 size_t len) in mctp_ctrl_get_endpoint_id() 121 size_t len) in mctp_ctrl_get_version() 164 size_t len) in mctp_ctrl_get_types() 219 size_t len) in mctp_control_handler()
|
| /openbmc/qemu/crypto/ |
| H A D | block.c | 36 size_t len) in qcrypto_block_has_format() 143 size_t *len, in qcrypto_block_calculate_payload_offset() 205 size_t len, in qcrypto_block_decrypt() 215 size_t len, in qcrypto_block_encrypt() 381 size_t len, in do_qcrypto_block_cipher_encdec() 434 size_t len, in qcrypto_block_cipher_decrypt_helper() 449 size_t len, in qcrypto_block_cipher_encrypt_helper() 461 size_t len, in qcrypto_block_decrypt_helper() 483 size_t len, in qcrypto_block_encrypt_helper()
|
| /openbmc/hiomapd/vpnor/test/ |
| H A D | tmpd.cpp | 15 size_t VpnorRoot::write(const std::string& name, const void* data, size_t len) in write() 29 size_t VpnorRoot::patch(const std::string& name, const void* data, size_t len) in patch()
|
| /openbmc/u-boot/scripts/dtc/libfdt/ |
| H A D | fdt_addresses.c | 62 int len; in fdt_address_cells() local 82 int len; in fdt_size_cells() local
|
| /openbmc/phosphor-mboxd/vpnor/test/ |
| H A D | tmpd.cpp | 15 size_t VpnorRoot::write(const std::string &name, const void *data, size_t len) in write() 29 size_t VpnorRoot::patch(const std::string &name, const void *data, size_t len) in patch()
|
| /openbmc/u-boot/lib/ |
| H A D | crc16.c | 68 uint16_t crc16_ccitt(uint16_t cksum, const unsigned char *buf, int len) in crc16_ccitt() 76 void crc16_ccitt_wd_buf(const uint8_t *in, uint len, in crc16_ccitt_wd_buf()
|
| /openbmc/qemu/hw/nvram/ |
| H A D | mac_nvram.c | 105 int64_t len = blk_getlength(s->blk); in macio_nvram_realizefn() local 169 int len) in pmac_format_nvram_partition_of() 185 int len) in pmac_format_nvram_partition_osx() 206 void pmac_format_nvram_partition(MacIONVRAMState *nvr, int len) in pmac_format_nvram_partition()
|
| /openbmc/qemu/ui/ |
| H A D | vnc-auth-sasl.c | 255 static int protocol_client_auth_sasl_step(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_step() 349 static int protocol_client_auth_sasl_step_len(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_step_len() 383 static int protocol_client_auth_sasl_start(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_start() 471 static int protocol_client_auth_sasl_start_len(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_start_len() 488 static int protocol_client_auth_sasl_mechname(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_mechname() 523 static int protocol_client_auth_sasl_mechname_len(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_mechname_len()
|
| /openbmc/qemu/hw/misc/ |
| H A D | pc-testdev.c | 67 unsigned len) in test_irq_line_write() 84 unsigned len) in test_ioport_write() 94 static uint64_t test_ioport_read(void *opaque, hwaddr addr, unsigned len) in test_ioport_read() 125 unsigned len) in test_flush_page_write() 147 static uint64_t test_iomem_read(void *opaque, hwaddr addr, unsigned len) in test_iomem_read() 157 unsigned len) in test_iomem_write()
|
| /openbmc/u-boot/test/dm/ |
| H A D | dma.c | 21 size_t len = 512; in dm_test_dma_m2m() local 45 size_t len = 512; in dm_test_dma() local 87 size_t len = 512; in dm_test_dma_rx() local
|
| /openbmc/qemu/hw/i386/kvm/ |
| H A D | xen_xenstore.c | 502 xs_transaction_t tx_id, uint8_t *req_data, unsigned int len) in xs_read() 543 unsigned int len) in xs_write() 580 unsigned int len) in xs_mkdir() 614 size_t len = strlen(l->data) + 1; /* Including the NUL termination */ in xs_append_strings() local 651 unsigned int len) in xs_directory() 684 unsigned int len) in xs_directory_part() 749 unsigned int len) in xs_transaction_start() 780 unsigned int len) in xs_transaction_end() 813 xs_transaction_t tx_id, uint8_t *req_data, unsigned int len) in xs_rm() 835 unsigned int len) in xs_get_perms() [all …]
|
| /openbmc/qemu/stubs/ |
| H A D | replay.c | 8 void replay_save_random(int ret, void *buf, size_t len) in replay_save_random() 12 int replay_read_random(void *buf, size_t len) in replay_read_random()
|
| /openbmc/qemu/include/hw/s390x/ |
| H A D | ebcdic.h | 86 static inline void ebcdic_put(uint8_t *p, const char *ascii, int len) in ebcdic_put() 95 static inline void ascii_put(uint8_t *p, const char *ebcdic, int len) in ascii_put()
|