/openbmc/qemu/include/ui/ |
H A D | pixel_ops.h | 1 static inline unsigned int rgb_to_pixel8(unsigned int r, unsigned int g, in rgb_to_pixel8() 7 static inline unsigned int rgb_to_pixel15(unsigned int r, unsigned int g, in rgb_to_pixel15() 13 static inline unsigned int rgb_to_pixel15bgr(unsigned int r, unsigned int g, in rgb_to_pixel15bgr() 19 static inline unsigned int rgb_to_pixel16(unsigned int r, unsigned int g, in rgb_to_pixel16() 25 static inline unsigned int rgb_to_pixel16bgr(unsigned int r, unsigned int g, in rgb_to_pixel16bgr() 31 static inline unsigned int rgb_to_pixel24(unsigned int r, unsigned int g, in rgb_to_pixel24() 37 static inline unsigned int rgb_to_pixel24bgr(unsigned int r, unsigned int g, in rgb_to_pixel24bgr() 43 static inline unsigned int rgb_to_pixel32(unsigned int r, unsigned int g, in rgb_to_pixel32() 49 static inline unsigned int rgb_to_pixel32bgr(unsigned int r, unsigned int g, in rgb_to_pixel32bgr()
|
/openbmc/qemu/contrib/elf2dmp/ |
H A D | pdb.c | 27 static uint32_t pdb_get_file_size(const struct pdb_reader *r, unsigned idx) in pdb_get_file_size() 36 static pdb_seg *get_seg_by_num(struct pdb_reader *r, size_t n) in get_seg_by_num() 53 uint64_t pdb_find_public_v3_symbol(struct pdb_reader *r, const char *name) in pdb_find_public_v3_symbol() 85 uint64_t pdb_resolve(uint64_t img_base, struct pdb_reader *r, const char *name) in pdb_resolve() 96 static void pdb_reader_ds_exit(struct pdb_reader *r) in pdb_reader_ds_exit() 101 static void pdb_exit_symbols(struct pdb_reader *r) in pdb_exit_symbols() 107 static void pdb_exit_segments(struct pdb_reader *r) in pdb_exit_segments() 134 static void *pdb_ds_read_file(struct pdb_reader* r, uint32_t file_number) in pdb_ds_read_file() 162 static bool pdb_init_segments(struct pdb_reader *r) in pdb_init_segments() 179 static bool pdb_init_symbols(struct pdb_reader *r) in pdb_init_symbols() [all …]
|
/openbmc/openpower-hw-diags/util/ |
H A D | bin_stream.hpp | 76 inline BinFileReader& BinFileReader::operator>>(uint8_t& r) in operator >>() 84 inline BinFileReader& BinFileReader::operator>>(uint16_t& r) in operator >>() 93 inline BinFileReader& BinFileReader::operator>>(uint32_t& r) in operator >>() 102 inline BinFileReader& BinFileReader::operator>>(uint64_t& r) in operator >>() 173 inline BinFileWriter& BinFileWriter::operator<<(uint8_t r) in operator <<() 181 inline BinFileWriter& BinFileWriter::operator<<(uint16_t r) in operator <<() 190 inline BinFileWriter& BinFileWriter::operator<<(uint32_t r) in operator <<() 199 inline BinFileWriter& BinFileWriter::operator<<(uint64_t r) in operator <<()
|
/openbmc/qemu/tcg/ |
H A D | tcg-op-vec.c | 144 void vec_gen_2(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r, TCGArg a) in vec_gen_2() 154 TCGArg r, TCGArg a, TCGArg b) in vec_gen_3() 165 TCGArg r, TCGArg a, TCGArg b, TCGArg c) in vec_gen_4() 176 void vec_gen_6(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r, in vec_gen_6() 190 static void vec_gen_op2(TCGOpcode opc, unsigned vece, TCGv_vec r, TCGv_vec a) in vec_gen_op2() 202 TCGv_vec r, TCGv_vec a, TCGv_vec b) in vec_gen_op3() 215 void tcg_gen_mov_vec(TCGv_vec r, TCGv_vec a) in tcg_gen_mov_vec() 222 void tcg_gen_dupi_vec(unsigned vece, TCGv_vec r, uint64_t a) in tcg_gen_dupi_vec() 228 void tcg_gen_dup_i64_vec(unsigned vece, TCGv_vec r, TCGv_i64 a) in tcg_gen_dup_i64_vec() 247 void tcg_gen_dup_i32_vec(unsigned vece, TCGv_vec r, TCGv_i32 a) in tcg_gen_dup_i32_vec() [all …]
|
/openbmc/qemu/include/tcg/ |
H A D | tcg-op-common.h | 486 static inline void tcg_gen_ld_ptr(TCGv_ptr r, TCGv_ptr a, intptr_t o) in tcg_gen_ld_ptr() 491 static inline void tcg_gen_st_ptr(TCGv_ptr r, TCGv_ptr a, intptr_t o) in tcg_gen_st_ptr() 501 static inline void tcg_gen_add_ptr(TCGv_ptr r, TCGv_ptr a, TCGv_ptr b) in tcg_gen_add_ptr() 506 static inline void tcg_gen_addi_ptr(TCGv_ptr r, TCGv_ptr a, intptr_t b) in tcg_gen_addi_ptr() 527 static inline void tcg_gen_ext_i32_ptr(TCGv_ptr r, TCGv_i32 a) in tcg_gen_ext_i32_ptr() 536 static inline void tcg_gen_trunc_i64_ptr(TCGv_ptr r, TCGv_i64 a) in tcg_gen_trunc_i64_ptr() 545 static inline void tcg_gen_extu_ptr_i64(TCGv_i64 r, TCGv_ptr a) in tcg_gen_extu_ptr_i64() 554 static inline void tcg_gen_trunc_ptr_i32(TCGv_i32 r, TCGv_ptr a) in tcg_gen_trunc_ptr_i32()
|
/openbmc/qemu/include/crypto/ |
H A D | aes-round.h | 30 static inline void aesenc_MC(AESState *r, const AESState *st, bool be) in aesenc_MC() 50 static inline void aesenc_SB_SR_AK(AESState *r, const AESState *st, in aesenc_SB_SR_AK() 71 static inline void aesenc_SB_SR_MC_AK(AESState *r, const AESState *st, in aesenc_SB_SR_MC_AK() 90 static inline void aesdec_IMC(AESState *r, const AESState *st, bool be) in aesdec_IMC() 110 static inline void aesdec_ISB_ISR_AK(AESState *r, const AESState *st, in aesdec_ISB_ISR_AK() 131 static inline void aesdec_ISB_ISR_AK_IMC(AESState *r, const AESState *st, in aesdec_ISB_ISR_AK_IMC() 152 static inline void aesdec_ISB_ISR_IMC_AK(AESState *r, const AESState *st, in aesdec_ISB_ISR_IMC_AK()
|
/openbmc/u-boot/drivers/net/ |
H A D | smc91111.h | 71 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+((r)<<1)))) argument 72 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+((r)<<1)))) argument 80 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+(r)))) argument 81 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+(r)))) argument 91 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r<<1))) = d) argument 92 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r<<1))) = d) argument 94 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r))) = d) argument 95 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r))) = d) argument 98 #define SMC_outb(a,d,r) ({ word __d = (byte)(d); \ argument 105 #define SMC_outsl(a,r,b,l) ({ int __i; \ argument [all …]
|
/openbmc/qemu/hw/net/rocker/ |
H A D | rocker.c | 81 Rocker *r; in rocker_find() local 91 World *rocker_get_world(Rocker *r, enum rocker_world_type type) in rocker_get_world() 102 Rocker *r; in qmp_query_rocker() local 121 Rocker *r; in qmp_query_rocker_ports() local 137 static uint32_t rocker_get_pport_by_tx_ring(Rocker *r, in rocker_get_pport_by_tx_ring() 143 static int tx_consume(Rocker *r, DescInfo *info) in tx_consume() 257 static int cmd_get_port_settings(Rocker *r, in cmd_get_port_settings() 332 static int cmd_set_port_settings(Rocker *r, in cmd_set_port_settings() 405 static int cmd_consume(Rocker *r, DescInfo *info) in cmd_consume() 461 static void rocker_msix_irq(Rocker *r, unsigned vector) in rocker_msix_irq() [all …]
|
/openbmc/qemu/block/ |
H A D | block-ram-registrar.c | 15 BlockRAMRegistrar *r = container_of(n, BlockRAMRegistrar, notifier); in ram_block_added() local 32 BlockRAMRegistrar *r = container_of(n, BlockRAMRegistrar, notifier); in ram_block_removed() local 36 void blk_ram_registrar_init(BlockRAMRegistrar *r, BlockBackend *blk) in blk_ram_registrar_init() 53 void blk_ram_registrar_destroy(BlockRAMRegistrar *r) in blk_ram_registrar_destroy()
|
/openbmc/u-boot/lib/ |
H A D | slre.c | 119 slre_dump(const struct slre *r, FILE *fp) in slre_dump() 166 set_jump_offset(struct slre *r, int pc, int offset) in set_jump_offset() 177 emit(struct slre *r, int code) in emit() 186 store_char_in_data(struct slre *r, int ch) in store_char_in_data() 195 exact(struct slre *r, const char **re) in exact() 243 anyof(struct slre *r, const char **re) in anyof() 280 relocate(struct slre *r, int begin, int shift) in relocate() 288 quantifier(struct slre *r, int prev, int op) in quantifier() 303 exact_one_char(struct slre *r, int ch) in exact_one_char() 312 fixup_branch(struct slre *r, int fixup) in fixup_branch() [all …]
|
/openbmc/qemu/crypto/ |
H A D | aes.c | 956 aesenc_MC_swap(AESState *r, const AESState *st, bool swap) in aesenc_MC_swap() 1001 void aesenc_MC_gen(AESState *r, const AESState *st) in aesenc_MC_gen() 1006 void aesenc_MC_genrev(AESState *r, const AESState *st) in aesenc_MC_genrev() 1046 void aesenc_SB_SR_AK_gen(AESState *r, const AESState *s, const AESState *k) in aesenc_SB_SR_AK_gen() 1051 void aesenc_SB_SR_AK_genrev(AESState *r, const AESState *s, const AESState *k) in aesenc_SB_SR_AK_genrev() 1060 aesenc_SB_SR_MC_AK_swap(AESState *r, const AESState *st, in aesenc_SB_SR_MC_AK_swap() 1102 void aesenc_SB_SR_MC_AK_gen(AESState *r, const AESState *st, in aesenc_SB_SR_MC_AK_gen() 1108 void aesenc_SB_SR_MC_AK_genrev(AESState *r, const AESState *st, in aesenc_SB_SR_MC_AK_genrev() 1118 aesdec_IMC_swap(AESState *r, const AESState *st, bool swap) in aesdec_IMC_swap() 1163 void aesdec_IMC_gen(AESState *r, const AESState *st) in aesdec_IMC_gen() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | sifive_e_aon.c | 48 static void sifive_e_aon_wdt_update_wdogcount(SiFiveEAONState *r) in sifive_e_aon_wdt_update_wdogcount() 65 static void sifive_e_aon_wdt_update_state(SiFiveEAONState *r) in sifive_e_aon_wdt_update_state() 108 SiFiveEAONState *r = SIFIVE_E_AON(opaque); in sifive_e_aon_wdt_expired_cb() local 115 SiFiveEAONState *r = SIFIVE_E_AON(opaque); in sifive_e_aon_wdt_read() local 147 SiFiveEAONState *r = SIFIVE_E_AON(opaque); in sifive_e_aon_wdt_write() local 266 SiFiveEAONState *r = SIFIVE_E_AON(dev); in sifive_e_aon_reset() local 279 SiFiveEAONState *r = SIFIVE_E_AON(obj); in sifive_e_aon_init() local
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | message.hpp | 182 std::tuple_element_t<0, std::tuple<Args...>> r{}; in unpack() local 188 std::tuple<Args...> r{}; in unpack() local 286 int r = _intf->sd_bus_message_get_type(_msg.get(), &type); in get_type() local 301 int r = _intf->sd_bus_message_get_cookie(_msg.get(), &cookie); in get_cookie() local 316 int r = _intf->sd_bus_message_get_reply_cookie(_msg.get(), &cookie); in get_reply_cookie() local 354 int r = _intf->sd_bus_message_new_method_return(this->get(), &reply); in new_method_return() local 373 int r = in new_method_error() local 393 int r = _intf->sd_bus_message_new_method_errno(this->get(), &reply, in new_method_errno() local 407 int r = _intf->sd_bus_send(b, this->get(), nullptr); in method_return() local 435 int r = _intf->sd_bus_call(nullptr, get(), timeout_us, &error, &reply); in call() local [all …]
|
/openbmc/phosphor-inventory-manager/test/ |
H A D | interface_ops_test.cpp | 124 auto r = in TEST() local 141 auto r = in TEST() local 158 auto r = in TEST() local 175 auto r = in TEST() local 191 auto r = in TEST() local 206 auto r = in TEST() local 221 auto r = in TEST() local 236 auto r = in TEST() local 249 auto r = in TEST() local 265 auto r = in TEST() local [all …]
|
/openbmc/sdbusplus/include/sdbusplus/message/ |
H A D | read.hpp | 84 int r = intf->sd_bus_message_read_basic(m, dbusType, &t); in op() local 99 auto r = sdbusplus::message::convert_from_string<Td<T>>(value); in op() local 126 int r = intf->sd_bus_message_read_basic(m, dbusType, &str); in op() local 144 int r = intf->sd_bus_message_read_basic(m, dbusType, &i); in op() local 166 int r = intf->sd_bus_message_enter_container(m, SD_BUS_TYPE_ARRAY, in op() local 213 int r = in op() local 232 int r = intf->sd_bus_message_enter_container(m, SD_BUS_TYPE_ARRAY, in op() local 281 int r = in op() local 315 int r = intf->sd_bus_message_verify_type(m, SD_BUS_TYPE_VARIANT, in read() local
|
/openbmc/qemu/tests/tcg/s390x/ |
H A D | div.c | 8 int32_t b = 101, q, r; in test_dr() local 24 uint32_t b = 101, q, r; in test_dlr() local 40 int64_t b = 101, q, r; in test_dsgr() local 56 uint64_t b = 101, q, r; in test_dlgr() local
|
/openbmc/u-boot/drivers/bios_emulator/include/x86emu/ |
H A D | decode.h | 47 #define DECODE_RM_BYTE_REGISTER(r) decode_rm_byte_register(r) argument 48 #define DECODE_RM_WORD_REGISTER(r) decode_rm_word_register(r) argument 49 #define DECODE_RM_LONG_REGISTER(r) decode_rm_long_register(r) argument
|
/openbmc/telemetry/subprojects/packagefiles/boost/ |
H A D | meson.build | 6 r = run_command('[', '!', '-d', build_dir, ']', check: false) variable 8 r = run_command('./bootstrap.sh', '--with-libraries=coroutine', check: true) variable 9 r = run_command('./b2', 'install', '--prefix=build', check: true) variable
|
/openbmc/qemu/hw/scsi/ |
H A D | scsi-generic.c | 46 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_generic_save_request() local 57 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_generic_load_request() local 68 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_free_request() local 74 static void scsi_command_complete_noio(SCSIGenericReq *r, int ret) in scsi_command_complete_noio() 111 SCSIGenericReq *r = (SCSIGenericReq *)opaque; in scsi_command_complete() local 120 SCSIGenericReq *r, int direction, in execute_command() 159 static int scsi_handle_inquiry_reply(SCSIGenericReq *r, SCSIDevice *s, int len) in scsi_handle_inquiry_reply() 235 static int scsi_generic_emulate_block_limits(SCSIGenericReq *r, SCSIDevice *s) in scsi_generic_emulate_block_limits() 269 SCSIGenericReq *r = (SCSIGenericReq *)opaque; in scsi_read_complete() local 358 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_read_data() local [all …]
|
/openbmc/qemu/tests/tcg/i386/ |
H A D | test-avx.c | 15 uint64_t r[16]; member 35 static void dump_ymm(const char *name, int n, const v4di *r, int ff) in dump_ymm() 92 #define LOADMM(r, o) "movq " #r ", " #o "[%0]\n\t" argument 93 #define LOADYMM(r, o) "vmovdqa " #r ", " #o "[%0]\n\t" argument 94 #define STOREMM(r, o) "movq " #o "[%1], " #r "\n\t" argument 95 #define STOREYMM(r, o) "vmovdqa " #o "[%1], " #r "\n\t" argument 122 #define LOADREG(r, o) "mov " #r ", " #o "[rax]\n\t" argument 123 #define STOREREG(r, o) "mov " #o "[rax], " #r "\n\t" argument 249 void init_f16reg(v4di *r) in init_f16reg() 255 void init_f32reg(v4di *r) in init_f32reg() [all …]
|
H A D | test-mmx.c | 22 uint64_t r[16]; member 41 static void dump_mmx(int n, const uint64_t *r, int ff) in dump_mmx() 52 static void dump_xmm(const char *name, int n, const v2di *r, int ff) in dump_xmm() 104 #define LOADMM(r, o) "movq " #r ", " #o "[%0]\n\t" argument 105 #define LOADXMM(r, o) "movdqa " #r ", " #o "[%0]\n\t" argument 106 #define STOREMM(r, o) "movq " #o "[%1], " #r "\n\t" argument 107 #define STOREXMM(r, o) "movdqa " #o "[%1], " #r "\n\t" argument 126 #define LOADREG(r, o) "mov " #r ", " #o "[rax]\n\t" argument 127 #define STOREREG(r, o) "mov " #o "[rax], " #r "\n\t" argument 239 void init_f32reg(uint64_t *r) in init_f32reg() [all …]
|
/openbmc/skeleton/op-pwrctl/pgood_wait/ |
H A D | pgood_wait.c | 28 static void quit(int r, void *loop) in quit() 38 int r; in callback() local 87 int r, retry = 0; in get_object() local 131 int r; in get_service() local 175 int r, dest = -1, state; in main() local
|
/openbmc/phosphor-objmgr/libmapper/ |
H A D | mapper.c | 65 int r; member 160 int r; in async_wait_timeout_callback() local 183 int r; in async_wait_getobject_callback() local 250 int r; in async_wait_get_objects() local 283 int r; in async_wait_match_introspection_complete() local 300 static void async_wait_done(int r, mapper_async_wait* w) in async_wait_done() 348 int r; in mapper_wait_async() local 430 int r; in async_subtree_timeout_callback() local 451 int r; in async_subtree_getpaths_callback() local 533 int r = 0; in async_subtree_getpaths() local [all …]
|
/openbmc/openpower-occ-control/ |
H A D | occ_errors.cpp | 47 auto r = sd_event_add_io(event.get(), &sourcePtr, fd, EPOLLPRI | EPOLLERR, in registerCallBack() local 114 auto r = ioctl(fd, FIONREAD, &len); in analyzeEvent() local 150 auto r = read(fd, data.get(), len); in readFile() local 170 auto r = lseek(fd, 0, SEEK_SET); in readFile() local
|
/openbmc/qemu/tests/unit/ |
H A D | test-bitops.c | 43 int32_t r = sextract32(test->value, test->start, test->length); in test_sextract32() local 55 int64_t r = sextract64(test->value, test->start, test->length); in test_sextract64() local 62 int64_t r = sextract64(test->value, test->start, test->length); in test_sextract64() local 94 uint32_t r = half_shuffle32(test->unshuffled); in test_half_shuffle32() local 106 uint64_t r = half_shuffle64(test->unshuffled); in test_half_shuffle64() local 118 uint32_t r = half_unshuffle32(test->shuffled); in test_half_unshuffle32() local 130 uint64_t r = half_unshuffle64(test->shuffled); in test_half_unshuffle64() local
|