Home
last modified time | relevance | path

Searched refs:VAL (Results 1 – 25 of 77) sorted by relevance

1234

/kernel/linux/linux-5.10/arch/arm64/kernel/
Dhw_breakpoint.c59 #define READ_WB_REG_CASE(OFF, N, REG, VAL) \ argument
61 AARCH64_DBG_READ(N, REG, VAL); \
64 #define WRITE_WB_REG_CASE(OFF, N, REG, VAL) \ argument
66 AARCH64_DBG_WRITE(N, REG, VAL); \
69 #define GEN_READ_WB_REG_CASES(OFF, REG, VAL) \ argument
70 READ_WB_REG_CASE(OFF, 0, REG, VAL); \
71 READ_WB_REG_CASE(OFF, 1, REG, VAL); \
72 READ_WB_REG_CASE(OFF, 2, REG, VAL); \
73 READ_WB_REG_CASE(OFF, 3, REG, VAL); \
74 READ_WB_REG_CASE(OFF, 4, REG, VAL); \
[all …]
/kernel/linux/linux-5.10/arch/arm/kernel/
Dhw_breakpoint.c48 #define READ_WB_REG_CASE(OP2, M, VAL) \ argument
50 ARM_DBG_READ(c0, c ## M, OP2, VAL); \
53 #define WRITE_WB_REG_CASE(OP2, M, VAL) \ argument
55 ARM_DBG_WRITE(c0, c ## M, OP2, VAL); \
58 #define GEN_READ_WB_REG_CASES(OP2, VAL) \ argument
59 READ_WB_REG_CASE(OP2, 0, VAL); \
60 READ_WB_REG_CASE(OP2, 1, VAL); \
61 READ_WB_REG_CASE(OP2, 2, VAL); \
62 READ_WB_REG_CASE(OP2, 3, VAL); \
63 READ_WB_REG_CASE(OP2, 4, VAL); \
[all …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dbtf.h51 #define BTF_INT_ENCODING(VAL) (((VAL) & 0x0f000000) >> 24) argument
52 #define BTF_INT_OFFSET(VAL) (((VAL & 0x00ff0000)) >> 16) argument
53 #define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff) argument
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dbarrier.h165 __unqual_scalar_typeof(*ptr) VAL; \
167 VAL = READ_ONCE(*__PTR); \
170 __cmpwait_relaxed(__PTR, VAL); \
172 (typeof(*ptr))VAL; \
178 __unqual_scalar_typeof(*ptr) VAL; \
180 VAL = smp_load_acquire(__PTR); \
183 __cmpwait_relaxed(__PTR, VAL); \
185 (typeof(*ptr))VAL; \
Dhw_breakpoint.h99 #define AARCH64_DBG_READ(N, REG, VAL) do {\ argument
100 VAL = read_sysreg(dbg##REG##N##_el1);\
103 #define AARCH64_DBG_WRITE(N, REG, VAL) do {\ argument
104 write_sysreg(VAL, dbg##REG##N##_el1);\
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbtf.h66 #define BTF_INT_ENCODING(VAL) (((VAL) & 0x0f000000) >> 24) argument
67 #define BTF_INT_OFFSET(VAL) (((VAL) & 0x00ff0000) >> 16) argument
68 #define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff) argument
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dbtf.h85 #define BTF_INT_ENCODING(VAL) (((VAL) & 0x0f000000) >> 24) argument
86 #define BTF_INT_OFFSET(VAL) (((VAL) & 0x00ff0000) >> 16) argument
87 #define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff) argument
/kernel/linux/linux-5.10/include/uapi/linux/
Dbtf.h85 #define BTF_INT_ENCODING(VAL) (((VAL) & 0x0f000000) >> 24) argument
86 #define BTF_INT_OFFSET(VAL) (((VAL) & 0x00ff0000) >> 16) argument
87 #define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff) argument
/kernel/linux/linux-5.10/drivers/watchdog/
Dit87_wdt.c40 #define VAL 0x2f macro
123 outb(0x02, VAL); in superio_exit()
130 outb(ldn, VAL); in superio_select()
136 return inb(VAL); in superio_inb()
142 outb(val, VAL); in superio_outb()
149 val = inb(VAL) << 8; in superio_inw()
151 val |= inb(VAL); in superio_inw()
158 outb(val >> 8, VAL); in superio_outw()
160 outb(val, VAL); in superio_outw()
Dit8712f_wdt.c58 #define VAL 0x2f /* The value to read/write */ macro
96 return inb(VAL); in superio_inb()
102 outb(val, VAL); in superio_outb()
109 val = inb(VAL) << 8; in superio_inw()
111 val |= inb(VAL); in superio_inw()
118 outb(ldn, VAL); in superio_select()
139 outb(0x02, VAL); in superio_exit()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hdr.h641 #define QLC_DEV_SET_REF_CNT(VAL, FN) ((VAL) |= (1 << (FN * 4))) argument
642 #define QLC_DEV_CLR_REF_CNT(VAL, FN) ((VAL) &= ~(1 << (FN * 4))) argument
643 #define QLC_DEV_SET_RST_RDY(VAL, FN) ((VAL) |= (1 << (FN * 4))) argument
644 #define QLC_DEV_SET_QSCNT_RDY(VAL, FN) ((VAL) |= (2 << (FN * 4))) argument
645 #define QLC_DEV_CLR_RST_QSCNT(VAL, FN) ((VAL) &= ~(3 << (FN * 4))) argument
647 #define QLC_DEV_GET_DRV(VAL, FN) (0xf & ((VAL) >> (FN * 4))) argument
648 #define QLC_DEV_SET_DRV(VAL, FN) ((VAL) << (FN * 4)) argument
678 #define ISR_LEGACY_INT_TRIGGERED(VAL) (((VAL) & 0x300) == 0x200) argument
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-it87.c38 #define VAL 0x2f macro
95 outb(0x02, VAL); in superio_exit()
102 outb(ldn, VAL); in superio_select()
108 return inb(VAL); in superio_inb()
114 outb(val, VAL); in superio_outb()
122 val = inb(VAL) << 8; in superio_inw()
124 val |= inb(VAL); in superio_inw()
131 outb(val >> 8, VAL); in superio_outw()
133 outb(val, VAL); in superio_outw()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dbarrier.h88 __unqual_scalar_typeof(*ptr) VAL; \
89 VAL = READ_ONCE(*__PTR); \
93 VAL = READ_ONCE(*__PTR); \
97 (typeof(*ptr))VAL; \
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dhw_breakpoint.h109 #define ARM_DBG_READ(N, M, OP2, VAL) do {\ argument
110 asm volatile("mrc p14, 0, %0, " #N "," #M ", " #OP2 : "=r" (VAL));\
113 #define ARM_DBG_WRITE(N, M, OP2, VAL) do {\ argument
114 asm volatile("mcr p14, 0, %0, " #N "," #M ", " #OP2 : : "r" (VAL));\
/kernel/linux/linux-5.10/kernel/locking/
Dqrwlock.c33 atomic_cond_read_acquire(&lock->cnts, !(VAL & _QW_LOCKED)); in queued_read_lock_slowpath()
49 atomic_cond_read_acquire(&lock->cnts, !(VAL & _QW_LOCKED)); in queued_read_lock_slowpath()
79 cnts = atomic_cond_read_relaxed(&lock->cnts, VAL == _QW_WAITING); in queued_write_lock_slowpath()
Dqspinlock.c338 (VAL != _Q_PENDING_VAL) || !cnt--); in queued_spin_lock_slowpath()
382 atomic_cond_read_acquire(&lock->val, !(VAL & _Q_LOCKED_MASK)); in queued_spin_lock_slowpath()
511 val = atomic_cond_read_acquire(&lock->val, !(VAL & _Q_LOCKED_PENDING_MASK)); in queued_spin_lock_slowpath()
551 next = smp_cond_load_relaxed(&node->next, (VAL)); in queued_spin_lock_slowpath()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hdr.h950 #define NETXEN_DIMM_MEMTYPE(VAL) ((VAL >> 3) & 0xf) argument
951 #define NETXEN_DIMM_NUMROWS(VAL) ((VAL >> 7) & 0xf) argument
952 #define NETXEN_DIMM_NUMCOLS(VAL) ((VAL >> 11) & 0xf) argument
953 #define NETXEN_DIMM_NUMRANKS(VAL) ((VAL >> 15) & 0x3) argument
954 #define NETXEN_DIMM_DATAWIDTH(VAL) ((VAL >> 18) & 0x3) argument
955 #define NETXEN_DIMM_NUMBANKS(VAL) ((VAL >> 21) & 0xf) argument
956 #define NETXEN_DIMM_TYPE(VAL) ((VAL >> 25) & 0x3f) argument
991 #define ISR_LEGACY_INT_TRIGGERED(VAL) (((VAL) & 0x300) == 0x200) argument
/kernel/liteos_m/arch/csky/v2/gcc/
Dlos_timer.c41 UINT32 VAL; member
91 SysTick->VAL = 0; in SysTickStart()
113 SysTick->VAL = 0UL; /* Load the SysTick Counter Value */ in SysTickReload()
123 hwCycle = *period - SysTick->VAL; in SysTickCycleGet()
/kernel/linux/linux-5.10/tools/testing/selftests/ntb/
Dntb_test.sh266 VAL=$RANDOM
267 write_file "$VAL" "$LOC/spad$i"
270 if [[ "$VAL" -ne "$RVAL" ]]; then
271 echo "Scratchpad $i value $RVAL doesn't match $VAL" >&2
300 VAL=$RANDOM
301 write_file "$VAL" "$LOC/msg$i"
304 if [[ "$VAL" -ne "${RVAL%%<-*}" ]]; then
305 echo "Message $i value $RVAL doesn't match $VAL" >&2
/kernel/linux/linux-5.10/tools/testing/selftests/sysctl/
Dsysctl.sh132 VAL=""
136 VAL="60"
139 VAL="1"
142 VAL="314"
145 VAL="(none)"
148 VAL=""
153 echo -n $VAL > $TARGET
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
DHalPhyRf_8723B.c26 #define VAL 1 macro
1125 …pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC94][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_X… in _PHY_PathAFillIQKMatrix8723B()
1129 …pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC80][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_X… in _PHY_PathAFillIQKMatrix8723B()
1133 …pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC4C][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_E… in _PHY_PathAFillIQKMatrix8723B()
1140 …pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xCA0][VAL] = 0xfffffff & PHY_QueryBBReg(pDM_Odm->Adapt… in _PHY_PathAFillIQKMatrix8723B()
1143 pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xC14][VAL] = 0x40000100; in _PHY_PathAFillIQKMatrix8723B()
1154 …pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xC14][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_X… in _PHY_PathAFillIQKMatrix8723B()
1159 …pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xCA0][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_R… in _PHY_PathAFillIQKMatrix8723B()
1209 …pRFCalibrateInfo->TxIQC_8723B[PATH_S0][IDX_0xC94][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_X… in _PHY_PathBFillIQKMatrix8723B()
1213 …pRFCalibrateInfo->TxIQC_8723B[PATH_S0][IDX_0xC80][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_X… in _PHY_PathBFillIQKMatrix8723B()
[all …]
/kernel/linux/linux-5.10/include/asm-generic/
Dbarrier.h216 __unqual_scalar_typeof(*ptr) VAL; \
218 VAL = READ_ONCE(*__PTR); \
223 (typeof(*ptr))VAL; \
/kernel/linux/linux-5.10/drivers/scsi/
Dsun3x_esp.c45 #define dma_write32(VAL, REG) \
46 writel((VAL), esp->dma_regs + (REG))
50 #define dma_write32(VAL, REG) \ argument
51 do { *(volatile u32 *)(esp->dma_regs + (REG)) = (VAL); } while (0)
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Ds626.h447 #define S626_I2C_B2(ATTR, VAL) (((ATTR) << 6) | ((VAL) << 24)) argument
448 #define S626_I2C_B1(ATTR, VAL) (((ATTR) << 4) | ((VAL) << 16)) argument
449 #define S626_I2C_B0(ATTR, VAL) (((ATTR) << 2) | ((VAL) << 8)) argument
/kernel/liteos_m/arch/arm/cortex-m7/gcc/
Dlos_timer.c86 SysTick->VAL = 0UL; /* Load the SysTick Counter Value */ in SysTickReload()
96 UINT32 val = SysTick->VAL; in SysTickCycleGet()

1234