Home
last modified time | relevance | path

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

123

/linux-5.19.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 …]
/linux-5.19.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 …]
/linux-5.19.10/arch/arm64/include/asm/
Dbarrier.h189 __unqual_scalar_typeof(*ptr) VAL; \
191 VAL = READ_ONCE(*__PTR); \
194 __cmpwait_relaxed(__PTR, VAL); \
196 (typeof(*ptr))VAL; \
202 __unqual_scalar_typeof(*ptr) VAL; \
204 VAL = smp_load_acquire(__PTR); \
207 __cmpwait_relaxed(__PTR, VAL); \
209 (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);\
/linux-5.19.10/tools/include/uapi/linux/
Dbtf.h91 #define BTF_INT_ENCODING(VAL) (((VAL) & 0x0f000000) >> 24) argument
92 #define BTF_INT_OFFSET(VAL) (((VAL) & 0x00ff0000) >> 16) argument
93 #define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff) argument
/linux-5.19.10/include/uapi/linux/
Dbtf.h91 #define BTF_INT_ENCODING(VAL) (((VAL) & 0x0f000000) >> 24) argument
92 #define BTF_INT_OFFSET(VAL) (((VAL) & 0x00ff0000) >> 16) argument
93 #define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff) argument
/linux-5.19.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()
Dit8712f_wdt.c57 #define VAL 0x2f /* The value to read/write */ macro
95 return inb(VAL); in superio_inb()
101 outb(val, VAL); in superio_outb()
108 val = inb(VAL) << 8; in superio_inw()
110 val |= inb(VAL); in superio_inw()
117 outb(ldn, VAL); in superio_select()
138 outb(0x02, VAL); in superio_exit()
/linux-5.19.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
Dqlcnic_83xx_hw.h405 #define QLC_83XX_GET_FUNC_PRIVILEGE(VAL, FN) (0x3 & ((VAL) >> (FN * 2))) argument
406 #define QLC_83XX_SET_FUNC_OPMODE(VAL, FN) ((VAL) << (FN * 2)) argument
/linux-5.19.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));\
/linux-5.19.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
/linux-5.19.10/kernel/locking/
Dqrwlock.c33 atomic_cond_read_acquire(&lock->cnts, !(VAL & _QW_LOCKED)); in queued_read_lock_slowpath()
51 atomic_cond_read_acquire(&lock->cnts, !(VAL & _QW_LOCKED)); in queued_read_lock_slowpath()
85 cnts = atomic_cond_read_relaxed(&lock->cnts, VAL == _QW_WAITING); in queued_write_lock_slowpath()
Dqspinlock.c339 (VAL != _Q_PENDING_VAL) || !cnt--); in queued_spin_lock_slowpath()
383 atomic_cond_read_acquire(&lock->val, !(VAL & _Q_LOCKED_MASK)); in queued_spin_lock_slowpath()
514 val = atomic_cond_read_acquire(&lock->val, !(VAL & _Q_LOCKED_PENDING_MASK)); in queued_spin_lock_slowpath()
554 next = smp_cond_load_relaxed(&node->next, (VAL)); in queued_spin_lock_slowpath()
/linux-5.19.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
/linux-5.19.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()
/linux-5.19.10/drivers/staging/rtl8723bs/hal/
DHalPhyRf_8723B.c19 #define VAL 1 macro
971 …pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC94][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_X… in _PHY_PathAFillIQKMatrix8723B()
975 …pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC80][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_X… in _PHY_PathAFillIQKMatrix8723B()
979 …pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC4C][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_E… in _PHY_PathAFillIQKMatrix8723B()
984 …pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xCA0][VAL] = 0xfffffff & PHY_QueryBBReg(pDM_Odm->Adapt… in _PHY_PathAFillIQKMatrix8723B()
987 pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xC14][VAL] = 0x40000100; in _PHY_PathAFillIQKMatrix8723B()
998 …pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xC14][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_X… in _PHY_PathAFillIQKMatrix8723B()
1003 …pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xCA0][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_R… in _PHY_PathAFillIQKMatrix8723B()
1049 …pRFCalibrateInfo->TxIQC_8723B[PATH_S0][IDX_0xC94][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_X… in _PHY_PathBFillIQKMatrix8723B()
1053 …pRFCalibrateInfo->TxIQC_8723B[PATH_S0][IDX_0xC80][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_X… in _PHY_PathBFillIQKMatrix8723B()
[all …]
/linux-5.19.10/tools/testing/selftests/sysctl/
Dsysctl.sh133 VAL=""
137 VAL="60"
140 VAL="1"
143 VAL="314"
146 VAL="(none)"
149 VAL=""
154 echo -n $VAL > $TARGET
/linux-5.19.10/include/asm-generic/
Dbarrier.h242 __unqual_scalar_typeof(*ptr) VAL; \
244 VAL = READ_ONCE(*__PTR); \
249 (typeof(*ptr))VAL; \
/linux-5.19.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)
Daha152x.h289 #define SETPORT(PORT, VAL) outb( (VAL), (PORT) ) argument
/linux-5.19.10/drivers/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
/linux-5.19.10/include/linux/
Ddma-mapping.h587 #define dma_unmap_addr_set(PTR, ADDR_NAME, VAL) (((PTR)->ADDR_NAME) = (VAL)) argument
589 #define dma_unmap_len_set(PTR, LEN_NAME, VAL) (((PTR)->LEN_NAME) = (VAL)) argument
594 #define dma_unmap_addr_set(PTR, ADDR_NAME, VAL) do { } while (0) argument
596 #define dma_unmap_len_set(PTR, LEN_NAME, VAL) do { } while (0) argument
/linux-5.19.10/drivers/hwmon/
Dsmsc47b397.c42 #define VAL 0x2f /* The value to read/write */ macro
47 outb(val, VAL); in superio_outb()
53 return inb(VAL); in superio_inb()
/linux-5.19.10/drivers/net/ethernet/freescale/fs_enet/
Dmii-fec.c47 #define mk_mii_write(REG, VAL) (0x50020000 | ((REG & 0x1f) << 18) | (VAL & 0xffff)) argument

123