/openbmc/linux/lib/ |
H A D | bitfield_kunit.c | 11 #define CHECK_ENC_GET_U(tp, v, field, res) do { \ argument 24 #define CHECK_ENC_GET_LE(tp, v, field, res) do { \ argument 39 #define CHECK_ENC_GET_BE(tp, v, field, res) do { \ argument 54 #define CHECK_ENC_GET(tp, v, field, res) do { \ argument
|
/openbmc/linux/drivers/gpu/host1x/hw/ |
H A D | hw_host1x04_sync.h | 122 static inline u32 host1x_sync_mlock_owner_chid_v(u32 v) in host1x_sync_mlock_owner_chid_v() 126 #define HOST1X_SYNC_MLOCK_OWNER_CHID_V(v) \ argument 170 static inline u32 host1x_sync_cfpeek_ctrl_addr_f(u32 v) in host1x_sync_cfpeek_ctrl_addr_f() 174 #define HOST1X_SYNC_CFPEEK_CTRL_ADDR_F(v) \ argument 176 static inline u32 host1x_sync_cfpeek_ctrl_channr_f(u32 v) in host1x_sync_cfpeek_ctrl_channr_f() 180 #define HOST1X_SYNC_CFPEEK_CTRL_CHANNR_F(v) \ argument 182 static inline u32 host1x_sync_cfpeek_ctrl_ena_f(u32 v) in host1x_sync_cfpeek_ctrl_ena_f() 186 #define HOST1X_SYNC_CFPEEK_CTRL_ENA_F(v) \ argument
|
H A D | hw_host1x02_sync.h | 122 static inline u32 host1x_sync_mlock_owner_chid_v(u32 v) in host1x_sync_mlock_owner_chid_v() 126 #define HOST1X_SYNC_MLOCK_OWNER_CHID_V(v) \ argument 170 static inline u32 host1x_sync_cfpeek_ctrl_addr_f(u32 v) in host1x_sync_cfpeek_ctrl_addr_f() 174 #define HOST1X_SYNC_CFPEEK_CTRL_ADDR_F(v) \ argument 176 static inline u32 host1x_sync_cfpeek_ctrl_channr_f(u32 v) in host1x_sync_cfpeek_ctrl_channr_f() 180 #define HOST1X_SYNC_CFPEEK_CTRL_CHANNR_F(v) \ argument 182 static inline u32 host1x_sync_cfpeek_ctrl_ena_f(u32 v) in host1x_sync_cfpeek_ctrl_ena_f() 186 #define HOST1X_SYNC_CFPEEK_CTRL_ENA_F(v) \ argument
|
H A D | hw_host1x01_sync.h | 122 static inline u32 host1x_sync_mlock_owner_chid_v(u32 v) in host1x_sync_mlock_owner_chid_v() 126 #define HOST1X_SYNC_MLOCK_OWNER_CHID_V(v) \ argument 170 static inline u32 host1x_sync_cfpeek_ctrl_addr_f(u32 v) in host1x_sync_cfpeek_ctrl_addr_f() 174 #define HOST1X_SYNC_CFPEEK_CTRL_ADDR_F(v) \ argument 176 static inline u32 host1x_sync_cfpeek_ctrl_channr_f(u32 v) in host1x_sync_cfpeek_ctrl_channr_f() 180 #define HOST1X_SYNC_CFPEEK_CTRL_CHANNR_F(v) \ argument 182 static inline u32 host1x_sync_cfpeek_ctrl_ena_f(u32 v) in host1x_sync_cfpeek_ctrl_ena_f() 186 #define HOST1X_SYNC_CFPEEK_CTRL_ENA_F(v) \ argument
|
/openbmc/linux/kernel/ |
H A D | notifier.c | 74 unsigned long val, void *v, in notifier_call_chain() 124 void *v) in notifier_call_chain_robust() 226 unsigned long val, void *v) in atomic_notifier_call_chain() 342 unsigned long val_up, unsigned long val_down, void *v) in blocking_notifier_call_chain_robust() 377 unsigned long val, void *v) in blocking_notifier_call_chain() 435 unsigned long val_up, unsigned long val_down, void *v) in raw_notifier_call_chain_robust() 459 unsigned long val, void *v) in raw_notifier_call_chain() 548 unsigned long val, void *v) in srcu_notifier_call_chain()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | atomic.h | 32 #define arch_atomic_read(v) READ_ONCE((v)->counter) argument 33 #define arch_atomic_set(v, i) WRITE_ONCE((v)->counter, (i)) argument 128 static inline int arch_atomic_sub_if_positive(int i, atomic_t *v) in arch_atomic_sub_if_positive() 162 #define arch_atomic_dec_if_positive(v) arch_atomic_sub_if_positive(1, v) argument 168 #define arch_atomic64_read(v) READ_ONCE((v)->counter) argument 169 #define arch_atomic64_set(v, i) WRITE_ONCE((v)->counter, (i)) argument 263 static inline long arch_atomic64_sub_if_positive(long i, atomic64_t *v) in arch_atomic64_sub_if_positive() 297 #define arch_atomic64_dec_if_positive(v) arch_atomic64_sub_if_positive(1, v) argument
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | io.h | 42 #define iowrite16be(v,p) ({ __iowmb(); __raw_writew((__force u16)cpu_to_be16(v), p); }) argument 43 #define iowrite32be(v,p) ({ __iowmb(); __raw_writel((__force u32)cpu_to_be32(v), p); }) argument 206 #define writeb(v,c) ({ __iowmb(); writeb_relaxed(v,c); }) argument 207 #define writew(v,c) ({ __iowmb(); writew_relaxed(v,c); }) argument 208 #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) argument 228 #define writeb_relaxed(v,c) __raw_writeb(v,c) argument 229 #define writew_relaxed(v,c) __raw_writew((__force u16) cpu_to_le16(v),c) argument 230 #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) argument
|
/openbmc/linux/drivers/edac/ |
H A D | igen6_edac.c | 82 #define ECC_ERROR_LOG_ADDR(v) GET_BITFIELD(v, 5, 38) argument 83 #define ECC_ERROR_LOG_SYND(v) GET_BITFIELD(v, 46, 61) argument 95 #define MAD_INTER_CHANNEL_ECHM(v) GET_BITFIELD(v, 3, 3) argument 106 #define MAD_DIMM_CH_DLW(v) GET_BITFIELD(v, 7, 8) argument 108 #define MAD_DIMM_CH_DSW(v) GET_BITFIELD(v, 24, 25) argument 112 #define MAC_MC_HASH_LSB(v) GET_BITFIELD(v, 1, 3) argument 120 #define CHANNEL_HASH_MODE(v) GET_BITFIELD(v, 28, 28) argument 227 u32 v; in ehl_ibecc_available() local 256 u32 v; in icl_ibecc_available() local 267 u32 v; in tgl_ibecc_available() local [all …]
|
/openbmc/linux/sound/pci/asihpi/ |
H A D | hpi_version.h | 27 #define HPI_VER_MAJOR(v) ((int)(v >> 16)) argument 29 #define HPI_VER_MINOR(v) ((int)((v >> 8) & 0xFF)) argument 31 #define HPI_VER_RELEASE(v) ((int)(v & 0xFF)) argument
|
/openbmc/linux/sound/aoa/codecs/ |
H A D | onyx.c | 67 s32 v; in onyx_read_register() local 214 u8 v, n; in onyx_snd_inputgain_put() local 252 s8 v; in onyx_snd_capture_source_get() local 265 s8 v; in onyx_set_capture_source() local 490 u8 v; in onyx_spdif_get() local 513 u8 v; in onyx_spdif_put() local 671 u8 v; in onyx_usable() local 696 u8 v; in onyx_prepare() local 796 u8 v; in onyx_suspend() local 814 u8 v; in onyx_resume() local [all …]
|
/openbmc/linux/drivers/md/bcache/ |
H A D | sysfs.c | 295 ssize_t v; in STORE() local 320 long int v = atomic_long_read(&dc->writeback_rate.rate); in STORE() local 358 int v = strtoul_or_return(buf); in STORE() local 581 uint64_t v; in STORE() local 821 ssize_t v; in STORE() local 844 uint64_t v; in STORE() local 891 unsigned long v = 0; in STORE() local 1144 ssize_t v; in STORE() local 1151 bool v = strtoul_or_return(buf); in STORE() local
|
/openbmc/qemu/tests/tcg/cris/libc/ |
H A D | check_bound.c | 7 static always_inline int cris_bound_b(int v, int b) in cris_bound_b() 14 static always_inline int cris_bound_w(int v, int b) in cris_bound_w() 21 static always_inline int cris_bound_d(int v, int b) in cris_bound_d()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_coherency.c | 23 static int cpu_set(struct context *ctx, unsigned long offset, u32 v) in cpu_set() 56 static int cpu_get(struct context *ctx, unsigned long offset, u32 *v) in cpu_get() 86 static int gtt_set(struct context *ctx, unsigned long offset, u32 v) in gtt_set() 119 static int gtt_get(struct context *ctx, unsigned long offset, u32 *v) in gtt_get() 152 static int wc_set(struct context *ctx, unsigned long offset, u32 v) in wc_set() 175 static int wc_get(struct context *ctx, unsigned long offset, u32 *v) in wc_get() 196 static int gpu_set(struct context *ctx, unsigned long offset, u32 v) in gpu_set()
|
/openbmc/linux/drivers/memory/ |
H A D | renesas-rpc-if.c | 43 #define RPCIF_DRCR_RBURST(v) ((((v) - 1) & 0x1F) << 16) argument 67 #define RPCIF_DRENR_ADE(v) (((v) & 0xF) << 8) argument 68 #define RPCIF_DRENR_OPDE(v) (((v) & 0xF) << 4) argument 97 #define RPCIF_SMENR_ADE(v) (((v) & 0xF) << 8) argument 98 #define RPCIF_SMENR_OPDE(v) (((v) & 0xF) << 4) argument 99 #define RPCIF_SMENR_SPIDE(v) (((v) & 0xF) << 0) argument 114 #define RPCIF_DRDRENR_HYPE(v) (((v) & 0x7) << 12) argument 123 #define RPCIF_SMDRENR_HYPE(v) (((v) & 0x7) << 12) argument 133 #define RPCIF_PHYCNT_OCTA(v) (((v) & 0x3) << 22) argument 143 #define RPCIF_PHYCNT_PHYMEM(v) (((v) & 0x3) << 0) argument [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | debugfs.c | 75 static void _opcode_stats_seq_stop(struct seq_file *s, void *v) in _opcode_stats_seq_stop() 90 static int _opcode_stats_seq_show(struct seq_file *s, void *v) in _opcode_stats_seq_show() 176 static void _ctx_stats_seq_stop(struct seq_file *s, void *v) in _ctx_stats_seq_stop() 181 static int _ctx_stats_seq_show(struct seq_file *s, void *v) in _ctx_stats_seq_show() 303 static void _sdes_seq_stop(struct seq_file *s, void *v) in _sdes_seq_stop() 307 static int _sdes_seq_show(struct seq_file *s, void *v) in _sdes_seq_show() 345 static void _rcds_seq_stop(struct seq_file *s, void *v) in _rcds_seq_stop() 349 static int _rcds_seq_show(struct seq_file *s, void *v) in _rcds_seq_show() 391 static void _pios_seq_stop(struct seq_file *s, void *v) in _pios_seq_stop() 395 static int _pios_seq_show(struct seq_file *s, void *v) in _pios_seq_show() [all …]
|
/openbmc/qemu/include/hw/misc/ |
H A D | imx_ccm.h | 20 #define PD(v) (((v) >> 26) & 0xf) argument 21 #define MFD(v) (((v) >> 16) & 0x3ff) argument 22 #define MFI(v) (((v) >> 10) & 0xf); argument 23 #define MFN(v) ((v) & 0x3ff) argument
|
/openbmc/qemu/include/exec/ |
H A D | cpu-all.h | 48 #define stw_p(p, v) stw_be_p(p, v) argument 49 #define stl_p(p, v) stl_be_p(p, v) argument 50 #define stq_p(p, v) stq_be_p(p, v) argument 52 #define stn_p(p, sz, v) stn_be_p(p, sz, v) argument 58 #define stw_p(p, v) stw_le_p(p, v) argument 59 #define stl_p(p, v) stl_le_p(p, v) argument 60 #define stq_p(p, v) stq_le_p(p, v) argument 62 #define stn_p(p, sz, v) stn_le_p(p, sz, v) argument
|
/openbmc/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_debugfs.c | 9 static int firmware_show(struct seq_file *s, void *v) in firmware_show() 20 static int device_show(struct seq_file *s, void *v) in device_show() 37 static int stats_show(struct seq_file *s, void *v) in stats_show()
|
/openbmc/linux/lib/raid6/ |
H A D | mktables.c | 23 uint8_t v = 0; in gfmul() local 37 uint8_t v = 1; in gfpow() local 56 uint8_t v; in main() local
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | atomic_64.h | 17 #define arch_atomic_read(v) READ_ONCE((v)->counter) argument 18 #define arch_atomic64_read(v) READ_ONCE((v)->counter) argument 20 #define arch_atomic_set(v, i) WRITE_ONCE(((v)->counter), (i)) argument 21 #define arch_atomic64_set(v, i) WRITE_ONCE(((v)->counter), (i)) argument
|
/openbmc/linux/security/keys/ |
H A D | proc.c | 135 static void *proc_keys_next(struct seq_file *p, void *v, loff_t *_pos) in proc_keys_next() 147 static void proc_keys_stop(struct seq_file *p, void *v) in proc_keys_stop() 153 static int proc_keys_show(struct seq_file *m, void *v) in proc_keys_show() 291 static void *proc_key_users_next(struct seq_file *p, void *v, loff_t *_pos) in proc_key_users_next() 297 static void proc_key_users_stop(struct seq_file *p, void *v) in proc_key_users_stop() 303 static int proc_key_users_show(struct seq_file *m, void *v) in proc_key_users_show()
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | atomic.h | 59 static __inline__ void arch_atomic_set(atomic_t *v, int i) in arch_atomic_set() 69 #define arch_atomic_set_release(v, i) arch_atomic_set((v), (i)) argument 71 static __inline__ int arch_atomic_read(const atomic_t *v) in arch_atomic_read() 217 arch_atomic64_set(atomic64_t *v, s64 i) in arch_atomic64_set() 227 #define arch_atomic64_set_release(v, i) arch_atomic64_set((v), (i)) argument 230 arch_atomic64_read(const atomic64_t *v) in arch_atomic64_read()
|
/openbmc/linux/include/kvm/ |
H A D | arm_arch_timer.h | 122 #define vcpu_timer(v) (&(v)->arch.timer_cpu) argument 123 #define vcpu_get_timer(v,t) (&vcpu_timer(v)->timers[(t)]) argument 124 #define vcpu_vtimer(v) (&(v)->arch.timer_cpu.timers[TIMER_VTIMER]) argument 125 #define vcpu_ptimer(v) (&(v)->arch.timer_cpu.timers[TIMER_PTIMER]) argument 126 #define vcpu_hvtimer(v) (&(v)->arch.timer_cpu.timers[TIMER_HVTIMER]) argument 127 #define vcpu_hptimer(v) (&(v)->arch.timer_cpu.timers[TIMER_HPTIMER]) argument
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | fpu.h | 30 #define F32_SNAN(v) (0x7f800000 | (v)) argument 31 #define F32_QNAN(v) (0x7fc00000 | (v)) argument 44 #define F64_SNAN(v) (0x7ff0000000000000 | (v)) argument 45 #define F64_QNAN(v) (0x7ff8000000000000 | (v)) argument
|
/openbmc/linux/arch/m68k/lib/ |
H A D | muldi3.c | 28 #define umul_ppmm(w1, w0, u, v) \ argument 54 #define umul_ppmm(w1, w0, u, v) \ argument 63 #define __umulsidi3(u, v) \ argument 82 __muldi3 (DItype u, DItype v) in __muldi3()
|