Home
last modified time | relevance | path

Searched refs:_v (Results 1 – 25 of 65) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
Deeprom.h75 #define AR5K_EEPROM_HDR_11A(_v) (((_v) >> AR5K_EEPROM_MODE_11A) & 0x1) argument
76 #define AR5K_EEPROM_HDR_11B(_v) (((_v) >> AR5K_EEPROM_MODE_11B) & 0x1) argument
77 #define AR5K_EEPROM_HDR_11G(_v) (((_v) >> AR5K_EEPROM_MODE_11G) & 0x1) argument
78 #define AR5K_EEPROM_HDR_T_2GHZ_DIS(_v) (((_v) >> 3) & 0x1) /* Disable turbo for 2GHz */ argument
79 #define AR5K_EEPROM_HDR_T_5GHZ_DBM(_v) (((_v) >> 4) & 0x7f) /* Max turbo power for < 2W power consu… argument
80 #define AR5K_EEPROM_HDR_DEVICE(_v) (((_v) >> 11) & 0x7) /* Device type (1 Cardbus, 2 PCI, 3 MiniPCI… argument
81 #define AR5K_EEPROM_HDR_RFKILL(_v) (((_v) >> 14) & 0x1) /* Device has RFKill support */ argument
82 #define AR5K_EEPROM_HDR_T_5GHZ_DIS(_v) (((_v) >> 15) & 0x1) /* Disable turbo for 5GHz */ argument
85 #define AR5K_EEPROM_OFF(_v, _v3_0, _v3_3) \ argument
86 (((_v) >= AR5K_EEPROM_VERSION_3_3) ? _v3_3 : _v3_0)
[all …]
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfi_reg.h37 #define __APP_PLL_LCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_LCLK_RESET_TIMER_SH) argument
41 #define __APP_PLL_LCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_LCLK_CNTLMT0_1_SH) argument
44 #define __APP_PLL_LCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_LCLK_JITLMT0_1_SH) argument
49 #define __APP_PLL_LCLK_P0_1(_v) ((_v) << __APP_PLL_LCLK_P0_1_SH) argument
52 #define __APP_PLL_LCLK_Z0_2(_v) ((_v) << __APP_PLL_LCLK_Z0_2_SH) argument
62 #define __APP_PLL_SCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_SCLK_RESET_TIMER_SH) argument
66 #define __APP_PLL_SCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_SCLK_CNTLMT0_1_SH) argument
69 #define __APP_PLL_SCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_SCLK_JITLMT0_1_SH) argument
74 #define __APP_PLL_SCLK_P0_1(_v) ((_v) << __APP_PLL_SCLK_P0_1_SH) argument
77 #define __APP_PLL_SCLK_Z0_2(_v) ((_v) << __APP_PLL_SCLK_Z0_2_SH) argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbfi_reg.h38 #define __APP_PLL_LCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_LCLK_RESET_TIMER_SH) argument
42 #define __APP_PLL_LCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_LCLK_CNTLMT0_1_SH) argument
45 #define __APP_PLL_LCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_LCLK_JITLMT0_1_SH) argument
50 #define __APP_PLL_LCLK_P0_1(_v) ((_v) << __APP_PLL_LCLK_P0_1_SH) argument
53 #define __APP_PLL_LCLK_Z0_2(_v) ((_v) << __APP_PLL_LCLK_Z0_2_SH) argument
63 #define __APP_PLL_SCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_SCLK_RESET_TIMER_SH) argument
67 #define __APP_PLL_SCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_SCLK_CNTLMT0_1_SH) argument
70 #define __APP_PLL_SCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_SCLK_JITLMT0_1_SH) argument
75 #define __APP_PLL_SCLK_P0_1(_v) ((_v) << __APP_PLL_SCLK_P0_1_SH) argument
78 #define __APP_PLL_SCLK_Z0_2(_v) ((_v) << __APP_PLL_SCLK_Z0_2_SH) argument
[all …]
/kernel/linux/linux-5.10/arch/ia64/include/uapi/asm/
Dintrinsics.h59 volatile __typeof__(*(v)) *_v = (v); \
62 IA64_FETCHADD(_tmp, _v, -16, sizeof(*(v)), sem); \
64 IA64_FETCHADD(_tmp, _v, -8, sizeof(*(v)), sem); \
66 IA64_FETCHADD(_tmp, _v, -4, sizeof(*(v)), sem); \
68 IA64_FETCHADD(_tmp, _v, -1, sizeof(*(v)), sem); \
70 IA64_FETCHADD(_tmp, _v, 1, sizeof(*(v)), sem); \
72 IA64_FETCHADD(_tmp, _v, 4, sizeof(*(v)), sem); \
74 IA64_FETCHADD(_tmp, _v, 8, sizeof(*(v)), sem); \
76 IA64_FETCHADD(_tmp, _v, 16, sizeof(*(v)), sem); \
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dpage.h144 #define __pa(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = 0; _v.l;})
145 #define __va(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = -1; _v.p;})
147 #define REGION_NUMBER(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg;})
148 #define REGION_OFFSET(x) ({ia64_va _v; _v.l = (long) (x); _v.f.off;})
/kernel/linux/linux-5.10/arch/s390/include/asm/
Datomic.h60 #define atomic_sub(_i, _v) atomic_add(-(int)(_i), _v) argument
61 #define atomic_sub_return(_i, _v) atomic_add_return(-(int)(_i), _v) argument
62 #define atomic_fetch_sub(_i, _v) atomic_fetch_add(-(int)(_i), _v) argument
154 #define atomic64_sub_return(_i, _v) atomic64_add_return(-(s64)(_i), _v) argument
155 #define atomic64_fetch_sub(_i, _v) atomic64_fetch_add(-(s64)(_i), _v) argument
156 #define atomic64_sub(_i, _v) atomic64_add(-(s64)(_i), _v) argument
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dvm_sockets.h35 #define VM_SOCKETS_VERSION_EPOCH(_v) (((_v) & 0xFF000000) >> 24) argument
36 #define VM_SOCKETS_VERSION_MAJOR(_v) (((_v) & 0x00FF0000) >> 16) argument
37 #define VM_SOCKETS_VERSION_MINOR(_v) (((_v) & 0x0000FFFF)) argument
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dvm_sockets.h22 #define VM_SOCKETS_VERSION_EPOCH(_v) (((_v) & 0xFF000000) >> 24) argument
23 #define VM_SOCKETS_VERSION_MAJOR(_v) (((_v) & 0x00FF0000) >> 16) argument
24 #define VM_SOCKETS_VERSION_MINOR(_v) (((_v) & 0x0000FFFF)) argument
/kernel/linux/linux-5.10/include/uapi/linux/
Dvm_sockets.h125 #define VM_SOCKETS_VERSION_EPOCH(_v) (((_v) & 0xFF000000) >> 24) argument
132 #define VM_SOCKETS_VERSION_MAJOR(_v) (((_v) & 0x00FF0000) >> 16) argument
138 #define VM_SOCKETS_VERSION_MINOR(_v) (((_v) & 0x0000FFFF)) argument
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dregs-decon7.h210 #define BLENDE_Q_FUNC(_v) ((_v) << 18) argument
211 #define BLENDE_P_FUNC(_v) ((_v) << 12) argument
212 #define BLENDE_B_FUNC(_v) ((_v) << 6) argument
213 #define BLENDE_A_FUNC(_v) ((_v) << 0) argument
258 #define VIDCON1_LINECNT_GET(_v) (((_v) >> 17) & 0x1fff) argument
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fs_enet/
Dmac-scc.c62 #define W32(_p, _m, _v) __fs_out32(&(_p)->_m, (_v)) argument
64 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) argument
65 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) argument
67 #define W16(_p, _m, _v) __fs_out16(&(_p)->_m, (_v)) argument
69 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v)) argument
70 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v)) argument
72 #define W8(_p, _m, _v) __fs_out8(&(_p)->_m, (_v)) argument
74 #define S8(_p, _m, _v) W8(_p, _m, R8(_p, _m) | (_v)) argument
75 #define C8(_p, _m, _v) W8(_p, _m, R8(_p, _m) & ~(_v)) argument
Dmac-fcc.c54 #define W32(_p, _m, _v) out_be32(&(_p)->_m, (_v)) argument
56 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) argument
57 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) argument
59 #define W16(_p, _m, _v) out_be16(&(_p)->_m, (_v)) argument
61 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v)) argument
62 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v)) argument
64 #define W8(_p, _m, _v) out_8(&(_p)->_m, (_v)) argument
66 #define S8(_p, _m, _v) W8(_p, _m, R8(_p, _m) | (_v)) argument
67 #define C8(_p, _m, _v) W8(_p, _m, R8(_p, _m) & ~(_v)) argument
/kernel/linux/linux-5.10/drivers/clk/x86/
Dclk-cgu.h207 _shift, _width, _cf, _v) \ argument
219 .mux_val = _v, \
223 _shift_gate, _width_gate, _cf, _v, _dtable) \ argument
240 .div_val = _v, \
245 _shift, _cf, _v) \ argument
259 .gate_val = _v, \
263 _shift, _width, _cf, _freq, _v) \ argument
278 .div_val = _v, \
283 _shift, _width, _cf, _v, _m, _d) \ argument
298 .div_val = _v, \
/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/
Dks8851.h104 #define TXSR_TXFID_GET(_v) (((_v) >> 0) & 0x3f) argument
208 #define RXFCTR_RXFC_GET(_v) (((_v) >> 8) & 0xff) argument
227 #define CIDER_REV_GET(_v) (((_v) >> 1) & 0x7) argument
253 #define PMECR_WKEVT_GET(_v) (((_v) >> 2) & 0xf) argument
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/
Darmada_crtc.h18 #define armada_reg_queue_mod(_r, _i, _v, _m, _o) \ argument
23 __reg[_i].val = _v; \
27 #define armada_reg_queue_set(_r, _i, _v, _o) \ argument
28 armada_reg_queue_mod(_r, _i, _v, ~0, _o)
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/
D8390p.c8 #define ei_outb(_v, _p) outb(_v, _p) argument
10 #define ei_outb_p(_v, _p) outb_p(_v, _p) argument
D8390.h156 #define ei_outb(_v, _p) outb(_v, _p) argument
158 #define ei_outb_p(_v, _p) outb(_v, _p) argument
Dxsurf100.c31 #define ei_outb(_v, _a) z_writeb(_v, ax_convert_addr(_a)) argument
34 #define ei_outw(_v, _a) z_writew(_v, ax_convert_addr(_a)) argument
37 #define ei_outb_p(_v, _a) ei_outb(_v, _a) argument
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/core/
Dos.h20 u64 _v = (v); \
21 iowrite32_native(lower_32_bits(_v), &_p[0]); \
22 iowrite32_native(upper_32_bits(_v), &_p[1]); \
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dsegment.h36 mm_segment_t _v; in get_fs() local
37 __asm__ ("movec %/dfc,%0":"=r" (_v.seg):); in get_fs()
38 return _v; in get_fs()
/kernel/linux/linux-5.10/include/soc/fsl/qe/
Dqe.h259 #define qe_setbits_be32(_addr, _v) qe_iowrite32be(qe_ioread32be(_addr) | (_v), (_addr)) argument
260 #define qe_clrbits_be32(_addr, _v) qe_iowrite32be(qe_ioread32be(_addr) & ~(_v), (_addr)) argument
262 #define qe_setbits_be16(_addr, _v) qe_iowrite16be(qe_ioread16be(_addr) | (_v), (_addr)) argument
263 #define qe_clrbits_be16(_addr, _v) qe_iowrite16be(qe_ioread16be(_addr) & ~(_v), (_addr)) argument
265 #define qe_setbits_8(_addr, _v) qe_iowrite8(qe_ioread8(_addr) | (_v), (_addr)) argument
266 #define qe_clrbits_8(_addr, _v) qe_iowrite8(qe_ioread8(_addr) & ~(_v), (_addr)) argument
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dhif_usb.h41 #define IS_AR7010_DEVICE(_v) (((_v) == AR9280_USB) || ((_v) == AR9287_USB)) argument
/kernel/linux/linux-5.10/arch/mips/include/asm/sn/
Dagent.h36 #define SET_MY_HUB_NIC(_v) \ argument
37 SET_HUB_NIC(cpuid(), (_v))
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-prph.h247 #define SCD_QUEUE_CTX_REG1_VAL(_n, _v) FIELD_PREP(SCD_QUEUE_CTX_REG1_ ## _n, _v) argument
251 #define SCD_QUEUE_CTX_REG2_VAL(_n, _v) FIELD_PREP(SCD_QUEUE_CTX_REG2_ ## _n, _v) argument
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dcsio_hw.h566 #define csio_wr_reg8(_h, _v, _r) writeb((_v), \ argument
568 #define csio_wr_reg16(_h, _v, _r) writew((_v), \ argument
570 #define csio_wr_reg32(_h, _v, _r) writel((_v), \ argument
572 #define csio_wr_reg64(_h, _v, _r) writeq((_v), \ argument

123