/openbmc/linux/drivers/fpga/ |
H A D | dfl-fme-main.c | 32 u64 v; in ports_num_show() local 51 u64 v; in bitstream_id_show() local 69 u64 v; in bitstream_metadata_show() local 83 u64 v; in cache_size_show() local 98 u64 v; in fabric_version_show() local 113 u64 v; in socket_id_show() local 230 u64 v; in thermal_hwmon_read() local 285 u64 v; in temp1_max_policy_show() local 381 u64 v; in power_hwmon_read() local 417 u64 v; in power_hwmon_write() local [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | sev-common.h | 15 #define GHCB_DATA(v) \ argument 31 #define GHCB_MSR_INFO(v) ((v) & 0xfffUL) argument 32 #define GHCB_MSR_PROTO_MAX(v) (((v) >> 48) & 0xffff) argument 33 #define GHCB_MSR_PROTO_MIN(v) (((v) >> 32) & 0xffff) argument 62 #define GHCB_MSR_REG_GPA_REQ_VAL(v) \ argument 69 #define GHCB_MSR_REG_GPA_RESP_VAL(v) \ argument 102 #define GHCB_MSR_HV_FT_RESP_VAL(v) \ argument 163 #define GHCB_RESP_CODE(v) ((v) & GHCB_MSR_INFO_MASK) argument
|
/openbmc/linux/drivers/accel/ivpu/ |
H A D | ivpu_debugfs.c | 20 static int bo_list_show(struct seq_file *s, void *v) in bo_list_show() 30 static int fw_name_show(struct seq_file *s, void *v) in fw_name_show() 39 static int fw_trace_capability_show(struct seq_file *s, void *v) in fw_trace_capability_show() 58 static int fw_trace_config_show(struct seq_file *s, void *v) in fw_trace_config_show() 79 static int last_bootmode_show(struct seq_file *s, void *v) in last_bootmode_show() 89 static int reset_counter_show(struct seq_file *s, void *v) in reset_counter_show() 98 static int reset_pending_show(struct seq_file *s, void *v) in reset_pending_show() 117 static int fw_log_show(struct seq_file *s, void *v) in fw_log_show()
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvhw/ |
H A D | drf.h | 48 #define DRF_LW_SET(o,drf,v) (DRF_LW_CLR((o),drf) | DRF_LW_VAL((o),drf,(v))) argument 62 #define NVVAL_X(drf,v) (((v) & DRF_MASK(drf)) << DRF_LO(drf)) argument 63 #define NVVAL_N(X,d,r,f, v) NVVAL_X(d##_##r##_##f, (v)) argument 64 #define NVVAL_I(X,d,r,f,i,v) NVVAL_X(d##_##r##_##f(i), (v)) argument 68 #define NVDEF_N(X,d,r,f, v) NVVAL_X(d##_##r##_##f, d##_##r##_##f##_##v) argument 91 #define NVVAL_SET_N(X,o,d,r,f, v) NVVAL_SET_X(o, d##_##r##_##f, (v)) argument 92 #define NVVAL_SET_I(X,o,d,r,f,i,v) NVVAL_SET_X(o, d##_##r##_##f(i), (v)) argument 133 #define DRF_WR_X(e,p,o,dr,v) e((p), (o), dr, (v)) argument 134 #define DRF_WR_N(X,e,p,o,d,r, v) DRF_WR_X(e, (p), (o), d##_##r , (v)) argument 135 #define DRF_WR_I(X,e,p,o,d,r,i,v) DRF_WR_X(e, (p), (o), d##_##r(i), (v)) argument [all …]
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | io.h | 235 #define outb(v,p) ({ __iowmb(); __raw_writeb(v,__io(p)); }) argument 236 #define outw(v,p) ({ __iowmb(); __raw_writew((__force __u16) \ argument 238 #define outl(v,p) ({ __iowmb(); __raw_writel((__force __u32) \ argument 280 #define writeb_relaxed(v,c) __raw_writeb(v,c) argument 281 #define writew_relaxed(v,c) __raw_writew((__force u16) cpu_to_le16(v),c) argument 282 #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) argument 288 #define writeb(v,c) ({ __iowmb(); writeb_relaxed(v,c); }) argument 289 #define writew(v,c) ({ __iowmb(); writew_relaxed(v,c); }) argument 290 #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) argument 326 #define memset_io(c,v,l) _memset_io(c,(v),(l)) argument [all …]
|
H A D | atomic.h | 25 #define arch_atomic_read(v) READ_ONCE((v)->counter) argument 26 #define arch_atomic_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument 128 static inline int arch_atomic_fetch_add_unless(atomic_t *v, int a, int u) in arch_atomic_fetch_add_unless() 210 static inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg() 260 static inline s64 arch_atomic64_read(const atomic64_t *v) in arch_atomic64_read() 273 static inline void arch_atomic64_set(atomic64_t *v, s64 i) in arch_atomic64_set() 282 static inline s64 arch_atomic64_read(const atomic64_t *v) in arch_atomic64_read() 295 static inline void arch_atomic64_set(atomic64_t *v, s64 i) in arch_atomic64_set() 454 static inline s64 arch_atomic64_dec_if_positive(atomic64_t *v) in arch_atomic64_dec_if_positive() 482 static inline s64 arch_atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) in arch_atomic64_fetch_add_unless()
|
/openbmc/linux/drivers/misc/c2port/ |
H A D | c2port-duramar2150.c | 31 u8 v; in duramar2150_c2port_access() local 50 u8 v; in duramar2150_c2port_c2d_dir() local 71 u8 v; in duramar2150_c2port_c2d_set() local 87 u8 v; in duramar2150_c2port_c2ck_set() local
|
/openbmc/linux/drivers/md/ |
H A D | dm-verity-fec.h | 95 static inline bool verity_fec_is_enabled(struct dm_verity *v) in verity_fec_is_enabled() 100 static inline int verity_fec_decode(struct dm_verity *v, in verity_fec_decode() 109 static inline unsigned int verity_fec_status_table(struct dm_verity *v, in verity_fec_status_table() 130 struct dm_verity *v, in verity_fec_parse_opt_args() 137 static inline void verity_fec_dtr(struct dm_verity *v) in verity_fec_dtr() 141 static inline int verity_fec_ctr_alloc(struct dm_verity *v) in verity_fec_ctr_alloc() 146 static inline int verity_fec_ctr(struct dm_verity *v) in verity_fec_ctr()
|
/openbmc/linux/drivers/clk/ti/ |
H A D | apll.c | 39 u32 v; in dra7_apll_enable() local 88 u32 v; in dra7_apll_disable() local 104 u32 v; in dra7_apll_is_enabled() local 239 u32 v; in omap2_apll_is_enabled() local 264 u32 v; in omap2_apll_enable() local 295 u32 v; in omap2_apll_disable() local 313 u32 v; in omap2_apll_set_autoidle() local
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-sun6i-p2wi.c | 54 #define P2WI_CCR_SDA_OUT_DELAY(v) (((v) & 0x7) << 8) argument 56 #define P2WI_CCR_CLK_DIV(v) ((v) & P2WI_CCR_MAX_CLK_DIV) argument 59 #define P2WI_INTS_TRANS_ERR_ID(v) (((v) >> 8) & 0xff) argument 66 #define P2WI_DLEN_DATA_LENGTH(v) ((v - 1) & 0x7) argument 78 #define P2WI_PMCR_PMU_INIT_DATA(v) (((v) & 0xff) << 16) argument 79 #define P2WI_PMCR_PMU_MODE_REG(v) (((v) & 0xff) << 8) argument 80 #define P2WI_PMCR_PMU_DEV_ADDR(v) ((v) & 0xff) argument
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | miiphybb.c | 20 #define BB_MII_RELOCATE(v,off) (v += (v?off:0)) argument 58 static int bb_set_mdio_wrap(struct bb_miiphy_bus *bus, int v) in bb_set_mdio_wrap() 67 static int bb_get_mdio_wrap(struct bb_miiphy_bus *bus, int *v) in bb_get_mdio_wrap() 76 static int bb_set_mdc_wrap(struct bb_miiphy_bus *bus, int v) in bb_set_mdc_wrap() 235 int v; in bb_miiphy_read() local
|
/openbmc/linux/net/bridge/ |
H A D | br_vlan.c | 189 struct net_bridge_vlan *v; in br_master_vlan_rcu_free() local 218 struct net_bridge_vlan *v; in nbp_vlan_rcu_free() local 479 struct net_bridge_vlan *v; in br_handle_vlan() local 541 struct net_bridge_vlan *v; in __allowed_ingress() local 683 struct net_bridge_vlan *v; in br_should_learn() local 818 struct net_bridge_vlan *v; in br_vlan_delete() local 1058 struct net_bridge_vlan *v; in vlan_default_pvid() local 1353 struct net_bridge_vlan *v; in nbp_vlan_delete() local 1475 struct net_bridge_vlan *v; in br_vlan_fill_forward_path_mode() local 1502 struct net_bridge_vlan *v; in br_vlan_get_info() local [all …]
|
/openbmc/linux/kernel/irq/ |
H A D | proc.c | 83 static int irq_affinity_hint_proc_show(struct seq_file *m, void *v) in irq_affinity_hint_proc_show() 104 static int irq_affinity_proc_show(struct seq_file *m, void *v) in irq_affinity_proc_show() 109 static int irq_affinity_list_proc_show(struct seq_file *m, void *v) in irq_affinity_list_proc_show() 218 static int irq_effective_aff_proc_show(struct seq_file *m, void *v) in irq_effective_aff_proc_show() 223 static int irq_effective_aff_list_proc_show(struct seq_file *m, void *v) in irq_effective_aff_list_proc_show() 229 static int default_affinity_show(struct seq_file *m, void *v) in default_affinity_show() 279 static int irq_node_proc_show(struct seq_file *m, void *v) in irq_node_proc_show() 288 static int irq_spurious_proc_show(struct seq_file *m, void *v) in irq_spurious_proc_show() 460 int show_interrupts(struct seq_file *p, void *v) in show_interrupts()
|
/openbmc/u-boot/arch/sh/include/asm/ |
H A D | io.h | 37 #define __arch_putb(v, a) (*(volatile unsigned char *)(a) = (v)) argument 38 #define __arch_putw(v, a) (*(volatile unsigned short *)(a) = (v)) argument 39 #define __arch_putl(v, a) (*(volatile unsigned int *)(a) = (v)) argument 49 #define __raw_writeb(v, a) __arch_putb(v, a) argument 50 #define __raw_writew(v, a) __arch_putw(v, a) argument 51 #define __raw_writel(v, a) __arch_putl(v, a) argument 84 #define outb(v, p) __raw_writeb(v, p) argument 152 #define writeb(v, c) __raw_writeb(v, __mem_pci(c)) argument 185 #define writeb(v, addr) __raw_writeb(v, addr) argument 186 #define writew(v, addr) __raw_writew(v, addr) argument [all …]
|
/openbmc/linux/drivers/ufs/host/ |
H A D | ufs-exynos.h | 41 #define TX_LINERESET_N(v) (((v) >> 10) & 0xFF) argument 43 #define TX_LINERESET_P(v) (((v) >> 12) & 0xFF) argument 48 #define TX_HIGH_Z_CNT_H(v) (((v) >> 8) & 0xF) argument 50 #define TX_HIGH_Z_CNT_L(v) ((v) & 0xFF) argument 52 #define TX_BASE_NVAL_L(v) ((v) & 0xFF) argument 54 #define TX_BASE_NVAL_H(v) (((v) >> 8) & 0xFF) argument 56 #define TX_GRAN_NVAL_L(v) ((v) & 0xFF) argument 58 #define TX_GRAN_NVAL_H(v) (((v) >> 8) & 0x3) argument 79 #define RX_LINERESET(v) (((v) >> 12) & 0xFF) argument 90 #define RX_BASE_NVAL_L(v) ((v) & 0xFF) argument [all …]
|
/openbmc/linux/arch/m68k/coldfire/ |
H A D | intc-5272.c | 86 u32 v; in intc_irq_mask() local 98 u32 v; in intc_irq_unmask() local 113 u32 v; in intc_irq_ack() local 129 u32 v; in intc_irq_set_type() local
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | prm44xx.c | 110 u32 v; in omap4_prm_rmw_inst_reg_bits() local 374 u32 v; in omap44xx_prm_read_reset_sources() local 438 u32 v; in omap4_pwrdm_read_next_pwrst() local 450 u32 v; in omap4_pwrdm_read_pwrst() local 462 u32 v; in omap4_pwrdm_read_prev_pwrst() local 492 u32 v; in omap4_pwrdm_set_logic_retst() local 532 u32 v; in omap4_pwrdm_read_logic_pwrst() local 544 u32 v; in omap4_pwrdm_read_logic_retst() local 584 u32 m, v; in omap4_pwrdm_read_mem_pwrst() local 598 u32 m, v; in omap4_pwrdm_read_mem_retst() local [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | iters.c | 35 int *v, i = zero; /* obscure initial value of i */ in iter_err_unsafe_c_loop() local 97 int *v; in iter_while_loop() local 115 int *v; in iter_while_loop_auto_cleanup() local 133 int *v; in iter_for_loop() local 150 int *v; in iter_bpf_for_each_macro() local 181 int *v, i; in iter_pragma_unroll_loop() local 201 int *v; in iter_manual_unroll_loop() local 224 int *v, i; in iter_multiple_sequential_loops() local 267 int *v, i = 0, sum = 0; in iter_limit_cond_break_loop() local 292 int *v, sum = 0; in iter_obfuscate_counter() local [all …]
|
/openbmc/linux/include/linux/ |
H A D | stdarg.h | 6 #define va_start(v, l) __builtin_va_start(v, l) argument 7 #define va_end(v) __builtin_va_end(v) argument 8 #define va_arg(v, T) __builtin_va_arg(v, T) argument
|
/openbmc/linux/arch/mips/include/asm/sibyte/ |
H A D | sb1250_defs.h | 222 #define _SB_MAKEMASK(v, n) (_SB_MAKE64((_SB_MAKE64(1)<<(v))-1) << _SB_MAKE64(n)) argument 223 #define _SB_MAKEMASK_32(v, n) (_SB_MAKE32((_SB_MAKE32(1)<<(v))-1) << _SB_MAKE32(n)) argument 229 #define _SB_MAKEVALUE(v, n) (_SB_MAKE64(v) << _SB_MAKE64(n)) argument 230 #define _SB_MAKEVALUE_32(v, n) (_SB_MAKE32(v) << _SB_MAKE32(n)) argument 232 #define _SB_GETVALUE(v, n, m) ((_SB_MAKE64(v) & _SB_MAKE64(m)) >> _SB_MAKE64(n)) argument 233 #define _SB_GETVALUE_32(v, n, m) ((_SB_MAKE32(v) & _SB_MAKE32(m)) >> _SB_MAKE32(n)) argument
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_debugfs.c | 78 static void *_opcode_stats_seq_next(struct seq_file *s, void *v, loff_t *pos) in _opcode_stats_seq_next() 89 static void _opcode_stats_seq_stop(struct seq_file *s, void *v) in _opcode_stats_seq_stop() 94 static int _opcode_stats_seq_show(struct seq_file *s, void *v) in _opcode_stats_seq_show() 131 static void *_ctx_stats_seq_next(struct seq_file *s, void *v, loff_t *pos) in _ctx_stats_seq_next() 145 static void _ctx_stats_seq_stop(struct seq_file *s, void *v) in _ctx_stats_seq_stop() 150 static int _ctx_stats_seq_show(struct seq_file *s, void *v) in _ctx_stats_seq_show()
|
/openbmc/u-boot/include/ |
H A D | fsl_ddr.h | 22 #define ddr_out32(a, v) out_le32(a, v) argument 23 #define ddr_setbits32(a, v) setbits_le32(a, v) argument 24 #define ddr_clrbits32(a, v) clrbits_le32(a, v) argument 28 #define ddr_out32(a, v) out_be32(a, v) argument 29 #define ddr_setbits32(a, v) setbits_be32(a, v) argument 30 #define ddr_clrbits32(a, v) clrbits_be32(a, v) argument
|
/openbmc/linux/drivers/crypto/gemini/ |
H A D | sl3516-ce-core.c | 79 u32 v; in start_dma_tx() local 89 u32 v; in start_dma_rx() local 125 u32 v; in sl3516_ce_run_task() local 190 u32 v; in ce_irq_handler() local 248 static int sl3516_ce_debugfs_show(struct seq_file *seq, void *v) in sl3516_ce_debugfs_show() 399 u32 v; in sl3516_ce_probe() local
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | atomic.h | 29 #define arch_atomic_read(v) READ_ONCE((v)->counter) argument 30 #define arch_atomic64_read(v) READ_ONCE((v)->counter) argument 32 #define arch_atomic_set(v,i) WRITE_ONCE((v)->counter, (i)) argument 33 #define arch_atomic64_set(v,i) WRITE_ONCE((v)->counter, (i)) argument 226 static __inline__ s64 arch_atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) in arch_atomic64_fetch_add_unless() 249 static inline s64 arch_atomic64_dec_if_positive(atomic64_t *v) in arch_atomic64_dec_if_positive()
|
/openbmc/linux/arch/arm/mm/ |
H A D | pmsa-v8.c | 35 static inline void prsel_write(u32 v) in prsel_write() 40 static inline void prbar_write(u32 v) in prbar_write() 45 static inline void prlar_write(u32 v) in prlar_write() 61 static inline void prsel_write(u32 v) in prsel_write() 66 static inline void prbar_write(u32 v) in prbar_write() 71 static inline void prlar_write(u32 v) in prlar_write()
|