/openbmc/linux/arch/powerpc/perf/ |
H A D | isa207-common.h | 44 #define EVENT_COMBINE(v) (((v) >> EVENT_COMBINE_SHIFT) & EVENT_COMBINE_MASK) argument 75 #define p9_EVENT_COMBINE(v) (((v) >> p9_EVENT_COMBINE_SHIFT) & p9_EVENT_COMBINE_MASK) argument 78 #define p9_SDAR_MODE(v) (((v) >> p9_SDAR_MODE_SHIFT) & p9_SDAR_MODE_MASK) argument 95 #define p10_SDAR_MODE(v) (((v) >> p10_SDAR_MODE_SHIFT) & \ argument 149 #define CNST_FAB_MATCH_VAL(v) (((v) & EVENT_THR_CTL_MASK) << 56) argument 153 #define CNST_THRESH_VAL(v) (((v) & EVENT_THRESH_MASK) << 32) argument 156 #define CNST_THRESH_CTL_SEL_VAL(v) (((v) & 0x7ffull) << 32) argument 159 #define p10_CNST_THRESH_CMP_VAL(v) (((v) & 0x7ffull) << 43) argument 162 #define CNST_EBB_VAL(v) (((v) & EVENT_EBB_MASK) << 24) argument 165 #define CNST_IFM_VAL(v) (((v) & EVENT_IFM_MASK) << 25) argument [all …]
|
/openbmc/linux/sound/soc/fsl/ |
H A D | fsl_easrc.h | 100 #define EASRC_CC_FIFO_WTMK(v) (((v) << EASRC_CC_FIFO_WTMK_SHIFT) \ argument 106 #define EASRC_CC_SAMPLE_POS(v) (((v) << EASRC_CC_SAMPLE_POS_SHIFT) \ argument 115 #define EASRC_CC_BPS(v) (((v) << EASRC_CC_BPS_SHIFT) \ argument 127 #define EASRC_CC_CHEN(v) (((v) << EASRC_CC_CHEN_SHIFT) \ argument 141 #define EASRC_CCE1_PF_EXP(v) (((v) << EASRC_CCE1_PF_EXP_SHIFT) \ argument 165 #define EASRC_CCE1_RS_INIT(v) (((v) << EASRC_CCE1_RS_INIT_SHIFT) \ argument 171 #define EASRC_CCE1_PF_INIT(v) (((v) << EASRC_CCE1_PF_INIT_SHIFT) \ argument 179 #define EASRC_CCE2_ST2_TAPS(v) (((v) << EASRC_CCE2_ST2_TAPS_SHIFT) \ argument 185 #define EASRC_CCE2_ST1_TAPS(v) (((v) << EASRC_CCE2_ST1_TAPS_SHIFT) \ argument 193 #define EASRC_CIA_ITER(v) (((v) << EASRC_CIA_ITER_SHIFT) \ argument [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | atomic.h | 27 static __inline__ int arch_atomic_read(const atomic_t *v) in arch_atomic_read() 40 static __inline__ void arch_atomic_set(atomic_t *v, int i) in arch_atomic_set() 139 static __inline__ int arch_atomic_fetch_add_unless(atomic_t *v, int a, int u) in arch_atomic_fetch_add_unless() 167 static __inline__ int arch_atomic_dec_if_positive(atomic_t *v) in arch_atomic_dec_if_positive() 193 static __inline__ s64 arch_atomic64_read(const atomic64_t *v) in arch_atomic64_read() 206 static __inline__ void arch_atomic64_set(atomic64_t *v, s64 i) in arch_atomic64_set() 313 static __inline__ s64 arch_atomic64_inc_return_relaxed(atomic64_t *v) in arch_atomic64_inc_return_relaxed() 329 static __inline__ void arch_atomic64_dec(atomic64_t *v) in arch_atomic64_dec() 344 static __inline__ s64 arch_atomic64_dec_return_relaxed(atomic64_t *v) in arch_atomic64_dec_return_relaxed() 367 static __inline__ s64 arch_atomic64_dec_if_positive(atomic64_t *v) in arch_atomic64_dec_if_positive() [all …]
|
/openbmc/skeleton/libopenbmc_intf/ |
H A D | openbmc.h | 11 #define GET_VARIANT(v) g_variant_get_variant(v) argument 12 #define GET_VARIANT_D(v) g_variant_get_double(g_variant_get_variant(v)) argument 13 #define GET_VARIANT_U(v) g_variant_get_uint32(g_variant_get_variant(v)) argument 14 #define GET_VARIANT_B(v) g_variant_get_byte(g_variant_get_variant(v)) argument 15 #define NEW_VARIANT_D(v) g_variant_new_variant(g_variant_new_double(v)) argument 16 #define NEW_VARIANT_U(v) g_variant_new_variant(g_variant_new_uint32(v)) argument 17 #define NEW_VARIANT_B(v) g_variant_new_variant(g_variant_new_byte(v)) argument
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regmap-fsi.c | 17 u32 v; in regmap_fsi32_reg_read() local 30 u32 v = val; in regmap_fsi32_reg_write() local 42 __be32 v; in regmap_fsi32le_reg_read() local 55 __be32 v = cpu_to_be32(val); in regmap_fsi32le_reg_write() local 67 u16 v; in regmap_fsi16_reg_read() local 80 u16 v; in regmap_fsi16_reg_write() local 96 __be16 v; in regmap_fsi16le_reg_read() local 109 __be16 v; in regmap_fsi16le_reg_write() local 125 u8 v; in regmap_fsi8_reg_read() local 138 u8 v; in regmap_fsi8_reg_write() local
|
/openbmc/linux/drivers/mtd/nand/raw/gpmi-nand/ |
H A D | bch-regs.h | 30 #define BF_BCH_FLASH0LAYOUT0_NBLOCKS(v) \ argument 35 #define BF_BCH_FLASH0LAYOUT0_META_SIZE(v) \ argument 43 #define BF_BCH_FLASH0LAYOUT0_ECC0(v, x) \ argument 54 #define BF_BCH_FLASH0LAYOUT0_GF(v, x) \ argument 66 #define BF_BCH_FLASH0LAYOUT0_DATA0_SIZE(v, x) \ argument 77 #define BF_BCH_FLASH0LAYOUT1_PAGE_SIZE(v) \ argument 85 #define BF_BCH_FLASH0LAYOUT1_ECCN(v, x) \ argument 96 #define BF_BCH_FLASH0LAYOUT1_GF(v, x) \ argument 108 #define BF_BCH_FLASH0LAYOUT1_DATAN_SIZE(v, x) \ argument
|
H A D | gpmi-regs.h | 18 #define BF_GPMI_CTRL0_COMMAND_MODE(v) \ argument 37 #define BF_GPMI_CTRL0_LOCK_CS(v, x) 0x0 argument 43 #define BF_GPMI_CTRL0_CS(v, x) (((v) << BP_GPMI_CTRL0_CS) & \ argument 50 #define BF_GPMI_CTRL0_ADDRESS(v) \ argument 62 #define BF_GPMI_CTRL0_XFER_COUNT(v) \ argument 74 #define BF_GPMI_ECCCTRL_ECC_CMD(v) \ argument 85 #define BF_GPMI_ECCCTRL_BUFFER_MASK(v) \ argument 103 #define BF_GPMI_CTRL1_WRN_DLY_SEL(v) \ argument 121 #define BF_GPMI_CTRL1_RDN_DELAY(v) \ argument 147 #define BF_GPMI_TIMING0_ADDRESS_SETUP(v) \ argument [all …]
|
/openbmc/linux/drivers/isdn/capi/ |
H A D | kcapi_proc.c | 49 static void *controller_next(struct seq_file *seq, void *v, loff_t *pos) in controller_next() 58 static void controller_stop(struct seq_file *seq, void *v) in controller_stop() 64 static int controller_show(struct seq_file *seq, void *v) in controller_show() 80 static int contrstats_show(struct seq_file *seq, void *v) in contrstats_show() 129 applications_next(struct seq_file *seq, void *v, loff_t *pos) in applications_next() 138 static void applications_stop(struct seq_file *seq, void *v) in applications_stop() 145 applications_show(struct seq_file *seq, void *v) in applications_show() 162 applstats_show(struct seq_file *seq, void *v) in applstats_show()
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | io.h | 25 #define writeb(v,c) ({ wmb(); writeb_relaxed((v),(c)); }) argument 26 #define writew(v,c) ({ wmb(); writew_relaxed((v),(c)); }) argument 27 #define writel(v,c) ({ wmb(); writel_relaxed((v),(c)); }) argument 29 #define writeb(v,c) ({ wmb(); writeb_relaxed((v),(c)); mb(); }) argument 30 #define writew(v,c) ({ wmb(); writew_relaxed((v),(c)); mb(); }) argument 31 #define writel(v,c) ({ wmb(); writel_relaxed((v),(c)); mb(); }) argument 41 #define memset_io(c,v,l) __memset_io((c),(v),(l)) argument
|
/openbmc/linux/drivers/media/platform/sunxi/sun8i-di/ |
H A D | sun8i-di.h | 43 #define DEINTERLACE_FIELD_CTRL_FIELD_CNT(v) ((v) & 0xff) argument 55 #define DEINTERLACE_IN_FMT_PS(v) ((v) & 3) argument 56 #define DEINTERLACE_IN_FMT_FMT(v) (((v) & 7) << 4) argument 57 #define DEINTERLACE_IN_FMT_MOD(v) (((v) & 7) << 8) argument 64 #define DEINTERLACE_OUT_FMT_FMT(v) ((v) & 0xf) argument 65 #define DEINTERLACE_OUT_FMT_PS(v) (((v) & 3) << 5) argument 90 #define DEINTERLACE_DIAG_INTP_TH0(v) ((v) & 0x7f) argument 92 #define DEINTERLACE_DIAG_INTP_TH1(v) (((v) & 0x7f) << 8) argument 94 #define DEINTERLACE_DIAG_INTP_TH3(v) (((v) & 0xff) << 24) argument 98 #define DEINTERLACE_TEMP_DIFF_SAD_CENTRAL_TH(v) ((v) & 0x7f) argument [all …]
|
/openbmc/linux/drivers/net/wireless/intersil/hostap/ |
H A D | hostap_proc.c | 15 static int prism2_debug_proc_show(struct seq_file *m, void *v) in prism2_debug_proc_show() 48 static int prism2_stats_proc_show(struct seq_file *m, void *v) in prism2_stats_proc_show() 86 static int prism2_wds_proc_show(struct seq_file *m, void *v) in prism2_wds_proc_show() 105 static void *prism2_wds_proc_next(struct seq_file *m, void *v, loff_t *_pos) in prism2_wds_proc_next() 111 static void prism2_wds_proc_stop(struct seq_file *m, void *v) in prism2_wds_proc_stop() 124 static int prism2_bss_list_proc_show(struct seq_file *m, void *v) in prism2_bss_list_proc_show() 159 static void *prism2_bss_list_proc_next(struct seq_file *m, void *v, loff_t *_pos) in prism2_bss_list_proc_next() 165 static void prism2_bss_list_proc_stop(struct seq_file *m, void *v) in prism2_bss_list_proc_stop() 180 static int prism2_crypt_proc_show(struct seq_file *m, void *v) in prism2_crypt_proc_show() 273 static int prism2_scan_results_proc_show(struct seq_file *m, void *v) in prism2_scan_results_proc_show() [all …]
|
/openbmc/linux/sound/soc/mxs/ |
H A D | mxs-saif.h | 20 #define BF_SAIF_CTRL_BITCLK_MULT_RATE(v) \ argument 30 #define BF_SAIF_CTRL_DMAWAIT_COUNT(v) \ argument 34 #define BF_SAIF_CTRL_CHANNEL_NUM_SELECT(v) \ argument 44 #define BF_SAIF_CTRL_WORD_LENGTH(v) \ argument 55 #define BF_SAIF_STAT_RSRVD2(v) \ argument 60 #define BF_SAIF_STAT_RSRVD1(v) \ argument 68 #define BF_SAIF_STAT_RSRVD0(v) \ argument 75 #define BF_SAIF_DATA_PCM_RIGHT(v) \ argument 79 #define BF_SAIF_DATA_PCM_LEFT(v) \ argument 85 #define BF_SAIF_VERSION_MAJOR(v) \ argument [all …]
|
/openbmc/qemu/hw/virtio/ |
H A D | vhost-vdpa.c | 501 struct vhost_vdpa *v = dev->opaque; in vhost_vdpa_call() local 561 struct vhost_vdpa *v = dev->opaque; in vhost_vdpa_first_dev() local 581 static void vhost_vdpa_init_svq(struct vhost_dev *hdev, struct vhost_vdpa *v) in vhost_vdpa_init_svq() 598 struct vhost_vdpa *v = opaque; in vhost_vdpa_init() local 648 struct vhost_vdpa *v = dev->opaque; in vhost_vdpa_host_notifier_uninit() local 665 struct vhost_vdpa *v = dev->opaque; in vhost_vdpa_host_notifier_init() local 721 struct vhost_vdpa *v = dev->opaque; in vhost_vdpa_host_notifiers_init() local 748 struct vhost_vdpa *v = dev->opaque; in vhost_vdpa_svq_cleanup() local 759 struct vhost_vdpa *v; in vhost_vdpa_cleanup() local 811 struct vhost_vdpa *v = dev->opaque; in vhost_vdpa_set_features() local [all …]
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | module.c | 46 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none() 52 static int apply_r_larch_error(struct module *me, u32 *location, Elf_Addr v, in apply_r_larch_error() 59 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32() 66 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64() 73 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_pcrel() 79 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_absolute() 85 static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_dup() 105 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_plt_pcrel() 119 static int apply_r_larch_sop(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop() 165 static int apply_r_larch_sop_imm_field(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_imm_field() [all …]
|
/openbmc/phosphor-host-ipmid/test/message/ |
H A D | unpack.cpp | 25 uint8_t v; in TEST() local 39 uint8_t v; in TEST() local 53 uint8_t v = 0; in TEST() local 66 uint16_t v; in TEST() local 80 uint16_t v; in TEST() local 94 uint16_t v = 0; in TEST() local 107 uint32_t v; in TEST() local 121 uint32_t v; in TEST() local 135 uint32_t v = 0; in TEST() local 148 uint64_t v; in TEST() local [all …]
|
/openbmc/qemu/qapi/ |
H A D | opts-visitor.c | 102 static OptsVisitor *to_ov(Visitor *v) in to_ov() 137 opts_start_struct(Visitor *v, const char *name, void **obj, in opts_start_struct() 171 opts_check_struct(Visitor *v, Error **errp) in opts_check_struct() 195 opts_end_struct(Visitor *v, void **obj) in opts_end_struct() 228 opts_start_list(Visitor *v, const char *name, GenericList **list, size_t size, in opts_start_list() 249 opts_next_list(Visitor *v, GenericList *tail, size_t size) in opts_next_list() 293 opts_check_list(Visitor *v, Error **errp) in opts_check_list() 304 opts_end_list(Visitor *v, void **obj) in opts_end_list() 350 opts_type_str(Visitor *v, const char *name, char **obj, Error **errp) in opts_type_str() 372 opts_type_bool(Visitor *v, const char *name, bool *obj, Error **errp) in opts_type_bool() [all …]
|
/openbmc/linux/sound/usb/ |
H A D | validate.c | 26 const struct usb_desc_validator *v) in validate_uac1_header() 36 const struct usb_desc_validator *v) in validate_mixer_unit() 70 const struct usb_desc_validator *v) in validate_processing_unit() 168 const struct usb_desc_validator *v) in validate_selector_unit() 192 const struct usb_desc_validator *v) in validate_uac1_feature_unit() 203 const struct usb_desc_validator *v) in validate_uac2_feature_unit() 214 const struct usb_desc_validator *v) in validate_uac3_feature_unit() 225 const struct usb_desc_validator *v) in validate_midi_out_jack() 304 const struct usb_desc_validator *v) in validate_desc()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | irq.c | 39 static int pending_userspace_extint(struct kvm_vcpu *v) in pending_userspace_extint() 48 int kvm_cpu_has_extint(struct kvm_vcpu *v) in kvm_cpu_has_extint() 82 int kvm_cpu_has_injectable_intr(struct kvm_vcpu *v) in kvm_cpu_has_injectable_intr() 98 int kvm_cpu_has_interrupt(struct kvm_vcpu *v) in kvm_cpu_has_interrupt() 111 static int kvm_cpu_get_extint(struct kvm_vcpu *v) in kvm_cpu_get_extint() 136 int kvm_cpu_get_interrupt(struct kvm_vcpu *v) in kvm_cpu_get_interrupt()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | module.c | 44 static void apply_r_mips_32(u32 *location, u32 base, Elf_Addr v) in apply_r_mips_32() 50 Elf_Addr v) in apply_r_mips_26() 70 static int apply_r_mips_hi16(struct module *me, u32 *location, Elf_Addr v, in apply_r_mips_hi16() 110 u32 base, Elf_Addr v, bool rela) in apply_r_mips_lo16() 182 Elf_Addr v, unsigned int bits) in apply_r_mips_pc() 213 Elf_Addr v) in apply_r_mips_pc16() 219 Elf_Addr v) in apply_r_mips_pc21() 225 Elf_Addr v) in apply_r_mips_pc26() 230 static int apply_r_mips_64(u32 *location, Elf_Addr v, bool rela) in apply_r_mips_64() 240 static int apply_r_mips_higher(u32 *location, Elf_Addr v, bool rela) in apply_r_mips_higher() [all …]
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | stream_test.cpp | 32 uint8_t v; in TEST() local 37 uint16_t v; in TEST() local 42 uint32_t v; in TEST() local 47 uint64_t v; in TEST() local 52 char v[6] = {0}; in TEST() local 60 uint8_t v; in TEST() local 160 uint8_t v; in TEST() local 169 uint8_t v; in TEST() local
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | kvm_hyp.h | 28 #define write_sysreg_el0(v,r) write_sysreg_s(v, r##_EL02) argument 30 #define write_sysreg_el1(v,r) write_sysreg_s(v, r##_EL12) argument 32 #define write_sysreg_el2(v,r) write_sysreg_s(v, r##_EL1) argument 52 #define write_sysreg_elx(v,r,nvh,vh) \ argument 62 #define write_sysreg_el0(v,r) write_sysreg_elx(v, r, _EL0, _EL02) argument 64 #define write_sysreg_el1(v,r) write_sysreg_elx(v, r, _EL1, _EL12) argument 66 #define write_sysreg_el2(v,r) write_sysreg_elx(v, r, _EL2, _EL1) argument
|
/openbmc/qemu/tests/unit/ |
H A D | test-string-input-visitor.c | 20 Visitor *v; member 51 Visitor *v; in test_visitor_in_int() local 69 static void check_ilist(Visitor *v, int64_t *expected, size_t n) in check_ilist() 87 static void check_ulist(Visitor *v, uint64_t *expected, size_t n) in check_ulist() 116 Visitor *v; in test_visitor_in_intList() local 225 Visitor *v; in test_visitor_in_uintList() local 329 Visitor *v; in test_visitor_in_bool() local 367 Visitor *v; in test_visitor_in_number() local 392 Visitor *v; in test_visitor_in_string() local 405 Visitor *v; in test_visitor_in_enum() local [all …]
|
/openbmc/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-pre.c | 30 #define IPU_PRE_CTRL_HANDSHAKE_LINE_NUM(v) ((v & 0x3) << 9) argument 42 #define IPU_PRE_TPR_CTRL_TILE_FORMAT(v) ((v & 0xff) << 0) argument 51 #define IPU_PRE_PREF_ENG_CTRL_RD_NUM_BYTES(v) ((v & 0x7) << 1) argument 52 #define IPU_PRE_PREF_ENG_CTRL_INPUT_ACTIVE_BPP(v) ((v & 0x3) << 4) argument 53 #define IPU_PRE_PREF_ENG_CTRL_INPUT_PIXEL_FORMAT(v) ((v & 0x7) << 8) argument 60 #define IPU_PRE_PREFETCH_ENG_INPUT_SIZE_WIDTH(v) ((v & 0xffff) << 0) argument 61 #define IPU_PRE_PREFETCH_ENG_INPUT_SIZE_HEIGHT(v) ((v & 0xffff) << 16) argument 64 #define IPU_PRE_PREFETCH_ENG_PITCH_Y(v) ((v & 0xffff) << 0) argument 65 #define IPU_PRE_PREFETCH_ENG_PITCH_UV(v) ((v & 0xffff) << 16) argument 69 #define IPU_PRE_STORE_ENG_CTRL_WR_NUM_BYTES(v) ((v & 0x7) << 1) argument [all …]
|
/openbmc/linux/tools/perf/util/arm-spe-decoder/ |
H A D | arm-spe-pkt-decoder.h | 72 #define SPE_ADDR_PKT_ADDR_GET_BYTES_0_6(v) ((v) & GENMASK_ULL(55, 0)) argument 73 #define SPE_ADDR_PKT_ADDR_GET_BYTE_6(v) (((v) & GENMASK_ULL(55, 48)) >> 48) argument 75 #define SPE_ADDR_PKT_GET_NS(v) (((v) & BIT_ULL(63)) >> 63) argument 76 #define SPE_ADDR_PKT_GET_EL(v) (((v) & GENMASK_ULL(62, 61)) >> 61) argument 77 #define SPE_ADDR_PKT_GET_CH(v) (((v) & BIT_ULL(62)) >> 62) argument 78 #define SPE_ADDR_PKT_GET_PAT(v) (((v) & GENMASK_ULL(59, 56)) >> 56) argument 117 #define SPE_OP_PKT_IS_OTHER_SVE_OP(v) (((v) & (BIT(7) | BIT(3) | BIT(0))) == 0x8) argument 121 #define SPE_OP_PKT_LDST_SUBCLASS_GET(v) ((v) & GENMASK_ULL(7, 1)) argument 130 #define SPE_OP_PKT_IS_LDST_ATOMIC(v) (((v) & (GENMASK_ULL(7, 5) | BIT(1))) == 0x2) argument 137 #define SPE_OP_PKT_IS_LDST_SVE(v) (((v) & (BIT(3) | BIT(1))) == 0x8) argument [all …]
|
/openbmc/qemu/hw/9pfs/ |
H A D | virtio-9p-device.c | 34 V9fsVirtioState *v = container_of(s, V9fsVirtioState, state); in virtio_9p_push_and_notify() local 48 V9fsVirtioState *v = (V9fsVirtioState *)vdev; in handle_9p_output() local 101 V9fsVirtioState *v = VIRTIO_9P(vdev); in virtio_9p_get_config() local 115 V9fsVirtioState *v = (V9fsVirtioState *)vdev; in virtio_9p_reset() local 124 V9fsVirtioState *v = container_of(s, V9fsVirtioState, state); in virtio_pdu_vmarshal() local 142 V9fsVirtioState *v = container_of(s, V9fsVirtioState, state); in virtio_pdu_vunmarshal() local 159 V9fsVirtioState *v = container_of(s, V9fsVirtioState, state); in virtio_init_in_iov_from_pdu() local 179 V9fsVirtioState *v = container_of(s, V9fsVirtioState, state); in virtio_init_out_iov_from_pdu() local 206 V9fsVirtioState *v = VIRTIO_9P(dev); in virtio_9p_device_realize() local 226 V9fsVirtioState *v = VIRTIO_9P(dev); in virtio_9p_device_unrealize() local
|