/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
|
/openbmc/linux/drivers/target/sbp/ |
H A D | sbp_target.h | 19 #define ORB_NOTIFY(v) (((v) >> 31) & 0x01) argument 20 #define ORB_REQUEST_FORMAT(v) (((v) >> 29) & 0x03) argument 22 #define MANAGEMENT_ORB_FUNCTION(v) (((v) >> 16) & 0x0f) argument 34 #define LOGIN_ORB_EXCLUSIVE(v) (((v) >> 28) & 0x01) argument 35 #define LOGIN_ORB_RESERVED(v) (((v) >> 24) & 0x0f) argument 37 #define LOGIN_ORB_LUN(v) (((v) >> 0) & 0xffff) argument 45 #define CMDBLK_ORB_SPEED(v) (((v) >> 24) & 0x07) argument 51 #define STATUS_BLOCK_SRC(v) (((v) & 0x03) << 30) argument 52 #define STATUS_BLOCK_RESP(v) (((v) & 0x03) << 28) argument 53 #define STATUS_BLOCK_DEAD(v) (((v) ? 1 : 0) << 27) argument [all …]
|
/openbmc/linux/include/linux/ceph/ |
H A D | decode.h | 21 u64 v = get_unaligned_le64(*p); in ceph_decode_64() local 27 u32 v = get_unaligned_le32(*p); in ceph_decode_32() local 33 u16 v = get_unaligned_le16(*p); in ceph_decode_16() local 39 u8 v = *(u8 *)*p; in ceph_decode_8() local 63 #define ceph_decode_64_safe(p, end, v, bad) \ argument 68 #define ceph_decode_32_safe(p, end, v, bad) \ argument 73 #define ceph_decode_16_safe(p, end, v, bad) \ argument 78 #define ceph_decode_8_safe(p, end, v, bad) \ argument 365 #define ceph_encode_64_safe(p, end, v, bad) \ argument 370 #define ceph_encode_32_safe(p, end, v, bad) \ argument [all …]
|
/openbmc/linux/drivers/net/pcs/ |
H A D | pcs-xpcs-wx.c | 14 #define TXGBE_TX_GEN_CTL2_TX0_WIDTH(v) FIELD_PREP(GENMASK(9, 8), v) argument 16 #define TXGBE_TX_RATE_CTL_TX0_RATE(v) FIELD_PREP(GENMASK(2, 0), v) argument 18 #define TXGBE_RX_GEN_CTL2_RX0_WIDTH(v) FIELD_PREP(GENMASK(9, 8), v) argument 22 #define TXGBE_RX_RATE_CTL_RX0_RATE(v) FIELD_PREP(GENMASK(1, 0), v) argument 26 #define TXGBE_RX_EQ_CTL0_VGA1_GAIN(v) FIELD_PREP(GENMASK(15, 12), v) argument 27 #define TXGBE_RX_EQ_CTL0_VGA2_GAIN(v) FIELD_PREP(GENMASK(11, 8), v) argument 28 #define TXGBE_RX_EQ_CTL0_CTLE_POLE(v) FIELD_PREP(GENMASK(7, 5), v) argument 29 #define TXGBE_RX_EQ_CTL0_CTLE_BOOST(v) FIELD_PREP(GENMASK(4, 0), v) argument 45 #define TXGBE_MISC_CTL0_RX_VREF(v) FIELD_PREP(GENMASK(12, 8), v) argument
|
/openbmc/linux/arch/x86/kernel/ |
H A D | bootflag.c | 23 static int __init parity(u8 v) in parity() 36 static void __init sbf_write(u8 v) in sbf_write() 57 u8 v; in sbf_read() local 69 static int __init sbf_value_valid(u8 v) in sbf_value_valid() 81 u8 v; in sbf_init() local
|
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | atomic.h | 27 static inline int atomic_read(const atomic_t *v) in atomic_read() 39 static inline void atomic_set(atomic_t *v, int i) in atomic_set() 50 static inline void atomic_inc(atomic_t *v) in atomic_inc() 64 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() 69 static __always_inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg()
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | setup.h | 30 #define IS_AVAIL1(v, s) ((v) ? s : "") argument 31 #define IS_DISABLED_RUN(v) ((v) ? "" : "(disabled) ") argument 32 #define IS_USED_RUN(v) ((v) ? "" : "(not used) ") argument 34 #define IS_AVAIL2(v, s, cfg) IS_AVAIL1(v, s), IS_AVAIL1(v, IS_USED_CFG(cfg)) argument 35 #define IS_AVAIL3(v, v2, s) IS_AVAIL1(v, s), IS_AVAIL1(v, IS_DISABLED_RUN(v2)) argument
|
/openbmc/linux/include/linux/ |
H A D | instrumented.h | 24 static __always_inline void instrument_read(const volatile void *v, size_t size) in instrument_read() 38 static __always_inline void instrument_write(const volatile void *v, size_t size) in instrument_write() 52 static __always_inline void instrument_read_write(const volatile void *v, size_t size) in instrument_read_write() 66 static __always_inline void instrument_atomic_read(const volatile void *v, size_t size) in instrument_atomic_read() 80 static __always_inline void instrument_atomic_write(const volatile void *v, size_t size) in instrument_atomic_write() 94 static __always_inline void instrument_atomic_read_write(const volatile void *v, size_t size) in instrument_atomic_read_write()
|
/openbmc/linux/arch/microblaze/include/asm/ |
H A D | io.h | 38 #define out_be32(a, v) __raw_writel((v), (void __iomem __force *)(a)) argument 39 #define out_be16(a, v) __raw_writew((v), (a)) argument 44 #define writel_be(v, a) out_be32((__force unsigned *)a, v) argument 48 #define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a)) argument 49 #define out_le16(a, v) __raw_writew(__cpu_to_le16(v), (a)) argument 55 #define out_8(a, v) __raw_writeb((v), (a)) argument
|
/openbmc/qemu/tests/tcg/cris/libc/ |
H A D | check_addo.c | 9 #define cris_addo_b(o, v) \ argument 11 #define cris_addo_w(o, v) \ argument 13 #define cris_addo_d(o, v) \ argument 15 #define cris_addo_pi_b(o, v) \ argument 18 #define cris_addo_pi_w(o, v) \ argument 21 #define cris_addo_pi_d(o, v) \ argument
|
/openbmc/linux/drivers/media/i2c/ |
H A D | ov5648.c | 77 #define OV5648_PLL_CTRL0_BITS(v) ((v) & GENMASK(3, 0)) argument 82 #define OV5648_PLL_MUL(v) ((v) & GENMASK(7, 0)) argument 91 #define OV5648_PLLS_MUL(v) ((v) & GENMASK(4, 0)) argument 136 #define OV5648_GAIN_CTRL_L(v) ((v) & GENMASK(7, 0)) argument 243 #define OV5648_HTS_L(v) ((v) & GENMASK(7, 0)) argument 247 #define OV5648_VTS_L(v) ((v) & GENMASK(7, 0)) argument 251 #define OV5648_OFFSET_X_L(v) ((v) & GENMASK(7, 0)) argument 263 #define OV5648_HSYNCST_H(v) (((v) >> 8) & 0xf) argument 265 #define OV5648_HSYNCST_L(v) ((v) & GENMASK(7, 0)) argument 267 #define OV5648_HSYNCW_H(v) (((v) >> 8) & 0xf) argument [all …]
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | insn-def.h | 123 #define RV_OPCODE(v) __ASM_STR(v) argument 124 #define RV_FUNC3(v) __ASM_STR(v) argument 125 #define RV_FUNC7(v) __ASM_STR(v) argument 126 #define RV_SIMM12(v) __ASM_STR(v) argument 127 #define RV_RD(v) __ASM_STR(v) argument 128 #define RV_RS1(v) __ASM_STR(v) argument 129 #define RV_RS2(v) __ASM_STR(v) argument 130 #define __RV_REG(v) __ASM_STR(x ## v) argument 131 #define RV___RD(v) __RV_REG(v) argument 132 #define RV___RS1(v) __RV_REG(v) argument [all …]
|
H A D | atomic.h | 28 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read() 32 static __always_inline void arch_atomic_set(atomic_t *v, int i) in arch_atomic_set() 39 static __always_inline s64 arch_atomic64_read(const atomic64_t *v) in arch_atomic64_read() 43 static __always_inline void arch_atomic64_set(atomic64_t *v, s64 i) in arch_atomic64_set() 220 static __always_inline s64 arch_atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) in arch_atomic64_fetch_add_unless() 241 static __always_inline bool arch_atomic_inc_unless_negative(atomic_t *v) in arch_atomic_inc_unless_negative() 261 static __always_inline bool arch_atomic_dec_unless_positive(atomic_t *v) in arch_atomic_dec_unless_positive() 281 static __always_inline int arch_atomic_dec_if_positive(atomic_t *v) in arch_atomic_dec_if_positive() 302 static __always_inline bool arch_atomic64_inc_unless_negative(atomic64_t *v) in arch_atomic64_inc_unless_negative() 323 static __always_inline bool arch_atomic64_dec_unless_positive(atomic64_t *v) in arch_atomic64_dec_unless_positive() [all …]
|
/openbmc/linux/drivers/clk/ti/ |
H A D | fapll.c | 81 u32 v = readl_relaxed(fd->base); in ti_fapll_clock_is_bypass() local 91 u32 v = readl_relaxed(fd->base); in ti_fapll_set_bypass() local 102 u32 v = readl_relaxed(fd->base); in ti_fapll_clear_bypass() local 114 u32 v; in ti_fapll_wait_lock() local 134 u32 v = readl_relaxed(fd->base); in ti_fapll_enable() local 146 u32 v = readl_relaxed(fd->base); in ti_fapll_disable() local 155 u32 v = readl_relaxed(fd->base); in ti_fapll_is_enabled() local 164 u32 fapll_n, fapll_p, v; in ti_fapll_recalc_rate() local 241 u32 pre_div_p, mult_n, v; in ti_fapll_set_rate() local 442 u32 post_div_m = 0, v; in ti_fapll_synth_set_rate() local [all …]
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | addnote.c | 68 #define PUT_16BE(off, v)(buf[off] = ((v) >> 8) & 0xff, \ argument 70 #define PUT_32BE(off, v)(PUT_16BE((off), (v) >> 16L), PUT_16BE((off) + 2, (v))) argument 71 #define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \ argument 78 #define PUT_16LE(off, v) (buf[off] = (v) & 0xff, \ argument 80 #define PUT_32LE(off, v) (PUT_16LE((off), (v)), PUT_16LE((off) + 2, (v) >> 16L)) argument 81 #define PUT_64LE(off, v) (PUT_32LE((off), (v)), PUT_32LE((off) + 4, (v) >> 32L)) argument 86 #define PUT_16(off, v) (e_data == ELFDATA2MSB ? PUT_16BE(off, v) : \ argument 88 #define PUT_32(off, v) (e_data == ELFDATA2MSB ? PUT_32BE(off, v) : \ argument 90 #define PUT_64(off, v) (e_data == ELFDATA2MSB ? PUT_64BE(off, v) : \ argument
|
/openbmc/qemu/migration/ |
H A D | vmstate-types.c | 27 bool *v = pv; in get_bool() local 35 bool *v = pv; in put_bool() local 51 int8_t *v = pv; in get_int8() local 59 int8_t *v = pv; in put_int8() local 75 int16_t *v = pv; in get_int16() local 83 int16_t *v = pv; in put_int16() local 99 int32_t *v = pv; in get_int32() local 107 int32_t *v = pv; in put_int32() local 124 int32_t *v = pv; in get_int32_equal() local 176 int64_t *v = pv; in get_int64() local [all …]
|
/openbmc/qemu/hw/core/ |
H A D | qdev-properties-system.c | 89 static void set_drive_helper(Object *obj, Visitor *v, const char *name, in set_drive_helper() 193 static void set_drive_iothread(Object *obj, Visitor *v, const char *name, in set_drive_iothread() 380 static void get_netdev(Object *obj, Visitor *v, const char *name, in get_netdev() 391 static void set_netdev(Object *obj, Visitor *v, const char *name, in set_netdev() 459 static void get_audiodev(Object *obj, Visitor *v, const char* name, in get_audiodev() 470 static void set_audiodev(Object *obj, Visitor *v, const char* name, in set_audiodev() 551 static void qdev_propinfo_set_losttickpolicy(Object *obj, Visitor *v, in qdev_propinfo_set_losttickpolicy() 588 static void set_blocksize(Object *obj, Visitor *v, const char *name, in set_blocksize() 793 static void set_pci_devfn(Object *obj, Visitor *v, const char *name, in set_pci_devfn() 1204 static void get_iothread_vq_mapping_list(Object *obj, Visitor *v, in get_iothread_vq_mapping_list() [all …]
|
/openbmc/linux/lib/ |
H A D | atomic64.c | 36 static inline raw_spinlock_t *lock_addr(const atomic64_t *v) in lock_addr() 45 s64 generic_atomic64_read(const atomic64_t *v) in generic_atomic64_read() 58 void generic_atomic64_set(atomic64_t *v, s64 i) in generic_atomic64_set() 131 s64 generic_atomic64_dec_if_positive(atomic64_t *v) in generic_atomic64_dec_if_positive() 146 s64 generic_atomic64_cmpxchg(atomic64_t *v, s64 o, s64 n) in generic_atomic64_cmpxchg() 161 s64 generic_atomic64_xchg(atomic64_t *v, s64 new) in generic_atomic64_xchg() 175 s64 generic_atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) in generic_atomic64_fetch_add_unless()
|
/openbmc/u-boot/drivers/net/fm/ |
H A D | memac_phy.c | 16 #define memac_out_32(a, v) out_le32(a, v) argument 17 #define memac_clrbits_32(a, v) clrbits_le32(a, v) argument 18 #define memac_setbits_32(a, v) setbits_le32(a, v) argument 20 #define memac_out_32(a, v) out_be32(a, v) argument 21 #define memac_clrbits_32(a, v) clrbits_be32(a, v) argument 22 #define memac_setbits_32(a, v) setbits_be32(a, v) argument
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_debugfs.c | 78 static void seq_tab_stop(struct seq_file *seq, void *v) in seq_tab_stop() 82 static int seq_tab_show(struct seq_file *seq, void *v) in seq_tab_show() 903 static int clk_show(struct seq_file *seq, void *v) in clk_show() 1242 static int mbox_show(struct seq_file *seq, void *v) in mbox_show() 2669 #define S3(fmt_spec, s, v) \ in sge_qinfo_show() argument 2676 #define S(s, v) S3("s", s, v) in sge_qinfo_show() argument 2677 #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) in sge_qinfo_show() argument 2678 #define T(s, v) S3("u", s, tx[i].v) in sge_qinfo_show() argument 2679 #define TL(s, v) T3("lu", s, v) in sge_qinfo_show() argument 2681 #define R(s, v) S3("u", s, rx[i].v) in sge_qinfo_show() argument [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | seg_helper.h | 47 #define cpu_stb_kernel_ra(e, p, v, r) \ argument 49 #define cpu_stw_kernel_ra(e, p, v, r) \ argument 51 #define cpu_stl_kernel_ra(e, p, v, r) \ argument 53 #define cpu_stq_kernel_ra(e, p, v, r) \ argument 61 #define cpu_stb_kernel(e, p, v) cpu_stb_kernel_ra(e, p, v, 0) argument 62 #define cpu_stw_kernel(e, p, v) cpu_stw_kernel_ra(e, p, v, 0) argument 63 #define cpu_stl_kernel(e, p, v) cpu_stl_kernel_ra(e, p, v, 0) argument 64 #define cpu_stq_kernel(e, p, v) cpu_stq_kernel_ra(e, p, v, 0) argument
|
/openbmc/linux/tools/include/asm-generic/ |
H A D | atomic-gcc.h | 24 static inline int atomic_read(const atomic_t *v) in atomic_read() 36 static inline void atomic_set(atomic_t *v, int i) in atomic_set() 47 static inline void atomic_inc(atomic_t *v) in atomic_inc() 60 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() 68 static inline int atomic_cmpxchg(atomic_t *v, int oldval, int newval) in atomic_cmpxchg()
|
/openbmc/linux/drivers/net/wireless/intersil/hostap/ |
H A D | hostap_pci.c | 55 static inline void hfa384x_outb_debug(struct net_device *dev, int a, u8 v) in hfa384x_outb_debug() 78 u8 v; in hfa384x_inb_debug() local 91 static inline void hfa384x_outw_debug(struct net_device *dev, int a, u16 v) in hfa384x_outw_debug() 114 u16 v; in hfa384x_inw_debug() local 127 #define HFA384X_OUTB(v,a) hfa384x_outb_debug(dev, (a), (v)) argument 129 #define HFA384X_OUTW(v,a) hfa384x_outw_debug(dev, (a), (v)) argument 136 static inline void hfa384x_outb(struct net_device *dev, int a, u8 v) in hfa384x_outb() 154 static inline void hfa384x_outw(struct net_device *dev, int a, u16 v) in hfa384x_outw() 172 #define HFA384X_OUTB(v,a) hfa384x_outb(dev, (a), (v)) argument 174 #define HFA384X_OUTW(v,a) hfa384x_outw(dev, (a), (v)) argument [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | archrandom.h | 20 static inline bool __must_check rdrand_long(unsigned long *v) in rdrand_long() 34 static inline bool __must_check rdseed_long(unsigned long *v) in rdseed_long() 48 static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs) in arch_get_random_longs() 53 static inline size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs) in arch_get_random_seed_longs()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calc_auto.c | 40 void scaler_settings_calculation(struct dcn_bw_internal_vars *v) in scaler_settings_calculation() 121 void mode_support_and_system_configuration(struct dcn_bw_internal_vars *v) in mode_support_and_system_configuration() 1017 void display_pipe_configuration(struct dcn_bw_internal_vars *v) in display_pipe_configuration() 1176 …ep_sleep_prefetch_parameters_watermarks_and_performance_calculation(struct dcn_bw_internal_vars *v) in dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation()
|