/openbmc/linux/arch/arm/include/asm/hardware/ |
H A D | cp14.h | 12 #define dbg_write(val, reg) WCP14_##reg(val) argument 14 #define etm_write(val, reg) WCP14_##reg(val) argument 24 #define MCR14(val, op1, crn, crm, op2) \ argument 153 #define WCP14_DBGWFAR(val) MCR14(val, 0, c0, c6, 0) argument 154 #define WCP14_DBGVCR(val) MCR14(val, 0, c0, c7, 0) argument 155 #define WCP14_DBGECR(val) MCR14(val, 0, c0, c9, 0) argument 161 #define WCP14_DBGDRCR(val) MCR14(val, 0, c0, c4, 2) argument 162 #define WCP14_DBGBVR0(val) MCR14(val, 0, c0, c0, 4) argument 163 #define WCP14_DBGBVR1(val) MCR14(val, 0, c0, c1, 4) argument 412 #define WCP14_ETMCR(val) MCR14(val, 1, c0, c0, 0) argument [all …]
|
/openbmc/u-boot/include/bedbug/ |
H A D | regs.h | 169 #define SET_REGISTER( str, val ) \ argument 180 #define SET_CR(val) SET_REGISTER( "mtcr %0", val ) argument 182 #define SET_MSR(val) SET_REGISTER( "mtmsr %0", val ) argument 184 #define SET_XER(val) SET_REGISTER( "mtspr 1,%0", val ) argument 186 #define SET_LR(val) SET_REGISTER( "mtspr 8,%0", val ) argument 188 #define SET_CTR(val) SET_REGISTER( "mtspr 9,%0", val ) argument 192 #define SET_DAR(val) SET_REGISTER( "mtspr 19,%0", val ) argument 194 #define SET_DEC(val) SET_REGISTER( "mtspr 22,%0", val ) argument 198 #define SET_SRR1(val) SET_REGISTER( "mtspr 27,%0", val ) argument 200 #define SET_EIE(val) SET_REGISTER( "mtspr 80,%0", val ) argument [all …]
|
/openbmc/u-boot/arch/microblaze/include/asm/ |
H A D | asm.h | 9 #define NGET(val, fslnum) \ argument 12 #define GET(val, fslnum) \ argument 15 #define NCGET(val, fslnum) \ argument 18 #define CGET(val, fslnum) \ argument 24 #define PUT(val, fslnum) \ argument 35 #define MFS(val, reg) \ argument 38 #define MTS(val, reg) \ argument 42 #define R14(val) \ argument 46 #define R17(val) \ argument 53 #define MSRSET(val) \ argument [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | types.h | 173 #define NREV_IS(var, val) \ argument 176 #define NREV_GE(var, val) \ argument 179 #define NREV_GT(var, val) \ argument 182 #define NREV_LT(var, val) \ argument 185 #define NREV_LE(var, val) \ argument 188 #define LCNREV_IS(var, val) \ argument 191 #define LCNREV_GE(var, val) \ argument 194 #define LCNREV_GT(var, val) \ argument 197 #define LCNREV_LT(var, val) \ argument 200 #define LCNREV_LE(var, val) \ argument [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | fw.h | 391 static inline void RTW89_SET_EDCA_SEL(void *cmd, u32 val) in RTW89_SET_EDCA_SEL() 401 static inline void RTW89_SET_EDCA_WMM(void *cmd, u32 val) in RTW89_SET_EDCA_WMM() 406 static inline void RTW89_SET_EDCA_AC(void *cmd, u32 val) in RTW89_SET_EDCA_AC() 1109 static inline void SET_CMC_TBL_NC(void *table, u32 val) in SET_CMC_TBL_NC() 1116 static inline void SET_CMC_TBL_NR(void *table, u32 val) in SET_CMC_TBL_NR() 1123 static inline void SET_CMC_TBL_NG(void *table, u32 val) in SET_CMC_TBL_NG() 1628 static inline void SET_JOININFO_OP(void *h2c, u32 val) in SET_JOININFO_OP() 1753 static inline void SET_BA_CAM_TID(void *h2c, u32 val) in SET_BA_CAM_TID() 1768 static inline void SET_BA_CAM_SSN(void *h2c, u32 val) in SET_BA_CAM_SSN() 1773 static inline void SET_BA_CAM_UID(void *h2c, u32 val) in SET_BA_CAM_UID() [all …]
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | percpu.h | 27 #define arch_this_cpu_to_op_simple(pcp, val, op) \ argument 44 #define this_cpu_add_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument 45 #define this_cpu_add_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument 48 #define this_cpu_and_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, &) argument 49 #define this_cpu_and_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, &) argument 50 #define this_cpu_or_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, |) argument 66 #define arch_this_cpu_add(pcp, val, op1, op2, szcast) \ argument 93 #define arch_this_cpu_add_return(pcp, val, op) \ argument 112 #define arch_this_cpu_to_op(pcp, val, op) \ argument 127 #define this_cpu_and_4(pcp, val) arch_this_cpu_to_op(pcp, val, "lan") argument [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx.xml.h | 3637 static inline uint32_t A6XX_RB_MRT_PITCH(uint32_t val) in A6XX_RB_MRT_PITCH() 3653 static inline uint32_t A6XX_RB_MRT_BASE(uint32_t val) in A6XX_RB_MRT_BASE() 3801 static inline uint32_t A6XX_RB_Z_BOUNDS_MIN(float val) in A6XX_RB_Z_BOUNDS_MIN() 3809 static inline uint32_t A6XX_RB_Z_BOUNDS_MAX(float val) in A6XX_RB_Z_BOUNDS_MAX() 3969 static inline uint32_t A6XX_RB_Z_CLAMP_MIN(float val) in A6XX_RB_Z_CLAMP_MIN() 3977 static inline uint32_t A6XX_RB_Z_CLAMP_MAX(float val) in A6XX_RB_Z_CLAMP_MAX() 4099 static inline uint32_t A6XX_RB_BLIT_DST(uint32_t val) in A6XX_RB_BLIT_DST() 4363 static inline uint32_t A6XX_RB_2D_DST(uint32_t val) in A6XX_RB_2D_DST() 6666 static inline uint32_t A6XX_SP_CS_IBO(uint32_t val) in A6XX_SP_CS_IBO() 6729 static inline uint32_t A6XX_SP_IBO(uint32_t val) in A6XX_SP_IBO() [all …]
|
H A D | adreno_pm4.xml.h | 1194 static inline uint32_t CP_SET_BIN_1_X1(uint32_t val) in CP_SET_BIN_1_X1() 1200 static inline uint32_t CP_SET_BIN_1_Y1(uint32_t val) in CP_SET_BIN_1_Y1() 1208 static inline uint32_t CP_SET_BIN_2_X2(uint32_t val) in CP_SET_BIN_2_X2() 1214 static inline uint32_t CP_SET_BIN_2_Y2(uint32_t val) in CP_SET_BIN_2_Y2() 2047 static inline uint32_t CP_BLIT_1_SRC_X1(uint32_t val) in CP_BLIT_1_SRC_X1() 2053 static inline uint32_t CP_BLIT_1_SRC_Y1(uint32_t val) in CP_BLIT_1_SRC_Y1() 2061 static inline uint32_t CP_BLIT_2_SRC_X2(uint32_t val) in CP_BLIT_2_SRC_X2() 2067 static inline uint32_t CP_BLIT_2_SRC_Y2(uint32_t val) in CP_BLIT_2_SRC_Y2() 2075 static inline uint32_t CP_BLIT_3_DST_X1(uint32_t val) in CP_BLIT_3_DST_X1() 2081 static inline uint32_t CP_BLIT_3_DST_Y1(uint32_t val) in CP_BLIT_3_DST_Y1() [all …]
|
H A D | a3xx.xml.h | 977 static inline uint32_t A3XX_GRAS_CL_VPORT_XSCALE(float val) in A3XX_GRAS_CL_VPORT_XSCALE() 993 static inline uint32_t A3XX_GRAS_CL_VPORT_YSCALE(float val) in A3XX_GRAS_CL_VPORT_YSCALE() 1031 static inline uint32_t A3XX_GRAS_SU_POINT_SIZE(float val) in A3XX_GRAS_SU_POINT_SIZE() 1216 static inline uint32_t A3XX_RB_ALPHA_REF_FLOAT(float val) in A3XX_RB_ALPHA_REF_FLOAT() 1329 static inline uint32_t A3XX_RB_BLEND_RED_FLOAT(float val) in A3XX_RB_BLEND_RED_FLOAT() 1357 static inline uint32_t A3XX_RB_BLEND_BLUE_FLOAT(float val) in A3XX_RB_BLEND_BLUE_FLOAT() 1500 static inline uint32_t A3XX_RB_DEPTH_PITCH(uint32_t val) in A3XX_RB_DEPTH_PITCH() 1571 static inline uint32_t A3XX_RB_STENCIL_PITCH(uint32_t val) in A3XX_RB_STENCIL_PITCH() 2068 static inline uint32_t A3XX_VPC_ATTR_LMSIZE(uint32_t val) in A3XX_VPC_ATTR_LMSIZE() 3117 static inline uint32_t A3XX_TEX_SAMP_1_MAX_LOD(float val) in A3XX_TEX_SAMP_1_MAX_LOD() [all …]
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | percpu.h | 178 #define _percpu_write(pcp, val) \ argument 183 #define _pcp_protect(operation, pcp, val) \ argument 193 #define _percpu_add(pcp, val) \ argument 198 #define _percpu_and(pcp, val) \ argument 201 #define _percpu_or(pcp, val) \ argument 204 #define _percpu_xchg(pcp, val) ((typeof(pcp)) \ argument 207 #define this_cpu_add_4(pcp, val) _percpu_add(pcp, val) argument 208 #define this_cpu_add_8(pcp, val) _percpu_add(pcp, val) argument 213 #define this_cpu_and_4(pcp, val) _percpu_and(pcp, val) argument 216 #define this_cpu_or_4(pcp, val) _percpu_or(pcp, val) argument [all …]
|
/openbmc/linux/arch/alpha/lib/ |
H A D | fpreg.c | 14 #define STT(reg,val) asm volatile ("ftoit $f"#reg",%0" : "=r"(val)); argument 16 #define STT(reg,val) asm volatile ("stt $f"#reg",%0" : "=m"(val)); argument 22 unsigned long val; in alpha_read_fp_reg() local 69 #define LDT(reg,val) asm volatile ("itoft %0,$f"#reg : : "r"(val)); argument 71 #define LDT(reg,val) asm volatile ("ldt $f"#reg",%0" : : "m"(val)); argument 75 alpha_write_fp_reg (unsigned long reg, unsigned long val) in alpha_write_fp_reg() 125 #define STS(reg,val) asm volatile ("sts $f"#reg",%0" : "=m"(val)); argument 131 unsigned long val; in alpha_read_fp_reg_s() local 180 #define LDS(reg,val) asm volatile ("itofs %0,$f"#reg : : "r"(val)); argument 182 #define LDS(reg,val) asm volatile ("lds $f"#reg",%0" : : "m"(val)); argument [all …]
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-abt-y030xx067a.c | 23 #define REG00_VBRT_CTRL(val) (val) argument 25 #define REG01_COM_DC(val) (val) argument 27 #define REG02_DA_CONTRAST(val) (val) argument 31 #define REG03_VPOSITION(val) (val) argument 36 #define REG04_HPOSITION1(val) (val) argument 60 #define REG08_SLHRC(val) (val) argument 77 #define REG0C_CONTRAST_R(val) (val) argument 80 #define REG0D_CONTRAST_G(val) (val) argument 90 #define REG10_BRIGHT(val) (val) argument 92 #define REG11_SIG_GAIN(val) (val) argument [all …]
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | qspinlock.c | 104 static inline int decode_tail_cpu(u32 val) in decode_tail_cpu() 109 static inline int get_owner_cpu(u32 val) in get_owner_cpu() 475 u32 val; in try_to_steal_lock() local 544 u32 val, old, tail; in queued_spin_lock_mcs_queue() local 759 static int steal_spins_set(void *data, u64 val) in steal_spins_set() 794 static int steal_spins_get(void *data, u64 *val) in steal_spins_get() 819 static int head_spins_set(void *data, u64 val) in head_spins_set() 826 static int head_spins_get(void *data, u64 *val) in head_spins_get() 947 static int pv_yield_prev_set(void *data, u64 val) in pv_yield_prev_set() 979 static int pv_prod_head_set(void *data, u64 val) in pv_prod_head_set() [all …]
|
/openbmc/linux/sound/synth/emux/ |
H A D | emux_nrpn.c | 41 int type, int val, int mode) in send_converted_effect() 128 static int fx_delay(int val) in fx_delay() 133 static int fx_attack(int val) in fx_attack() 138 static int fx_hold(int val) in fx_hold() 143 static int fx_decay(int val) in fx_decay() 163 static int fx_conv_Q(int val) in fx_conv_Q() 209 static int gs_cutoff(int val) in gs_cutoff() 221 static int gs_attack(int val) in gs_attack() 227 static int gs_decay(int val) in gs_decay() 284 int val; in snd_emux_nrpn() local [all …]
|
/openbmc/linux/include/sound/ |
H A D | emu8000_reg.h | 122 #define EMU8000_HWCF4_WRITE(emu, val) \ argument 124 #define EMU8000_HWCF5_WRITE(emu, val) \ argument 126 #define EMU8000_HWCF6_WRITE(emu, val) \ argument 129 #define EMU8000_HWCF7_WRITE(emu, val) \ argument 131 #define EMU8000_SMALR_WRITE(emu, val) \ argument 133 #define EMU8000_SMARR_WRITE(emu, val) \ argument 135 #define EMU8000_SMALW_WRITE(emu, val) \ argument 137 #define EMU8000_SMARW_WRITE(emu, val) \ argument 139 #define EMU8000_SMLD_WRITE(emu, val) \ argument 141 #define EMU8000_SMRD_WRITE(emu, val) \ argument [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | csr.c | 646 target_ulong *val) in read_frm() 653 target_ulong val) in write_frm() 665 target_ulong *val) in read_fcsr() 673 target_ulong val) in write_fcsr() 704 target_ulong *val) in read_vl() 718 target_ulong *val) in read_vxrm() 725 target_ulong val) in write_vxrm() 773 target_ulong *val) in read_vcsr() 794 int64_t val = cpu_get_host_ticks(); in get_ticks() local 2526 uint64_t *reg, val; in write_mstateenh() local [all …]
|
/openbmc/linux/arch/arm64/lib/ |
H A D | copy_to_user.S | 22 .macro ldrb1 reg, ptr, val 26 .macro strb1 reg, ptr, val 30 .macro ldrh1 reg, ptr, val 34 .macro strh1 reg, ptr, val 38 .macro ldr1 reg, ptr, val 42 .macro str1 reg, ptr, val 46 .macro ldp1 reg1, reg2, ptr, val 50 .macro stp1 reg1, reg2, ptr, val
|
H A D | copy_from_user.S | 23 .macro ldrb1 reg, ptr, val 27 .macro strb1 reg, ptr, val 31 .macro ldrh1 reg, ptr, val 35 .macro strh1 reg, ptr, val 39 .macro ldr1 reg, ptr, val 43 .macro str1 reg, ptr, val 47 .macro ldp1 reg1, reg2, ptr, val 51 .macro stp1 reg1, reg2, ptr, val
|
/openbmc/linux/arch/alpha/include/uapi/asm/ |
H A D | compiler.h | 14 # define __kernel_insbl(val, shift) __builtin_alpha_insbl(val, shift) argument 22 # define __kernel_insbl(val, shift) \ argument 26 # define __kernel_inswl(val, shift) \ argument 30 # define __kernel_insql(val, shift) \ argument 34 # define __kernel_inslh(val, shift) \ argument 38 # define __kernel_extbl(val, shift) \ argument 42 # define __kernel_extwl(val, shift) \ argument 96 #define __kernel_stb(val,mem) ((mem) = (val)) argument 97 #define __kernel_stw(val,mem) ((mem) = (val)) argument 109 #define __kernel_stb(val,mem) \ argument [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | mipsregs.h | 1383 #define write_r10k_perf_cntr(counter,val) \ argument 1402 #define write_r10k_perf_cntl(counter,val) \ argument 1509 #define __write_ulong_c0_register(reg, sel, val) \ argument 1568 #define __write_64bit_c0_split(source, sel, val) \ argument 1673 #define write_c0_conf(val) __write_32bit_c0_register($3, 0, val) argument 1960 #define write_c0_pgd(val) __write_64bit_c0_register($9, 7, val) argument 2157 #define __write_ulong_gc0_register(reg, sel, val) \ argument 2387 #define write_32bit_cp1_register(dest, val) \ argument 2414 #define wrdsp(val, mask) \ argument 2646 #define wrdsp(val, mask) \ argument [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/dsi/ |
H A D | dsi.xml.h | 146 static inline uint32_t DSI_6G_HW_VERSION_MAJOR(uint32_t val) in DSI_6G_HW_VERSION_MAJOR() 158 static inline uint32_t DSI_6G_HW_VERSION_STEP(uint32_t val) in DSI_6G_HW_VERSION_STEP() 250 static inline uint32_t DSI_ACTIVE_H_START(uint32_t val) in DSI_ACTIVE_H_START() 256 static inline uint32_t DSI_ACTIVE_H_END(uint32_t val) in DSI_ACTIVE_H_END() 264 static inline uint32_t DSI_ACTIVE_V_START(uint32_t val) in DSI_ACTIVE_V_START() 270 static inline uint32_t DSI_ACTIVE_V_END(uint32_t val) in DSI_ACTIVE_V_END() 278 static inline uint32_t DSI_TOTAL_H_TOTAL(uint32_t val) in DSI_TOTAL_H_TOTAL() 284 static inline uint32_t DSI_TOTAL_V_TOTAL(uint32_t val) in DSI_TOTAL_V_TOTAL() 298 static inline uint32_t DSI_ACTIVE_HSYNC_END(uint32_t val) in DSI_ACTIVE_HSYNC_END() 467 static inline uint32_t DSI_TRIG_CTRL_STREAM(uint32_t val) in DSI_TRIG_CTRL_STREAM() [all …]
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | percpu.h | 183 #define this_cpu_add_1(pcp, val) \ argument 185 #define this_cpu_add_2(pcp, val) \ argument 187 #define this_cpu_add_4(pcp, val) \ argument 189 #define this_cpu_add_8(pcp, val) \ argument 201 #define this_cpu_and_1(pcp, val) \ argument 203 #define this_cpu_and_2(pcp, val) \ argument 205 #define this_cpu_and_4(pcp, val) \ argument 207 #define this_cpu_and_8(pcp, val) \ argument 210 #define this_cpu_or_1(pcp, val) \ argument 212 #define this_cpu_or_2(pcp, val) \ argument [all …]
|
/openbmc/linux/include/linux/ |
H A D | iopoll.h | 36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ argument 84 #define read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, \ argument 134 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument 157 #define readb_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument 160 #define readb_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument 163 #define readw_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument 166 #define readw_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument 169 #define readl_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument 172 #define readl_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument 175 #define readq_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/soc/ |
H A D | intel_dram.c | 142 u32 val; in chv_detect_mem_freq() local 160 u32 val; in vlv_detect_mem_freq() local 201 static int skl_get_dimm_size(u16 val) in skl_get_dimm_size() 206 static int skl_get_dimm_width(u16 val) in skl_get_dimm_width() 223 static int skl_get_dimm_ranks(u16 val) in skl_get_dimm_ranks() 234 static int icl_get_dimm_size(u16 val) in icl_get_dimm_size() 297 int channel, u32 val) in skl_dram_get_channel_info() 339 u32 val; in skl_dram_get_channels_info() local 377 u32 val; in skl_get_dram_type() local 495 u32 val; in bxt_get_dram_info() local [all …]
|
/openbmc/u-boot/arch/mips/include/asm/ |
H A D | mipsregs.h | 880 #define write_r10k_perf_cntr(counter,val) \ argument 899 #define write_r10k_perf_cntl(counter,val) \ argument 983 #define __write_ulong_c0_register(reg, sel, val) \ argument 1039 #define __write_64bit_c0_split(source, sel, val) \ argument 1474 #define write_32bit_cp1_register(dest, val) \ argument 1479 #define write_32bit_cp1_register(dest, val) \ argument 1498 #define wrdsp(val, mask) \ argument 1714 #define wrdsp(val, mask) \ argument 1744 #define _umips_dsp_mtxxx(val, ins) \ argument 1800 #define wrdsp(val, mask) \ argument [all …]
|