/openbmc/qemu/qapi/ |
H A D | qapi-visit-core.c | 27 void visit_complete(Visitor *v, void *opaque) in visit_complete() 36 void visit_free(Visitor *v) in visit_free() 61 bool visit_check_struct(Visitor *v, Error **errp) in visit_check_struct() 67 void visit_end_struct(Visitor *v, void **obj) in visit_end_struct() 94 bool visit_check_list(Visitor *v, Error **errp) in visit_check_list() 100 void visit_end_list(Visitor *v, void **obj) in visit_end_list() 126 void visit_end_alternate(Visitor *v, void **obj) in visit_end_alternate() 143 bool visit_policy_reject(Visitor *v, const char *name, in visit_policy_reject() 153 bool visit_policy_skip(Visitor *v, const char *name, in visit_policy_skip() 168 bool visit_is_input(Visitor *v) in visit_is_input() [all …]
|
H A D | qapi-forward-visitor.c | 37 static ForwardFieldVisitor *to_ffv(Visitor *v) in to_ffv() 56 static bool forward_field_check_struct(Visitor *v, Error **errp) in forward_field_check_struct() 78 static void forward_field_end_struct(Visitor *v, void **obj) in forward_field_end_struct() 87 static bool forward_field_start_list(Visitor *v, const char *name, in forward_field_start_list() 109 static bool forward_field_check_list(Visitor *v, Error **errp) in forward_field_check_list() 117 static void forward_field_end_list(Visitor *v, void **obj) in forward_field_end_list() 142 static void forward_field_end_alternate(Visitor *v, void **obj) in forward_field_end_alternate() 226 static bool forward_field_type_null(Visitor *v, const char *name, in forward_field_type_null() 271 static void forward_field_complete(Visitor *v, void *opaque) in forward_field_complete() 279 static void forward_field_free(Visitor *v) in forward_field_free() [all …]
|
H A D | qapi-dealloc-visitor.c | 31 static void qapi_dealloc_end_struct(Visitor *v, void **obj) in qapi_dealloc_end_struct() 38 static void qapi_dealloc_end_alternate(Visitor *v, void **obj) in qapi_dealloc_end_alternate() 45 static bool qapi_dealloc_start_list(Visitor *v, const char *name, in qapi_dealloc_start_list() 52 static GenericList *qapi_dealloc_next_list(Visitor *v, GenericList *tail, in qapi_dealloc_next_list() 60 static void qapi_dealloc_end_list(Visitor *v, void **obj) in qapi_dealloc_end_list() 64 static bool qapi_dealloc_type_str(Visitor *v, const char *name, char **obj, in qapi_dealloc_type_str() 79 static bool qapi_dealloc_type_uint64(Visitor *v, const char *name, in qapi_dealloc_type_uint64() 97 static bool qapi_dealloc_type_anything(Visitor *v, const char *name, in qapi_dealloc_type_anything() 106 static bool qapi_dealloc_type_null(Visitor *v, const char *name, in qapi_dealloc_type_null() 115 static void qapi_dealloc_free(Visitor *v) in qapi_dealloc_free() [all …]
|
H A D | qapi-clone-visitor.c | 22 static QapiCloneVisitor *to_qcv(Visitor *v) in to_qcv() 27 static bool qapi_clone_start_struct(Visitor *v, const char *name, void **obj, in qapi_clone_start_struct() 45 static void qapi_clone_end(Visitor *v, void **obj) in qapi_clone_end() 55 static bool qapi_clone_start_list(Visitor *v, const char *name, in qapi_clone_start_list() 62 static GenericList *qapi_clone_next_list(Visitor *v, GenericList *tail, in qapi_clone_next_list() 73 static bool qapi_clone_start_alternate(Visitor *v, const char *name, in qapi_clone_start_alternate() 90 static bool qapi_clone_type_uint64(Visitor *v, const char *name, in qapi_clone_type_uint64() 100 static bool qapi_clone_type_bool(Visitor *v, const char *name, bool *obj, in qapi_clone_type_bool() 147 static void qapi_clone_free(Visitor *v) in qapi_clone_free() 154 QapiCloneVisitor *v; in qapi_clone_visitor_new() local [all …]
|
/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/ |
H A D | cmd_v2.c | 27 #define CMD_U3_IDB4(v) FIELD_PREP(W3_MASK(103, 96), v) argument 28 #define CMD_U3_HDR_CMD(v) FIELD_PREP(W3_MASK(103, 96), v) argument 29 #define CMD_U2_IDB3(v) FIELD_PREP(W2_MASK( 95, 88), v) argument 30 #define CMD_U2_HDR_BT(v) FIELD_PREP(W2_MASK( 95, 88), v) argument 31 #define CMD_U2_IDB2(v) FIELD_PREP(W2_MASK( 87, 80), v) argument 32 #define CMD_U2_BT_CMD2(v) FIELD_PREP(W2_MASK( 87, 80), v) argument 33 #define CMD_U2_IDB1(v) FIELD_PREP(W2_MASK( 79, 72), v) argument 34 #define CMD_U2_BT_CMD1(v) FIELD_PREP(W2_MASK( 79, 72), v) argument 35 #define CMD_U2_IDB0(v) FIELD_PREP(W2_MASK( 71, 64), v) argument 50 #define CMD_U0_TID(v) FIELD_PREP(W0_MASK( 6, 3), v) argument [all …]
|
H A D | cmd_v1.c | 27 #define CMD_A0_DEV_COUNT(v) FIELD_PREP(W0_MASK(29, 26), v) argument 29 #define CMD_A0_CMD(v) FIELD_PREP(W0_MASK(14, 7), v) argument 30 #define CMD_A0_TID(v) FIELD_PREP(W0_MASK( 6, 3), v) argument 46 #define CMD_I0_MODE(v) FIELD_PREP(W0_MASK(28, 26), v) argument 47 #define CMD_I0_DTT(v) FIELD_PREP(W0_MASK(25, 23), v) argument 50 #define CMD_I0_CMD(v) FIELD_PREP(W0_MASK(14, 7), v) argument 51 #define CMD_I0_TID(v) FIELD_PREP(W0_MASK( 6, 3), v) argument 64 #define CMD_R0_MODE(v) FIELD_PREP(W0_MASK(28, 26), v) argument 68 #define CMD_R0_CMD(v) FIELD_PREP(W0_MASK(14, 7), v) argument 69 #define CMD_R0_TID(v) FIELD_PREP(W0_MASK( 6, 3), v) argument [all …]
|
/openbmc/linux/include/linux/ |
H A D | string_choices.h | 7 static inline const char *str_enable_disable(bool v) in str_enable_disable() 12 static inline const char *str_enabled_disabled(bool v) in str_enabled_disabled() 17 static inline const char *str_hi_lo(bool v) in str_hi_lo() 21 #define str_lo_hi(v) str_hi_lo(!(v)) argument 23 static inline const char *str_high_low(bool v) in str_high_low() 27 #define str_low_high(v) str_high_low(!(v)) argument 29 static inline const char *str_read_write(bool v) in str_read_write() 33 #define str_write_read(v) str_read_write(!(v)) argument 35 static inline const char *str_on_off(bool v) in str_on_off() 40 static inline const char *str_yes_no(bool v) in str_yes_no()
|
/openbmc/qemu/include/qemu/ |
H A D | bswap.h | 39 #define be_bswap(v, size) (v) argument 41 #define be_bswap24(v) (v) argument 42 #define le_bswap24(v) bswap24(v) argument 43 #define be_bswaps(v, size) argument 47 #define le_bswap(v, size) (v) argument 48 #define be_bswap24(v) bswap24(v) argument 49 #define le_bswap24(v) (v) argument 51 #define le_bswaps(v, size) argument 234 static inline void stb_p(void *ptr, uint8_t v) in stb_p() 263 static inline void stw_he_p(void *ptr, uint16_t v) in stw_he_p() [all …]
|
/openbmc/u-boot/include/asm-generic/ |
H A D | atomic.h | 15 #define atomic_read(v) ((v)->counter) argument 16 #define atomic_set(v, i) ((v)->counter = (i)) argument 17 #define atomic64_read(v) atomic_read(v) argument 18 #define atomic64_set(v, i) atomic_set(v, i) argument 20 static inline void atomic_add(int i, atomic_t *v) in atomic_add() 29 static inline void atomic_sub(int i, atomic_t *v) in atomic_sub() 38 static inline void atomic_inc(atomic_t *v) in atomic_inc() 47 static inline void atomic_dec(atomic_t *v) in atomic_dec() 56 static inline int atomic_dec_and_test(volatile atomic_t *v) in atomic_dec_and_test() 132 static inline void atomic64_inc(volatile atomic64_t *v) in atomic64_inc() [all …]
|
/openbmc/entity-manager/test/ |
H A D | test_entity-manager.cpp | 289 DBusValueVariant v = true; in TEST() local 296 DBusValueVariant v = true; in TEST() local 310 DBusValueVariant v = true; in TEST() local 317 DBusValueVariant v = true; in TEST() local 387 DBusValueVariant v; in TEST() local 408 DBusValueVariant v = true; in TEST() local 485 DBusValueVariant v; in TEST() local 492 DBusValueVariant v; in TEST() local 569 DBusValueVariant v; in TEST() local 632 DBusValueVariant v; in TEST() local [all …]
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | atomic.h | 16 #define atomic_read(v) ((v)->counter) argument 17 #define atomic_set(v,i) (((v)->counter) = (i)) argument 22 static __inline__ int atomic_add_return(int a, atomic_t *v) in atomic_add_return() 38 static __inline__ int atomic_sub_return(int a, atomic_t *v) in atomic_sub_return() 54 static __inline__ int atomic_inc_return(atomic_t *v) in atomic_inc_return() 70 static __inline__ int atomic_dec_return(atomic_t *v) in atomic_dec_return() 86 #define atomic_add(a, v) ((void) atomic_add_return((a), (v))) argument 87 #define atomic_sub(a, v) ((void) atomic_sub_return((a), (v))) argument 89 #define atomic_inc(v) ((void) atomic_inc_return((v))) argument 90 #define atomic_dec(v) ((void) atomic_dec_return((v))) argument [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | map_kptr_fail.c | 27 struct map_value *v; in size_not_bpf_dw() local 42 struct map_value *v; in non_const_var_off() local 61 struct map_value *v; in non_const_var_off_kptr_xchg() local 80 struct map_value *v; in misaligned_access_write() local 96 struct map_value *v; in misaligned_access_read() local 111 struct map_value *v; in reject_var_off_store() local 135 struct map_value *v; in reject_bad_type_match() local 155 struct map_value *v; in marked_as_untrusted_or_null() local 171 struct map_value *v; in correct_btf_id_check_size() local 189 struct map_value *v; in inherit_untrusted_on_walk() local [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | atomic64_32.h | 70 static __always_inline s64 arch_atomic64_xchg(atomic64_t *v, s64 n) in arch_atomic64_xchg() 82 static __always_inline void arch_atomic64_set(atomic64_t *v, s64 i) in arch_atomic64_set() 91 static __always_inline s64 arch_atomic64_read(const atomic64_t *v) in arch_atomic64_read() 116 static __always_inline s64 arch_atomic64_inc_return(atomic64_t *v) in arch_atomic64_inc_return() 125 static __always_inline s64 arch_atomic64_dec_return(atomic64_t *v) in arch_atomic64_dec_return() 134 static __always_inline s64 arch_atomic64_add(s64 i, atomic64_t *v) in arch_atomic64_add() 142 static __always_inline s64 arch_atomic64_sub(s64 i, atomic64_t *v) in arch_atomic64_sub() 150 static __always_inline void arch_atomic64_inc(atomic64_t *v) in arch_atomic64_inc() 157 static __always_inline void arch_atomic64_dec(atomic64_t *v) in arch_atomic64_dec() 196 static __always_inline void arch_atomic64_and(s64 i, atomic64_t *v) in arch_atomic64_and() [all …]
|
/openbmc/linux/drivers/vhost/ |
H A D | vdpa.c | 171 struct vhost_vdpa *v = private; in vhost_vdpa_config_cb() local 211 static int vhost_vdpa_reset(struct vhost_vdpa *v) in vhost_vdpa_reset() 220 static long vhost_vdpa_bind_mm(struct vhost_vdpa *v) in vhost_vdpa_bind_mm() 691 struct vhost_vdpa *v = filep->private_data; in vhost_vdpa_unlocked_ioctl() local 923 static void vhost_vdpa_unmap(struct vhost_vdpa *v, in vhost_vdpa_unmap() 1209 struct vhost_vdpa *v = file->private_data; in vhost_vdpa_chr_write_iter() local 1301 struct vhost_vdpa *v; in vhost_vdpa_open() local 1360 struct vhost_vdpa *v = filep->private_data; in vhost_vdpa_release() local 1447 struct vhost_vdpa *v = in vhost_vdpa_release_dev() local 1458 struct vhost_vdpa *v; in vhost_vdpa_probe() local [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-qobject-input-visitor.c | 71 Visitor *v; in visitor_input_test_init_full() local 85 Visitor *v; in visitor_input_test_init() local 115 Visitor *v; in test_visitor_in_int() local 133 Visitor *v; in test_visitor_in_uint() local 166 Visitor *v; in test_visitor_in_int_overflow() local 184 Visitor *v; in test_visitor_in_int_keyval() local 195 Visitor *v; in test_visitor_in_int_str_keyval() local 207 Visitor *v; in test_visitor_in_int_str_fail() local 220 Visitor *v; in test_visitor_in_bool() local 233 Visitor *v; in test_visitor_in_bool_keyval() local [all …]
|
/openbmc/u-boot/drivers/memory/ |
H A D | ti-aemif.c | 18 #define AEMIF_CFG_SELECT_STROBE(v) ((v) ? 1 << 31 : 0) argument 19 #define AEMIF_CFG_EXTEND_WAIT(v) ((v) ? 1 << 30 : 0) argument 20 #define AEMIF_CFG_WR_SETUP(v) (((v) & 0x0f) << 26) argument 21 #define AEMIF_CFG_WR_STROBE(v) (((v) & 0x3f) << 20) argument 22 #define AEMIF_CFG_WR_HOLD(v) (((v) & 0x07) << 17) argument 23 #define AEMIF_CFG_RD_SETUP(v) (((v) & 0x0f) << 13) argument 24 #define AEMIF_CFG_RD_STROBE(v) (((v) & 0x3f) << 7) argument 25 #define AEMIF_CFG_RD_HOLD(v) (((v) & 0x07) << 4) argument 26 #define AEMIF_CFG_TURN_AROUND(v) (((v) & 0x03) << 2) argument 27 #define AEMIF_CFG_WIDTH(v) (((v) & 0x03) << 0) argument
|
/openbmc/linux/arch/mips/include/asm/mach-bcm63xx/ |
H A D | bcm63xx_io.h | 61 #define bcm_writeq(v, a) (*(volatile u64 *) BCM_REGS_VA((a)) = (v)) argument 69 #define bcm_rset_writeb(s, v, o) bcm_writeb((v), \ argument 71 #define bcm_rset_writew(s, v, o) bcm_writew((v), \ argument 73 #define bcm_rset_writel(s, v, o) bcm_writel((v), \ argument 80 #define bcm_perf_writel(v, o) bcm_rset_writel(RSET_PERF, (v), (o)) argument 84 #define bcm_wdt_writel(v, o) bcm_rset_writel(RSET_WDT, (v), (o)) argument 86 #define bcm_gpio_writel(v, o) bcm_rset_writel(RSET_GPIO, (v), (o)) argument 90 #define bcm_mpi_writel(v, o) bcm_rset_writel(RSET_MPI, (v), (o)) argument 94 #define bcm_pcie_writel(v, o) bcm_rset_writel(RSET_PCIE, (v), (o)) argument 98 #define bcm_memc_writel(v, o) bcm_rset_writel(RSET_MEMC, (v), (o)) argument [all …]
|
/openbmc/linux/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_regs.h | 13 #define SHIFT_AND_MASK_BITS(v, h, l) \ argument 104 #define VE_DEC_MPEG_MP12HDR_TOP_FIELD_FIRST(v) \ argument 106 #define VE_DEC_MPEG_MP12HDR_FRAME_PRED_FRAME_DCT(v) \ argument 110 #define VE_DEC_MPEG_MP12HDR_Q_SCALE_TYPE(v) \ argument 112 #define VE_DEC_MPEG_MP12HDR_INTRA_VLC_FORMAT(v) \ argument 114 #define VE_DEC_MPEG_MP12HDR_ALTERNATE_SCAN(v) \ argument 116 #define VE_DEC_MPEG_MP12HDR_FULL_PEL_FORWARD_VECTOR(v) \ argument 250 #define VE_DEC_MPEG_IQMINPUT_WEIGHT(i, v) \ argument 262 #define VE_DEC_H265_DEC_NAL_HDR_NAL_UNIT_TYPE(v) \ argument 292 #define VE_DEC_H265_DEC_SPS_HDR_CHROMA_FORMAT_IDC(v) \ argument [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-verity-target.c | 53 struct dm_verity *v; member 567 struct dm_verity *v = io->v; in verity_verify_io() local 683 struct dm_verity *v = io->v; in verity_finish_io() local 729 struct dm_verity *v = pw->v; in verity_prefetch_io() local 799 struct dm_verity *v = ti->private; in verity_map() local 845 struct dm_verity *v = ti->private; in verity_status() local 963 struct dm_verity *v = ti->private; in verity_prepare_ioctl() local 975 struct dm_verity *v = ti->private; in verity_iterate_devices() local 982 struct dm_verity *v = ti->private; in verity_io_hints() local 995 struct dm_verity *v = ti->private; in verity_dtr() local [all …]
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | module.c | 48 Elf_Addr v) in apply_r_riscv_branch_rela() 61 Elf_Addr v) in apply_r_riscv_jal_rela() 74 Elf_Addr v) in apply_r_riscv_rvc_branch_rela() 107 Elf_Addr v) in apply_r_riscv_pcrel_hi20_rela() 125 Elf_Addr v) in apply_r_riscv_pcrel_lo12_i_rela() 136 Elf_Addr v) in apply_r_riscv_pcrel_lo12_s_rela() 150 Elf_Addr v) in apply_r_riscv_hi20_rela() 237 Elf_Addr v) in apply_r_riscv_call_rela() 257 Elf_Addr v) in apply_r_riscv_relax_rela() 263 Elf_Addr v) in apply_r_riscv_align_rela() [all …]
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | atomic_32.h | 47 #define arch_atomic_set_release(v, i) arch_atomic_set((v), (i)) argument 49 #define arch_atomic_read(v) READ_ONCE((v)->counter) argument 51 #define arch_atomic_add(i, v) ((void)arch_atomic_add_return( (int)(i), (v))) argument 52 #define arch_atomic_sub(i, v) ((void)arch_atomic_add_return(-(int)(i), (v))) argument 54 #define arch_atomic_and(i, v) ((void)arch_atomic_fetch_and((i), (v))) argument 55 #define arch_atomic_or(i, v) ((void)arch_atomic_fetch_or((i), (v))) argument 56 #define arch_atomic_xor(i, v) ((void)arch_atomic_fetch_xor((i), (v))) argument 58 #define arch_atomic_sub_return(i, v) (arch_atomic_add_return(-(int)(i), (v))) argument 59 #define arch_atomic_fetch_sub(i, v) (arch_atomic_fetch_add (-(int)(i), (v))) argument
|
/openbmc/u-boot/arch/arm/include/asm/arch-s32v234/ |
H A D | siul.h | 78 #define SIUL2_MSCR_OBE(v) ((v) & 0x00200000) argument 81 #define SIUL2_MSCR_ODE(v) ((v) & 0x00100000) argument 84 #define SIUL2_MSCR_IBE(v) ((v) & 0x00010000) argument 87 #define SIUL2_MSCR_HYS(v) ((v) & 0x00400000) argument 90 #define SIUL2_MSCR_INV(v) ((v) & 0x00020000) argument 93 #define SIUL2_MSCR_PKE(v) ((v) & 0x00010000) argument 96 #define SIUL2_MSCR_SRE(v) ((v) & 0x0000C000) argument 102 #define SIUL2_MSCR_PUE(v) ((v) & 0x00002000) argument 105 #define SIUL2_MSCR_PUS(v) ((v) & 0x00001800) argument 111 #define SIUL2_MSCR_DSE(v) ((v) & 0x00000700) argument [all …]
|
/openbmc/linux/drivers/iommu/ |
H A D | msm_iommu_hw-8xxx.h | 28 #define SET_GLOBAL_FIELD(b, r, F, v) \ argument 30 #define SET_CONTEXT_FIELD(b, c, r, F, v) \ argument 35 #define SET_FIELD(addr, mask, shift, v) \ argument 200 #define SET_BPMEMTYPE(b, n, v) \ argument 232 #define SET_ESYNR1_AMEMTYPE(b, v) \ argument 235 #define SET_ESYNR1_AINNERSHARED(b, v) \ argument 483 #define SET_AINNERSHARED(b, c, v) \ argument 491 #define SET_FSYNR1_ASIZE(b, c, v) \ argument 523 #define SET_FAULT_HTWDEEF(b, c, v) \ argument 525 #define SET_FAULT_HTWSEEF(b, c, v) \ argument [all …]
|
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/ |
H A D | conversion.hpp | 93 static auto log_convert(const char* h, log_flag<Fs...> f, V v) in log_convert() 110 static auto log_convert(const char* h, log_flag<Fs...> f, V v) in log_convert() 126 static auto log_convert(const char* h, log_flag<Fs...> f, V v) in log_convert() 146 static auto log_convert(const char* h, log_flag<Fs...> f, V v) in log_convert() 166 static auto log_convert(const char* h, log_flag<Fs...> f, V v) in log_convert() 204 auto str_data = [](const V& v) { in log_convert() 227 static auto log_convert(const char* h, log_flag<Fs...> f, V v) in log_convert() 251 static auto log_convert(const char* h, log_flag<Fs...> f, V&& v) in log_convert() 271 static auto log_convert(const char* h, log_flag<Fs...> f, V&& v) in log_convert() 290 static auto log_convert(const char* h, log_flag<Fs...> f, V&& v) in log_convert() [all …]
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | regs-scaler.h | 244 #define SCALER_SRC_WH_SET_WIDTH(v) SCALER_SET(v, 29, 16) argument 246 #define SCALER_SRC_WH_SET_HEIGHT(v) SCALER_SET(v, 13, 0) argument 268 #define SCALER_DST_WH_SET_WIDTH(v) SCALER_SET(v, 29, 16) argument 270 #define SCALER_DST_WH_SET_HEIGHT(v) SCALER_SET(v, 13, 0) argument 274 #define SCALER_DST_POS_SET_H_POS(v) SCALER_SET(v, 29, 16) argument 276 #define SCALER_DST_POS_SET_V_POS(v) SCALER_SET(v, 13, 0) argument 280 #define SCALER_H_RATIO_SET(v) SCALER_SET(v, 18, 0) argument 284 #define SCALER_V_RATIO_SET(v) SCALER_SET(v, 18, 0) argument 290 #define SCALER_ROT_CFG_SET_ROTMODE(v) SCALER_SET(v, 1, 0) argument 299 #define SCALER_COEF_SET(v, i) \ argument [all …]
|