/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 64 return val; in alpha_read_fp_reg() 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 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 139 STS(0, val); in alpha_read_fp_reg_s() 175 return val; in alpha_read_fp_reg_s() [all …]
|
/openbmc/linux/drivers/media/tuners/ |
H A D | tda18271-maps.c | 19 u8 val; member 318 { .rfmax = 41000, .val = 0x1e }, 319 { .rfmax = 43000, .val = 0x30 }, 780 { .rfmax = 30000, .val = 4 }, 781 { .rfmax = 200000, .val = 5 }, 782 { .rfmax = 600000, .val = 6 }, 783 { .rfmax = 865000, .val = 7 }, 924 int val, i = 0; in tda18271_lookup_thermometer() local 939 return val; in tda18271_lookup_thermometer() 1104 u32 *freq, u8 *val) in tda18271_lookup_map() argument [all …]
|
/openbmc/u-boot/include/bedbug/ |
H A D | regs.h | 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 202 #define SET_EID(val) SET_REGISTER( "mtspr 81,%0", val ) argument [all …]
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-etm-cp14.c | 19 *val = etm_read(ETMCR); in etm_readl_cp14() 22 *val = etm_read(ETMCCR); in etm_readl_cp14() 28 *val = etm_read(ETMSR); in etm_readl_cp14() 31 *val = etm_read(ETMSCR); in etm_readl_cp14() 34 *val = etm_read(ETMTSSCR); in etm_readl_cp14() 37 *val = etm_read(ETMTEEVR); in etm_readl_cp14() 40 *val = etm_read(ETMTECR1); in etm_readl_cp14() 43 *val = etm_read(ETMFFLR); in etm_readl_cp14() 46 *val = etm_read(ETMACVR0); in etm_readl_cp14() 49 *val = etm_read(ETMACVR1); in etm_readl_cp14() [all …]
|
/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 21 val; \ 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 164 #define WCP14_DBGBVR2(val) MCR14(val, 0, c0, c2, 4) argument [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | types.h | 174 (NCONF_HAS(val) && (NCONF_IS(val) || ((var) == (val)))) 177 (NCONF_GE(val) && (!NCONF_LT(val) || ((var) >= (val)))) 180 (NCONF_GT(val) && (!NCONF_LE(val) || ((var) > (val)))) 183 (NCONF_LT(val) && (!NCONF_GE(val) || ((var) < (val)))) 186 (NCONF_LE(val) && (!NCONF_GT(val) || ((var) <= (val)))) 189 (LCNCONF_HAS(val) && (LCNCONF_IS(val) || ((var) == (val)))) 192 (LCNCONF_GE(val) && (!LCNCONF_LT(val) || ((var) >= (val)))) 195 (LCNCONF_GT(val) && (!LCNCONF_LE(val) || ((var) > (val)))) 198 (LCNCONF_LT(val) && (!LCNCONF_GE(val) || ((var) < (val)))) 210 (D11CONF_GT(val) && (!D11CONF_LE(val) || ((var) > (val)))) [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() argument 3653 static inline uint32_t A6XX_RB_MRT_BASE(uint32_t val) in A6XX_RB_MRT_BASE() argument 3801 static inline uint32_t A6XX_RB_Z_BOUNDS_MIN(float val) in A6XX_RB_Z_BOUNDS_MIN() argument 3809 static inline uint32_t A6XX_RB_Z_BOUNDS_MAX(float val) in A6XX_RB_Z_BOUNDS_MAX() argument 3969 static inline uint32_t A6XX_RB_Z_CLAMP_MIN(float val) in A6XX_RB_Z_CLAMP_MIN() argument 3977 static inline uint32_t A6XX_RB_Z_CLAMP_MAX(float val) in A6XX_RB_Z_CLAMP_MAX() argument 4099 static inline uint32_t A6XX_RB_BLIT_DST(uint32_t val) in A6XX_RB_BLIT_DST() argument 4363 static inline uint32_t A6XX_RB_2D_DST(uint32_t val) in A6XX_RB_2D_DST() argument 6666 static inline uint32_t A6XX_SP_CS_IBO(uint32_t val) in A6XX_SP_CS_IBO() argument 6729 static inline uint32_t A6XX_SP_IBO(uint32_t val) in A6XX_SP_IBO() argument [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() argument 1200 static inline uint32_t CP_SET_BIN_1_Y1(uint32_t val) in CP_SET_BIN_1_Y1() argument 1208 static inline uint32_t CP_SET_BIN_2_X2(uint32_t val) in CP_SET_BIN_2_X2() argument 1214 static inline uint32_t CP_SET_BIN_2_Y2(uint32_t val) in CP_SET_BIN_2_Y2() argument 2047 static inline uint32_t CP_BLIT_1_SRC_X1(uint32_t val) in CP_BLIT_1_SRC_X1() argument 2053 static inline uint32_t CP_BLIT_1_SRC_Y1(uint32_t val) in CP_BLIT_1_SRC_Y1() argument 2061 static inline uint32_t CP_BLIT_2_SRC_X2(uint32_t val) in CP_BLIT_2_SRC_X2() argument 2067 static inline uint32_t CP_BLIT_2_SRC_Y2(uint32_t val) in CP_BLIT_2_SRC_Y2() argument 2075 static inline uint32_t CP_BLIT_3_DST_X1(uint32_t val) in CP_BLIT_3_DST_X1() argument 2081 static inline uint32_t CP_BLIT_3_DST_Y1(uint32_t val) in CP_BLIT_3_DST_Y1() argument [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() argument 993 static inline uint32_t A3XX_GRAS_CL_VPORT_YSCALE(float val) in A3XX_GRAS_CL_VPORT_YSCALE() argument 1031 static inline uint32_t A3XX_GRAS_SU_POINT_SIZE(float val) in A3XX_GRAS_SU_POINT_SIZE() argument 1216 static inline uint32_t A3XX_RB_ALPHA_REF_FLOAT(float val) in A3XX_RB_ALPHA_REF_FLOAT() argument 1329 static inline uint32_t A3XX_RB_BLEND_RED_FLOAT(float val) in A3XX_RB_BLEND_RED_FLOAT() argument 1357 static inline uint32_t A3XX_RB_BLEND_BLUE_FLOAT(float val) in A3XX_RB_BLEND_BLUE_FLOAT() argument 1500 static inline uint32_t A3XX_RB_DEPTH_PITCH(uint32_t val) in A3XX_RB_DEPTH_PITCH() argument 1571 static inline uint32_t A3XX_RB_STENCIL_PITCH(uint32_t val) in A3XX_RB_STENCIL_PITCH() argument 2068 static inline uint32_t A3XX_VPC_ATTR_LMSIZE(uint32_t val) in A3XX_VPC_ATTR_LMSIZE() argument 3117 static inline uint32_t A3XX_TEX_SAMP_1_MAX_LOD(float val) in A3XX_TEX_SAMP_1_MAX_LOD() argument [all …]
|
H A D | a4xx.xml.h | 1087 static inline uint32_t A4XX_RB_BLEND_RED_FLOAT(float val) in A4XX_RB_BLEND_RED_FLOAT() argument 1095 static inline uint32_t A4XX_RB_BLEND_RED_F32(float val) in A4XX_RB_BLEND_RED_F32() argument 1123 static inline uint32_t A4XX_RB_BLEND_GREEN_F32(float val) in A4XX_RB_BLEND_GREEN_F32() argument 1151 static inline uint32_t A4XX_RB_BLEND_BLUE_F32(float val) in A4XX_RB_BLEND_BLUE_F32() argument 1179 static inline uint32_t A4XX_RB_BLEND_ALPHA_F32(float val) in A4XX_RB_BLEND_ALPHA_F32() argument 1396 static inline uint32_t A4XX_RB_DEPTH_PITCH(uint32_t val) in A4XX_RB_DEPTH_PITCH() argument 1404 static inline uint32_t A4XX_RB_DEPTH_PITCH2(uint32_t val) in A4XX_RB_DEPTH_PITCH2() argument 1526 static inline uint32_t A4XX_RB_BIN_OFFSET_X(uint32_t val) in A4XX_RB_BIN_OFFSET_X() argument 4297 static inline uint32_t A4XX_SSBO_0_0_BASE(uint32_t val) in A4XX_SSBO_0_0_BASE() argument 4321 static inline uint32_t A4XX_SSBO_0_3_CPP(uint32_t val) in A4XX_SSBO_0_3_CPP() argument [all …]
|
H A D | a5xx.xml.h | 3125 static inline uint32_t A5XX_RB_CNTL_WIDTH(uint32_t val) in A5XX_RB_CNTL_WIDTH() argument 3131 static inline uint32_t A5XX_RB_CNTL_HEIGHT(uint32_t val) in A5XX_RB_CNTL_HEIGHT() argument 3338 static inline uint32_t A5XX_RB_MRT_PITCH(uint32_t val) in A5XX_RB_MRT_PITCH() argument 3378 static inline uint32_t A5XX_RB_BLEND_RED_F32(float val) in A5XX_RB_BLEND_RED_F32() argument 3434 static inline uint32_t A5XX_RB_BLEND_BLUE_F32(float val) in A5XX_RB_BLEND_BLUE_F32() argument 5416 static inline uint32_t A5XX_SSBO_0_1_PITCH(uint32_t val) in A5XX_SSBO_0_1_PITCH() argument 5432 static inline uint32_t A5XX_SSBO_0_3_CPP(uint32_t val) in A5XX_SSBO_0_3_CPP() argument 5446 static inline uint32_t A5XX_SSBO_1_0_WIDTH(uint32_t val) in A5XX_SSBO_1_0_WIDTH() argument 5460 static inline uint32_t A5XX_SSBO_1_1_DEPTH(uint32_t val) in A5XX_SSBO_1_1_DEPTH() argument 5484 static inline uint32_t A5XX_UBO_0_BASE_LO(uint32_t val) in A5XX_UBO_0_BASE_LO() argument [all …]
|
H A D | a2xx.xml.h | 1849 static inline uint32_t A2XX_PA_CL_VPORT_XSCALE(float val) in A2XX_PA_CL_VPORT_XSCALE() argument 1857 static inline uint32_t A2XX_PA_CL_VPORT_XOFFSET(float val) in A2XX_PA_CL_VPORT_XOFFSET() argument 1865 static inline uint32_t A2XX_PA_CL_VPORT_YSCALE(float val) in A2XX_PA_CL_VPORT_YSCALE() argument 1873 static inline uint32_t A2XX_PA_CL_VPORT_YOFFSET(float val) in A2XX_PA_CL_VPORT_YOFFSET() argument 1881 static inline uint32_t A2XX_PA_CL_VPORT_ZSCALE(float val) in A2XX_PA_CL_VPORT_ZSCALE() argument 2409 static inline uint32_t A2XX_CLEAR_COLOR_RED(uint32_t val) in A2XX_CLEAR_COLOR_RED() argument 3028 static inline uint32_t A2XX_SQ_TEX_0_PITCH(uint32_t val) in A2XX_SQ_TEX_0_PITCH() argument 3070 static inline uint32_t A2XX_SQ_TEX_2_WIDTH(uint32_t val) in A2XX_SQ_TEX_2_WIDTH() argument 3076 static inline uint32_t A2XX_SQ_TEX_2_HEIGHT(uint32_t val) in A2XX_SQ_TEX_2_HEIGHT() argument 3082 static inline uint32_t A2XX_SQ_TEX_2_DEPTH(uint32_t val) in A2XX_SQ_TEX_2_DEPTH() argument [all …]
|
H A D | adreno_common.xml.h | 230 static inline uint32_t AXXX_CP_RB_CNTL_BUFSZ(uint32_t val) in AXXX_CP_RB_CNTL_BUFSZ() argument 236 static inline uint32_t AXXX_CP_RB_CNTL_BLKSZ(uint32_t val) in AXXX_CP_RB_CNTL_BLKSZ() argument 311 static inline uint32_t AXXX_CP_CSQ_AVAIL_RING(uint32_t val) in AXXX_CP_CSQ_AVAIL_RING() argument 317 static inline uint32_t AXXX_CP_CSQ_AVAIL_IB1(uint32_t val) in AXXX_CP_CSQ_AVAIL_IB1() argument 323 static inline uint32_t AXXX_CP_CSQ_AVAIL_IB2(uint32_t val) in AXXX_CP_CSQ_AVAIL_IB2() argument 331 static inline uint32_t AXXX_CP_STQ_AVAIL_ST(uint32_t val) in AXXX_CP_STQ_AVAIL_ST() argument 339 static inline uint32_t AXXX_CP_MEQ_AVAIL_MEQ(uint32_t val) in AXXX_CP_MEQ_AVAIL_MEQ() argument 347 static inline uint32_t AXXX_SCRATCH_UMSK_UMSK(uint32_t val) in AXXX_SCRATCH_UMSK_UMSK() argument 476 static inline uint32_t AXXX_CP_STAT_CP_BUSY(uint32_t val) in AXXX_CP_STAT_CP_BUSY() argument 506 static inline uint32_t AXXX_CP_STAT_ME_BUSY(uint32_t val) in AXXX_CP_STAT_ME_BUSY() argument [all …]
|
/openbmc/qemu/target/hppa/ |
H A D | gdbstub.c | 33 uint32_t val; in hppa_cpu_gdb_read_register() local 40 val = env->gr[n]; in hppa_cpu_gdb_read_register() 46 val = env->iaoq_f; in hppa_cpu_gdb_read_register() 52 val = env->iaoq_b; in hppa_cpu_gdb_read_register() 115 val = env->cr[24]; in hppa_cpu_gdb_read_register() 118 val = env->cr[25]; in hppa_cpu_gdb_read_register() 121 val = env->cr[26]; in hppa_cpu_gdb_read_register() 140 val = 0; in hppa_cpu_gdb_read_register() 160 env->gr[n] = val; in hppa_cpu_gdb_write_register() 167 val |= PRIV_USER; in hppa_cpu_gdb_write_register() [all …]
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | mv88e61xx.c | 224 int val; in mv88e61xx_smi_wait() local 229 if (val >= 0 && (val & SMI_BUSY) == 0) in mv88e61xx_smi_wait() 302 val); in mv88e61xx_reg_write() 332 int val; in mv88e61xx_phy_wait() local 338 if (val >= 0 && (val & SMI_BUSY) == 0) in mv88e61xx_phy_wait() 519 int val; in mv88e61xx_switch_reset() local 564 int val; in mv88e61xx_serdes_init() local 584 int val; in mv88e61xx_port_enable() local 602 int val; in mv88e61xx_port_set_vlan() local 632 int val; in mv88e61xx_read_port_config() local [all …]
|
/openbmc/linux/drivers/phy/ |
H A D | phy-xgene.c | 785 val = CMU_REG1_PLL_CP_SET(val, 0x1); in xgene_phy_sata_cfg_cmu_core() 843 val = CMU_REG5_PLL_LFCAP_SET(val, 0x3); in xgene_phy_sata_cfg_cmu_core() 926 val = CMU_REG36_PLL_SSC_EN_SET(val, 1); in xgene_phy_ssc_enable() 959 val = RXTX_REG1_CTLE_EQ_SET(val, in xgene_phy_sata_cfg_lanes() 987 val = RXTX_REG5_TX_CN1_SET(val, in xgene_phy_sata_cfg_lanes() 990 val = RXTX_REG5_TX_CP1_SET(val, in xgene_phy_sata_cfg_lanes() 993 val = RXTX_REG5_TX_CN2_SET(val, in xgene_phy_sata_cfg_lanes() 1000 val = RXTX_REG6_TXAMP_CNTL_SET(val, in xgene_phy_sata_cfg_lanes() 1095 val = RXTX_REG125_SIGN_PQ_SET(val, in xgene_phy_sata_cfg_lanes() 1098 val = RXTX_REG125_PQ_REG_SET(val, in xgene_phy_sata_cfg_lanes() [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() argument 158 static inline uint32_t DSI_6G_HW_VERSION_STEP(uint32_t val) in DSI_6G_HW_VERSION_STEP() argument 250 static inline uint32_t DSI_ACTIVE_H_START(uint32_t val) in DSI_ACTIVE_H_START() argument 256 static inline uint32_t DSI_ACTIVE_H_END(uint32_t val) in DSI_ACTIVE_H_END() argument 264 static inline uint32_t DSI_ACTIVE_V_START(uint32_t val) in DSI_ACTIVE_V_START() argument 270 static inline uint32_t DSI_ACTIVE_V_END(uint32_t val) in DSI_ACTIVE_V_END() argument 278 static inline uint32_t DSI_TOTAL_H_TOTAL(uint32_t val) in DSI_TOTAL_H_TOTAL() argument 284 static inline uint32_t DSI_TOTAL_V_TOTAL(uint32_t val) in DSI_TOTAL_V_TOTAL() argument 298 static inline uint32_t DSI_ACTIVE_HSYNC_END(uint32_t val) in DSI_ACTIVE_HSYNC_END() argument 467 static inline uint32_t DSI_TRIG_CTRL_STREAM(uint32_t val) in DSI_TRIG_CTRL_STREAM() argument [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | fw.h | 1630 le32p_replace_bits((__le32 *)h2c, val, BIT(8)); in SET_JOININFO_OP() 1635 le32p_replace_bits((__le32 *)h2c, val, BIT(9)); in SET_JOININFO_BAND() 1740 le32p_replace_bits((__le32 *)h2c, val, BIT(0)); in SET_BA_CAM_VALID() 1745 le32p_replace_bits((__le32 *)h2c, val, BIT(1)); in SET_BA_CAM_INIT_REQ() 1920 le32p_replace_bits((__le32 *)h2c, val, BIT(0)); in RTW89_SET_DISCONNECT_DETECT_ENABLE() 1925 le32p_replace_bits((__le32 *)h2c, val, BIT(1)); in RTW89_SET_DISCONNECT_DETECT_TRYOK_BCNFAIL_COUNT_EN() 2755 *((__le32 *)cmd + 1) = val; in RTW89_SET_FWCMD_NOA_START_TIME() 2760 *((__le32 *)cmd + 2) = val; in RTW89_SET_FWCMD_NOA_INTERVAL() 2765 *((__le32 *)cmd + 3) = val; in RTW89_SET_FWCMD_NOA_DURATION() 2777 if (!(val & IEEE80211_P2P_OPPPS_ENABLE_BIT)) in RTW89_SET_FWCMD_NOA_CTWINDOW() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | expr.y | 135 RESULT.val = LHS.val OP RHS.val; \ 162 $$.val = $5.val; 172 $$.val = $1.val; 176 } else if ($1.val == $5.val) { 181 $$.val = $1.val; 302 $$.val = $1.val / $3.val; 317 $$.val = (long)$1.val % (long)$3.val; 338 $$.val = $3.val / $5.val; 347 $$.val = -$2.val; 357 $$.val = $3.val < $5.val ? $3.val : $5.val; [all …]
|
/openbmc/linux/arch/mips/pci/ |
H A D | pci-bcm63xx.c | 123 u32 val; in bcm63xx_reset_pcie() local 132 val = bcm_misc_readl(reg); in bcm63xx_reset_pcie() 134 bcm_misc_writel(val, reg); in bcm63xx_reset_pcie() 152 u32 val; in bcm63xx_register_pcie() local 165 val |= OPT1_RD_BE_OPT_EN; in bcm63xx_register_pcie() 178 val |= OPT2_TX_CREDIT_CHK_EN; in bcm63xx_register_pcie() 183 val |= OPT2_CFG_TYPE1_BD_SEL; in bcm63xx_register_pcie() 200 val |= BASEMASK_REMAP_EN; in bcm63xx_register_pcie() 214 u32 val; in bcm63xx_register_pci() local 272 val = 0; in bcm63xx_register_pci() [all …]
|
/openbmc/u-boot/arch/mips/include/asm/ |
H A D | mipsregs.h | 1097 #define write_c0_index(val) __write_32bit_c0_register($0, 0, val) argument 1115 #define write_c0_conf(val) __write_32bit_c0_register($3, 0, val) argument 1130 #define write_c0_wired(val) __write_32bit_c0_register($6, 0, val) argument 1135 #define write_c0_cache(val) __write_32bit_c0_register($7, 0, val) argument 1141 #define write_c0_count(val) __write_32bit_c0_register($9, 0, val) argument 1169 #define write_c0_epc(val) __write_ulong_c0_register($14, 0, val) argument 1195 #define write_c0_maar(val) __write_ulong_c0_register($17, 1, val) argument 1250 #define write_c0_diag(val) __write_32bit_c0_register($22, 0, val) argument 1275 #define write_c0_depc(val) __write_ulong_c0_register($24, 0, val) argument 1306 #define write_c0_ecc(val) __write_32bit_c0_register($26, 0, val) argument [all …]
|
/openbmc/qemu/util/ |
H A D | lockcnt.c | 119 val = qatomic_cmpxchg(&lockcnt->count, val, in qemu_lockcnt_inc() 162 val = qatomic_cmpxchg(&lockcnt->count, val, in qemu_lockcnt_dec_and_lock() 246 while (!qemu_lockcnt_cmpxchg_or_wait(lockcnt, &val, val + step, &waited)) { in qemu_lockcnt_lock() 262 expected = val; in qemu_lockcnt_inc_and_unlock() 265 val = qatomic_cmpxchg(&lockcnt->count, val, new); in qemu_lockcnt_inc_and_unlock() 280 expected = val; in qemu_lockcnt_unlock() 283 val = qatomic_cmpxchg(&lockcnt->count, val, new); in qemu_lockcnt_unlock() 337 while (val > 1) { in qemu_lockcnt_dec_and_lock() 338 int old = qatomic_cmpxchg(&lockcnt->count, val, val - 1); in qemu_lockcnt_dec_and_lock() 340 val = old; in qemu_lockcnt_dec_and_lock() [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_u32_parse.h | 48 f->val.tos = (ntohl(val) >> 16) & 0x000000FF; in cxgb4_fill_ipv4_tos() 88 memcpy(&f->val.fip[0], &val, sizeof(u32)); in cxgb4_fill_ipv4_src_ip() 97 memcpy(&f->val.lip[0], &val, sizeof(u32)); in cxgb4_fill_ipv4_dst_ip() 134 memcpy(&f->val.fip[0], &val, sizeof(u32)); in cxgb4_fill_ipv6_src_ip0() 143 memcpy(&f->val.fip[4], &val, sizeof(u32)); in cxgb4_fill_ipv6_src_ip1() 152 memcpy(&f->val.fip[8], &val, sizeof(u32)); in cxgb4_fill_ipv6_src_ip2() 170 memcpy(&f->val.lip[0], &val, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip0() 179 memcpy(&f->val.lip[4], &val, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip1() 188 memcpy(&f->val.lip[8], &val, sizeof(u32)); in cxgb4_fill_ipv6_dst_ip2() 221 f->val.fport = ntohl(val) >> 16; in cxgb4_fill_l4_ports() [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | mipsregs.h | 1655 #define write_c0_index(val) __write_32bit_c0_register($0, 0, val) argument 1673 #define write_c0_conf(val) __write_32bit_c0_register($3, 0, val) argument 1699 #define write_c0_wired(val) __write_32bit_c0_register($6, 0, val) argument 1704 #define write_c0_cache(val) __write_32bit_c0_register($7, 0, val) argument 1713 #define write_c0_count(val) __write_32bit_c0_register($9, 0, val) argument 1747 #define write_c0_epc(val) __write_ulong_c0_register($14, 0, val) argument 1773 #define write_c0_maar(val) __write_ulong_c0_register($17, 1, val) argument 1830 #define write_c0_diag(val) __write_32bit_c0_register($22, 0, val) argument 1855 #define write_c0_depc(val) __write_ulong_c0_register($24, 0, val) argument 1886 #define write_c0_ecc(val) __write_32bit_c0_register($26, 0, val) argument [all …]
|
/openbmc/u-boot/drivers/usb/phy/ |
H A D | omap_usb_phy.c | 68 u32 val; in omap_usb_dpll_relock() local 73 if (val & PLL_LOCK) in omap_usb_dpll_relock() 81 u32 val; in omap_usb_dpll_lock() local 108 val &= ~PLL_SD_MASK; in omap_usb_dpll_lock() 118 u32 val; in usb3_phy_partial_powerup() local 130 u32 val; in usb_phy_power() local 157 u32 val; in omap_enable_usb3_phy() local 192 u32 reg, val; in omap_enable_usb2_phy2() local 206 val = readl(reg); in omap_enable_usb2_phy2() 207 val |= 0x100; in omap_enable_usb2_phy2() [all …]
|