Searched refs:_v (Results 1 - 64 of 64) sorted by relevance

/linux-4.4.14/arch/s390/include/asm/
H A Datomic.h111 #define atomic_add_negative(_i, _v) (atomic_add_return(_i, _v) < 0)
112 #define atomic_inc(_v) atomic_add(1, _v)
113 #define atomic_inc_return(_v) atomic_add_return(1, _v)
114 #define atomic_inc_and_test(_v) (atomic_add_return(1, _v) == 0)
115 #define atomic_sub(_i, _v) atomic_add(-(int)(_i), _v)
116 #define atomic_sub_return(_i, _v) atomic_add_return(-(int)(_i), _v)
117 #define atomic_sub_and_test(_i, _v) (atomic_sub_return(_i, _v) == 0)
118 #define atomic_dec(_v) atomic_sub(1, _v)
119 #define atomic_dec_return(_v) atomic_sub_return(1, _v)
120 #define atomic_dec_and_test(_v) (atomic_sub_return(1, _v) == 0)
313 #define atomic64_add_negative(_i, _v) (atomic64_add_return(_i, _v) < 0)
314 #define atomic64_inc(_v) atomic64_add(1, _v)
315 #define atomic64_inc_return(_v) atomic64_add_return(1, _v)
316 #define atomic64_inc_and_test(_v) (atomic64_add_return(1, _v) == 0)
317 #define atomic64_sub_return(_i, _v) atomic64_add_return(-(long long)(_i), _v)
318 #define atomic64_sub(_i, _v) atomic64_add(-(long long)(_i), _v)
319 #define atomic64_sub_and_test(_i, _v) (atomic64_sub_return(_i, _v) == 0)
320 #define atomic64_dec(_v) atomic64_sub(1, _v)
321 #define atomic64_dec_return(_v) atomic64_sub_return(1, _v)
322 #define atomic64_dec_and_test(_v) (atomic64_sub_return(1, _v) == 0)
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
H A Deeprom.h75 #define AR5K_EEPROM_HDR_11A(_v) (((_v) >> AR5K_EEPROM_MODE_11A) & 0x1)
76 #define AR5K_EEPROM_HDR_11B(_v) (((_v) >> AR5K_EEPROM_MODE_11B) & 0x1)
77 #define AR5K_EEPROM_HDR_11G(_v) (((_v) >> AR5K_EEPROM_MODE_11G) & 0x1)
78 #define AR5K_EEPROM_HDR_T_2GHZ_DIS(_v) (((_v) >> 3) & 0x1) /* Disable turbo for 2GHz */
79 #define AR5K_EEPROM_HDR_T_5GHZ_DBM(_v) (((_v) >> 4) & 0x7f) /* Max turbo power for < 2W power consumption */
80 #define AR5K_EEPROM_HDR_DEVICE(_v) (((_v) >> 11) & 0x7) /* Device type (1 Cardbus, 2 PCI, 3 MiniPCI, 4 AP) */
81 #define AR5K_EEPROM_HDR_RFKILL(_v) (((_v) >> 14) & 0x1) /* Device has RFKill support */
82 #define AR5K_EEPROM_HDR_T_5GHZ_DIS(_v) (((_v) >> 15) & 0x1) /* Disable turbo for 5GHz */
85 #define AR5K_EEPROM_OFF(_v, _v3_0, _v3_3) \
86 (((_v) >= AR5K_EEPROM_VERSION_3_3) ? _v3_3 : _v3_0)
88 #define AR5K_EEPROM_ANT_GAIN(_v) AR5K_EEPROM_OFF(_v, 0x00c4, 0x00c3)
89 #define AR5K_EEPROM_ANT_GAIN_5GHZ(_v) ((s8)(((_v) >> 8) & 0xff))
90 #define AR5K_EEPROM_ANT_GAIN_2GHZ(_v) ((s8)((_v) & 0xff))
94 #define AR5K_EEPROM_EARSTART(_v) ((_v) & 0xfff)
95 #define AR5K_EEPROM_HDR_XR2_DIS(_v) (((_v) >> 12) & 0x1)
96 #define AR5K_EEPROM_HDR_XR5_DIS(_v) (((_v) >> 13) & 0x1)
97 #define AR5K_EEPROM_EEMAP(_v) (((_v) >> 14) & 0x3)
100 #define AR5K_EEPROM_TARGET_PWRSTART(_v) ((_v) & 0xfff)
101 #define AR5K_EEPROM_HAS32KHZCRYSTAL(_v) (((_v) >> 14) & 0x1) /* has 32KHz crystal for sleep mode */
102 #define AR5K_EEPROM_HAS32KHZCRYSTAL_OLD(_v) (((_v) >> 15) & 0x1)
105 #define AR5K_EEPROM_EEP_FILE_VERSION(_v) (((_v) >> 8) & 0xff)
106 #define AR5K_EEPROM_EAR_FILE_VERSION(_v) ((_v) & 0xff)
109 #define AR5K_EEPROM_ART_BUILD_NUM(_v) (((_v) >> 10) & 0x3f)
110 #define AR5K_EEPROM_EAR_FILE_ID(_v) ((_v) & 0xff)
113 #define AR5K_EEPROM_CAL_DATA_START(_v) (((_v) >> 4) & 0xfff)
114 #define AR5K_EEPROM_MASK_R0(_v) (((_v) >> 2) & 0x3) /* modes supported by radio 0 (bit 1: G, bit 2: A) */
115 #define AR5K_EEPROM_MASK_R1(_v) ((_v) & 0x3) /* modes supported by radio 1 (bit 1: G, bit 2: A) */
118 #define AR5K_EEPROM_COMP_DIS(_v) ((_v) & 0x1) /* disable compression */
119 #define AR5K_EEPROM_AES_DIS(_v) (((_v) >> 1) & 0x1) /* disable AES */
120 #define AR5K_EEPROM_FF_DIS(_v) (((_v) >> 2) & 0x1) /* disable fast frames */
121 #define AR5K_EEPROM_BURST_DIS(_v) (((_v) >> 3) & 0x1) /* disable bursting */
122 #define AR5K_EEPROM_MAX_QCU(_v) (((_v) >> 4) & 0xf) /* max number of QCUs. defaults to 10 */
123 #define AR5K_EEPROM_HEAVY_CLIP_EN(_v) (((_v) >> 8) & 0x1) /* enable heavy clipping */
124 #define AR5K_EEPROM_KEY_CACHE_SIZE(_v) (((_v) >> 12) & 0xf) /* key cache size. defaults to 128 */
127 #define AR5K_EEPROM_TX_CHAIN_DIS ((_v) & 0x7) /* MIMO chains disabled for TX bitmask */
128 #define AR5K_EEPROM_RX_CHAIN_DIS (((_v) >> 3) & 0x7) /* MIMO chains disabled for RX bitmask */
129 #define AR5K_EEPROM_FCC_MID_EN (((_v) >> 6) & 0x1) /* 5.47-5.7GHz supported */
130 #define AR5K_EEPROM_JAP_U1EVEN_EN (((_v) >> 7) & 0x1) /* Japan UNII1 band (5.15-5.25GHz) on even channels (5180, 5200, 5220, 5240) supported */
131 #define AR5K_EEPROM_JAP_U2_EN (((_v) >> 8) & 0x1) /* Japan UNII2 band (5.25-5.35GHz) supported */
132 #define AR5K_EEPROM_JAP_MID_EN (((_v) >> 9) & 0x1) /* Japan band from 5.47-5.7GHz supported */
133 #define AR5K_EEPROM_JAP_U1ODD_EN (((_v) >> 10) & 0x1) /* Japan UNII2 band (5.15-5.25GHz) on odd channels (5170, 5190, 5210, 5230) supported */
134 #define AR5K_EEPROM_JAP_11A_NEW_EN (((_v) >> 11) & 0x1) /* Japan A mode enabled (using even channels) */
137 #define AR5K_EEPROM_MODES_11A(_v) AR5K_EEPROM_OFF(_v, 0x00c5, 0x00d4)
138 #define AR5K_EEPROM_MODES_11B(_v) AR5K_EEPROM_OFF(_v, 0x00d0, 0x00f2)
139 #define AR5K_EEPROM_MODES_11G(_v) AR5K_EEPROM_OFF(_v, 0x00da, 0x010d)
140 #define AR5K_EEPROM_CTL(_v) AR5K_EEPROM_OFF(_v, 0x00e4, 0x0128) /* Conformance test limits */
141 #define AR5K_EEPROM_GROUPS_START(_v) AR5K_EEPROM_OFF(_v, 0x0100, 0x0150) /* Start of Groups */
151 #define AR5K_EEPROM_TARGET_PWR_OFF_11A(_v) AR5K_EEPROM_OFF(_v, AR5K_EEPROM_GROUPS_START(_v) + \
153 #define AR5K_EEPROM_TARGET_PWR_OFF_11B(_v) AR5K_EEPROM_OFF(_v, AR5K_EEPROM_GROUPS_START(_v) + \
155 #define AR5K_EEPROM_TARGET_PWR_OFF_11G(_v) AR5K_EEPROM_OFF(_v, AR5K_EEPROM_GROUPS_START(_v) + \
196 #define AR5K_EEPROM_FREQ_M(_v) AR5K_EEPROM_OFF(_v, 0x7f, 0xff)
207 #define AR5K_EEPROM_N_CTLS(_v) AR5K_EEPROM_OFF(_v, 16, 32)
244 #define AR5K_EEPROM_READ(_o, _v) do { \
245 if (!ath5k_hw_nvram_read(ah, (_o), &(_v))) \
249 #define AR5K_EEPROM_READ_HDR(_o, _v) \
250 AR5K_EEPROM_READ(_o, ah->ah_capabilities.cap_eeprom._v); \
H A Dath5k.h687 #define AR5K_TXPOWER_OFDM(_r, _v) ( \
688 ((0 & 1) << ((_v) + 6)) | \
689 (((ah->ah_txpower.txp_rates_power_table[(_r)]) & 0x3f) << (_v)) \
692 #define AR5K_TXPOWER_CCK(_r, _v) ( \
693 (ah->ah_txpower.txp_rates_power_table[(_r)] & 0x3f) << (_v) \
/linux-4.4.14/drivers/scsi/bfa/
H A Dbfi_reg.h44 #define __APP_PLL_LCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_LCLK_RESET_TIMER_SH)
48 #define __APP_PLL_LCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_LCLK_CNTLMT0_1_SH)
51 #define __APP_PLL_LCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_LCLK_JITLMT0_1_SH)
56 #define __APP_PLL_LCLK_P0_1(_v) ((_v) << __APP_PLL_LCLK_P0_1_SH)
59 #define __APP_PLL_LCLK_Z0_2(_v) ((_v) << __APP_PLL_LCLK_Z0_2_SH)
69 #define __APP_PLL_SCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_SCLK_RESET_TIMER_SH)
73 #define __APP_PLL_SCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_SCLK_CNTLMT0_1_SH)
76 #define __APP_PLL_SCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_SCLK_JITLMT0_1_SH)
81 #define __APP_PLL_SCLK_P0_1(_v) ((_v) << __APP_PLL_SCLK_P0_1_SH)
84 #define __APP_PLL_SCLK_Z0_2(_v) ((_v) << __APP_PLL_SCLK_Z0_2_SH)
132 #define __PSS_I2C_CLK_DIV(_v) ((_v) << __PSS_I2C_CLK_DIV_SH)
174 #define __F3_PORT_MAP(_v) ((_v) << __F3_PORT_MAP_SH)
178 #define __F3_INTX_STATUS(_v) ((_v) << __F3_INTX_STATUS_SH)
183 #define __F2_PORT_MAP(_v) ((_v) << __F2_PORT_MAP_SH)
187 #define __F2_INTX_STATUS(_v) ((_v) << __F2_INTX_STATUS_SH)
192 #define __F1_PORT_MAP(_v) ((_v) << __F1_PORT_MAP_SH)
196 #define __F1_INTX_STATUS(_v) ((_v) << __F1_INTX_STATUS_SH)
201 #define __F0_PORT_MAP(_v) ((_v) << __F0_PORT_MAP_SH)
239 #define __PF_VF_BAR_SIZE_MODE_(_v) ((_v) << __PF_VF_BAR_SIZE_MODE__SH)
242 #define __FC_LL_PORT_MAP_(_v) ((_v) << __FC_LL_PORT_MAP__SH)
250 #define __PF_EXROM_OFFSET_(_v) ((_v) << __PF_EXROM_OFFSET__SH)
256 #define __PF_NUM_QUEUES1_(_v) ((_v) << __PF_NUM_QUEUES1__SH)
259 #define __PF_VF_QUE_OFFSET1_(_v) ((_v) << __PF_VF_QUE_OFFSET1__SH)
262 #define __PF_VF_NUM_QUEUES_(_v) ((_v) << __PF_VF_NUM_QUEUES__SH)
304 #define __APP_PLL_LCLK_FBCNT(_v) ((_v) << __APP_PLL_SCLK_FBCNT_SH)
319 #define __APP_PLL_SCLK_FBCNT(_v) ((_v) << __APP_PLL_SCLK_FBCNT_SH)
H A Dbfa_ioc_ct.c566 #define __MSIX_VT_NUMVT_(_v) ((_v) << __MSIX_VT_NUMVT__SH)
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
H A Dbfi_reg.h46 #define __APP_PLL_LCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_LCLK_RESET_TIMER_SH)
50 #define __APP_PLL_LCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_LCLK_CNTLMT0_1_SH)
53 #define __APP_PLL_LCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_LCLK_JITLMT0_1_SH)
58 #define __APP_PLL_LCLK_P0_1(_v) ((_v) << __APP_PLL_LCLK_P0_1_SH)
61 #define __APP_PLL_LCLK_Z0_2(_v) ((_v) << __APP_PLL_LCLK_Z0_2_SH)
71 #define __APP_PLL_SCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_SCLK_RESET_TIMER_SH)
75 #define __APP_PLL_SCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_SCLK_CNTLMT0_1_SH)
78 #define __APP_PLL_SCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_SCLK_JITLMT0_1_SH)
83 #define __APP_PLL_SCLK_P0_1(_v) ((_v) << __APP_PLL_SCLK_P0_1_SH)
86 #define __APP_PLL_SCLK_Z0_2(_v) ((_v) << __APP_PLL_SCLK_Z0_2_SH)
134 #define __PSS_I2C_CLK_DIV(_v) ((_v) << __PSS_I2C_CLK_DIV_SH)
176 #define __F3_PORT_MAP(_v) ((_v) << __F3_PORT_MAP_SH)
180 #define __F3_INTX_STATUS(_v) ((_v) << __F3_INTX_STATUS_SH)
185 #define __F2_PORT_MAP(_v) ((_v) << __F2_PORT_MAP_SH)
189 #define __F2_INTX_STATUS(_v) ((_v) << __F2_INTX_STATUS_SH)
194 #define __F1_PORT_MAP(_v) ((_v) << __F1_PORT_MAP_SH)
198 #define __F1_INTX_STATUS(_v) ((_v) << __F1_INTX_STATUS_SH)
203 #define __F0_PORT_MAP(_v) ((_v) << __F0_PORT_MAP_SH)
239 #define __PF_VF_BAR_SIZE_MODE_(_v) ((_v) << __PF_VF_BAR_SIZE_MODE__SH)
242 #define __FC_LL_PORT_MAP_(_v) ((_v) << __FC_LL_PORT_MAP__SH)
250 #define __PF_EXROM_OFFSET_(_v) ((_v) << __PF_EXROM_OFFSET__SH)
256 #define __PF_NUM_QUEUES1_(_v) ((_v) << __PF_NUM_QUEUES1__SH)
259 #define __PF_VF_QUE_OFFSET1_(_v) ((_v) << __PF_VF_QUE_OFFSET1__SH)
262 #define __PF_VF_NUM_QUEUES_(_v) ((_v) << __PF_VF_NUM_QUEUES__SH)
304 #define __APP_PLL_LCLK_FBCNT(_v) ((_v) << __APP_PLL_SCLK_FBCNT_SH)
319 #define __APP_PLL_SCLK_FBCNT(_v) ((_v) << __APP_PLL_SCLK_FBCNT_SH)
H A Dbfa_ioc_ct.c450 #define __MSIX_VT_NUMVT_(_v) ((_v) << __MSIX_VT_NUMVT__SH)
/linux-4.4.14/arch/ia64/include/uapi/asm/
H A Dintrinsics.h60 volatile __typeof__(*(v)) *_v = (v); \
63 IA64_FETCHADD(_tmp, _v, -16, sizeof(*(v)), sem); \
65 IA64_FETCHADD(_tmp, _v, -8, sizeof(*(v)), sem); \
67 IA64_FETCHADD(_tmp, _v, -4, sizeof(*(v)), sem); \
69 IA64_FETCHADD(_tmp, _v, -1, sizeof(*(v)), sem); \
71 IA64_FETCHADD(_tmp, _v, 1, sizeof(*(v)), sem); \
73 IA64_FETCHADD(_tmp, _v, 4, sizeof(*(v)), sem); \
75 IA64_FETCHADD(_tmp, _v, 8, sizeof(*(v)), sem); \
77 IA64_FETCHADD(_tmp, _v, 16, sizeof(*(v)), sem); \
/linux-4.4.14/arch/ia64/include/asm/
H A Dpage.h142 #define __pa(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = 0; _v.l;})
143 #define __va(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = -1; _v.p;})
145 #define REGION_NUMBER(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg;})
146 #define REGION_OFFSET(x) ({ia64_va _v; _v.l = (long) (x); _v.f.off;})
/linux-4.4.14/arch/m68k/include/asm/
H A Dsegment.h35 mm_segment_t _v; get_fs() local
36 __asm__ ("movec %/dfc,%0":"=r" (_v.seg):); get_fs()
37 return _v; get_fs()
H A Dio_mm.h336 #define isa_rom_inb_p(p) ({ u8 _v = isa_rom_inb(p); isa_delay(); _v; })
337 #define isa_rom_inw_p(p) ({ u16 _v = isa_rom_inw(p); isa_delay(); _v; })
/linux-4.4.14/drivers/net/ethernet/8390/
H A D8390p.c7 #define ei_outb(_v, _p) outb(_v, _p)
9 #define ei_outb_p(_v, _p) outb_p(_v, _p)
H A D8390.h145 #define ei_outb(_v,_p) outb(_v,_p)
147 #define ei_outb_p(_v,_p) outb(_v,_p)
H A Detherh.c55 #define ei_outb(_v,_p) writeb(_v,(void __iomem *)_p)
57 #define ei_outb_p(_v,_p) writeb(_v,(void __iomem *)_p)
H A Dax88796.c50 #define ei_outb(_v, _a) writeb(_v, ax_convert_addr(_a))
53 #define ei_outb_p(_v, _a) ei_outb(_v, _a)
/linux-4.4.14/arch/mips/include/asm/sn/
H A Dagent.h36 #define SET_MY_HUB_NIC(_v) \
37 SET_HUB_NIC(cpuid(), (_v))
/linux-4.4.14/drivers/gpu/drm/armada/
H A Darmada_crtc.h19 #define armada_reg_queue_mod(_r, _i, _v, _m, _o) \
24 __reg[_i].val = _v; \
28 #define armada_reg_queue_set(_r, _i, _v, _o) \
29 armada_reg_queue_mod(_r, _i, _v, ~0, _o)
/linux-4.4.14/drivers/net/ethernet/freescale/fs_enet/
H A Dmac-scc.c68 #define W32(_p, _m, _v) __fs_out32(&(_p)->_m, (_v))
70 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v))
71 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v))
73 #define W16(_p, _m, _v) __fs_out16(&(_p)->_m, (_v))
75 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v))
76 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v))
78 #define W8(_p, _m, _v) __fs_out8(&(_p)->_m, (_v))
80 #define S8(_p, _m, _v) W8(_p, _m, R8(_p, _m) | (_v))
81 #define C8(_p, _m, _v) W8(_p, _m, R8(_p, _m) & ~(_v))
H A Dmac-fcc.c54 #define W32(_p, _m, _v) out_be32(&(_p)->_m, (_v))
56 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v))
57 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v))
59 #define W16(_p, _m, _v) out_be16(&(_p)->_m, (_v))
61 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v))
62 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v))
64 #define W8(_p, _m, _v) out_8(&(_p)->_m, (_v))
66 #define S8(_p, _m, _v) W8(_p, _m, R8(_p, _m) | (_v))
67 #define C8(_p, _m, _v) W8(_p, _m, R8(_p, _m) & ~(_v))
H A Dmac-fec.c67 #define FW(_fecp, _reg, _v) __fs_out32(&(_fecp)->fec_ ## _reg, (_v))
73 #define FS(_fecp, _reg, _v) FW(_fecp, _reg, FR(_fecp, _reg) | (_v))
76 #define FC(_fecp, _reg, _v) FW(_fecp, _reg, FR(_fecp, _reg) & ~(_v))
/linux-4.4.14/include/video/
H A Dexynos7_decon.h212 #define BLENDE_Q_FUNC(_v) ((_v) << 18)
213 #define BLENDE_P_FUNC(_v) ((_v) << 12)
214 #define BLENDE_B_FUNC(_v) ((_v) << 6)
215 #define BLENDE_A_FUNC(_v) ((_v) << 0)
260 #define VIDCON1_LINECNT_GET(_v) (((_v) >> 17) & 0x1fff)
H A Dsamsung_fimd.h79 #define VIDCON1_LINECNT_GET(_v) (((_v) >> 16) & 0x7ff)
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.h43 #define VF_IS_V10(_v) (((_v)->vf_ver.major == 1) && ((_v)->vf_ver.minor == 0))
44 #define VF_IS_V11(_v) (((_v)->vf_ver.major == 1) && ((_v)->vf_ver.minor == 1))
/linux-4.4.14/drivers/md/bcache/
H A Dsysfs.h90 unsigned long _v; \
91 int _r = kstrtoul(cp, 10, &_v); \
94 _v; \
H A Dutil.h335 unsigned long _v; \
336 int _r = kstrtoul(cp, 10, &_v); \
338 var = _v; \
344 unsigned long _v; \
345 int _r = kstrtoul(cp, 10, &_v); \
347 var = clamp_t(typeof(var), _v, min, max); \
/linux-4.4.14/drivers/net/ethernet/micrel/
H A Dks8851.h96 #define TXSR_TXFID_GET(_v) (((_v) >> 0) & 0x3f)
194 #define RXFCTR_RXFC_GET(_v) (((_v) >> 8) & 0xff)
213 #define CIDER_REV_GET(_v) (((_v) >> 1) & 0x7)
239 #define PMECR_WKEVT_GET(_v) (((_v) >> 2) & 0xf)
H A Dks8851_mll.c135 #define TXSR_TXFID_GET(_v) (((_v) >> 0) & 0x3f)
244 #define RXFCTR_RXFC_GET(_v) (((_v) >> 8) & 0xff)
263 #define CIDER_REV_GET(_v) (((_v) >> 1) & 0x7)
288 #define PMECR_WKEVT_GET(_v) (((_v) >> 2) & 0xf)
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
H A Dhif_usb.h41 #define IS_AR7010_DEVICE(_v) (((_v) == AR9280_USB) || ((_v) == AR9287_USB))
H A Dhw.h121 #define SM(_v, _f) (((_v) << _f##_S) & _f)
122 #define MS(_v, _f) (((_v) & _f) >> _f##_S)
123 #define REG_RMW_FIELD(_a, _r, _f, _v) \
124 REG_RMW(_a, _r, (((_v) << _f##_S) & _f), (_f))
/linux-4.4.14/include/uapi/linux/
H A Dvm_sockets.h122 #define VM_SOCKETS_VERSION_EPOCH(_v) (((_v) & 0xFF000000) >> 24)
129 #define VM_SOCKETS_VERSION_MAJOR(_v) (((_v) & 0x00FF0000) >> 16)
135 #define VM_SOCKETS_VERSION_MINOR(_v) (((_v) & 0x0000FFFF))
/linux-4.4.14/arch/metag/kernel/
H A Dprocess.c372 #define ELF_PAGESTART(_v) ((_v) & ~(unsigned long)(ELF_MIN_ALIGN-1))
373 #define ELF_PAGEOFFSET(_v) ((_v) & (ELF_MIN_ALIGN-1))
374 #define ELF_PAGEALIGN(_v) (((_v) + ELF_MIN_ALIGN - 1) & ~(ELF_MIN_ALIGN - 1))
/linux-4.4.14/drivers/gpu/host1x/hw/
H A Dhw_host1x01_channel.h40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
45 * <x>_<y>_<z>_v(void) : Returns the constant value for <z> defined for
H A Dhw_host1x02_channel.h40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
45 * <x>_<y>_<z>_v(void) : Returns the constant value for <z> defined for
H A Dhw_host1x04_channel.h40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
45 * <x>_<y>_<z>_v(void) : Returns the constant value for <z> defined for
H A Dhw_host1x01_uclass.h40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
45 * <x>_<y>_<z>_v(void) : Returns the constant value for <z> defined for
H A Dhw_host1x02_uclass.h40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
45 * <x>_<y>_<z>_v(void) : Returns the constant value for <z> defined for
H A Dhw_host1x04_uclass.h40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
45 * <x>_<y>_<z>_v(void) : Returns the constant value for <z> defined for
H A Dhw_host1x01_sync.h40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
45 * <x>_<y>_<z>_v(void) : Returns the constant value for <z> defined for
H A Dhw_host1x02_sync.h40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
45 * <x>_<y>_<z>_v(void) : Returns the constant value for <z> defined for
H A Dhw_host1x04_sync.h40 * <x>_<y>_v(u32 r) : Returns the value of field <y> from a full register
45 * <x>_<y>_<z>_v(void) : Returns the constant value for <z> defined for
/linux-4.4.14/drivers/input/touchscreen/
H A Dda9034-ts.c86 uint8_t _x, _y, _v; read_tsi() local
97 ret = da903x_read(touch->da9034_dev, DA9034_TSI_XY_LSB, &_v); read_tsi()
101 touch->last_x = ((_x << 2) & 0x3fc) | (_v & 0x3); read_tsi()
102 touch->last_y = ((_y << 2) & 0x3fc) | ((_v & 0xc) >> 2); read_tsi()
/linux-4.4.14/drivers/usb/dwc2/
H A Dhw.h204 #define GNPTXSTS_NP_TXQ_SPC_AVAIL_GET(_v) (((_v) >> 16) & 0xff)
207 #define GNPTXSTS_NP_TXF_SPC_AVAIL_GET(_v) (((_v) >> 0) & 0xffff)
586 #define DXEPTSIZ_PKTCNT_GET(_v) (((_v) >> 19) & 0x3ff)
591 #define DXEPTSIZ_XFERSIZE_GET(_v) (((_v) >> 0) & 0x7ffff)
/linux-4.4.14/drivers/scsi/csiostor/
H A Dcsio_hw.h508 #define csio_wr_reg8(_h, _v, _r) writeb((_v), \
510 #define csio_wr_reg16(_h, _v, _r) writew((_v), \
512 #define csio_wr_reg32(_h, _v, _r) writel((_v), \
514 #define csio_wr_reg64(_h, _v, _r) writeq((_v), \
/linux-4.4.14/drivers/lguest/
H A Dlg.h131 ({ type _v; __lgread((cpu), &_v, (addr), sizeof(_v)); _v; })
/linux-4.4.14/drivers/video/console/
H A Dfbcon.h254 typeof(v) _v = (v); \
255 (void) (&_r == &_v); \
256 (i == FB_ROTATE_UR || i == FB_ROTATE_UD) ? _r : _v; })
/linux-4.4.14/drivers/net/ethernet/realtek/
H A Datp.h83 unsigned char _v; inbyte() local
85 __asm__ __volatile__ ("inb %w1,%b0" : "=a" (_v) : "d" (port)); inbyte()
86 return _v; inbyte()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dio.h827 #define setbits32(_addr, _v) out_be32((_addr), in_be32(_addr) | (_v))
828 #define clrbits32(_addr, _v) out_be32((_addr), in_be32(_addr) & ~(_v))
830 #define setbits16(_addr, _v) out_be16((_addr), in_be16(_addr) | (_v))
831 #define clrbits16(_addr, _v) out_be16((_addr), in_be16(_addr) & ~(_v))
833 #define setbits8(_addr, _v) out_8((_addr), in_8(_addr) | (_v))
834 #define clrbits8(_addr, _v) out_8((_addr), in_8(_addr) & ~(_v))
/linux-4.4.14/drivers/block/xen-blkback/
H A Dcommon.h373 #define vbd_sz(_v) ((_v)->bdev->bd_part ? \
374 (_v)->bdev->bd_part->nr_sects : \
375 get_capacity((_v)->bdev->bd_disk))
/linux-4.4.14/drivers/net/irda/
H A Dpxaficp_ir.c113 unsigned int _v; \
114 _v = readl_relaxed((irda)->irda_base + (off)); \
117 __func__, __LINE__, #off, _v); \
118 _v; \
131 unsigned int _v; \
132 _v = readl_relaxed((irda)->stuart_base + (off)); \
135 __func__, __LINE__, #off, _v); \
136 _v; \
/linux-4.4.14/drivers/misc/sgi-xp/
H A Dxpnet.c74 #define XPNET_VERSION_MAJOR(_v) ((_v) >> 4)
75 #define XPNET_VERSION_MINOR(_v) ((_v) & 0xf)
H A Dxpc.h28 #define XPC_VERSION_MAJOR(_v) ((_v) >> 4)
29 #define XPC_VERSION_MINOR(_v) ((_v) & 0xf)
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
H A Dcore.h41 #define MS(_v, _f) (((_v) & _f##_MASK) >> _f##_LSB)
42 #define SM(_v, _f) (((_v) << _f##_LSB) & _f##_MASK)
/linux-4.4.14/net/vmw_vsock/
H A Daf_vsock.c1373 #define COPY_IN(_v) \ vsock_stream_setsockopt()
1375 if (optlen < sizeof(_v)) { \ vsock_stream_setsockopt()
1379 if (copy_from_user(&_v, optval, sizeof(_v)) != 0) { \ vsock_stream_setsockopt()
1454 #define COPY_OUT(_v) \ vsock_stream_getsockopt()
1456 if (len < sizeof(_v)) \ vsock_stream_getsockopt()
1459 len = sizeof(_v); \ vsock_stream_getsockopt()
1460 if (copy_to_user(optval, &_v, len) != 0) \ vsock_stream_getsockopt()
/linux-4.4.14/drivers/media/usb/airspy/
H A Dairspy.c160 #define airspy_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \
167 _t, _r, _v & 0xff, _v >> 8, _i & 0xff, _i >> 8, \
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.h29 #define FIELD_SETX(_x, _name, _v) \
31 (((_v) & (_name##_MASK)) << (_name##_SHIFT)))
32 #define FIELDX(_name, _v) (((_v) & (_name##_MASK)) << (_name##_SHIFT))
/linux-4.4.14/drivers/crypto/caam/
H A Dregs.h70 #define setbits32(_addr, _v) writel((readl(_addr) | (_v)), (_addr))
71 #define clrbits32(_addr, _v) writel((readl(_addr) & ~(_v)), (_addr))
/linux-4.4.14/fs/
H A Dbinfmt_elf.c80 #define ELF_PAGESTART(_v) ((_v) & ~(unsigned long)(ELF_MIN_ALIGN-1))
81 #define ELF_PAGEOFFSET(_v) ((_v) & (ELF_MIN_ALIGN-1))
82 #define ELF_PAGEALIGN(_v) (((_v) + ELF_MIN_ALIGN - 1) & ~(ELF_MIN_ALIGN - 1))
/linux-4.4.14/arch/mips/include/asm/sn/sn0/
H A Dhubmd.h440 #define SET_MY_LEDS(_v) \
441 SET_CPU_LEDS(get_nasid(), get_slice(), (_v))
/linux-4.4.14/drivers/dma/
H A Dpxa_dma.c149 u32 _v; \
150 _v = readl_relaxed((phy)->base + _reg((phy)->idx)); \
153 _v); \
154 _v; \
/linux-4.4.14/drivers/media/usb/msi2500/
H A Dmsi2500.c661 #define msi2500_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \
668 _t, _r, _v & 0xff, _v >> 8, _i & 0xff, _i >> 8, \
/linux-4.4.14/drivers/media/usb/hackrf/
H A Dhackrf.c179 #define hackrf_dbg_usb_control_msg(_dev, _r, _t, _v, _i, _b, _l) { \
186 _t, _r, _v & 0xff, _v >> 8, _i & 0xff, \
/linux-4.4.14/drivers/usb/atm/
H A Dcxacru.c238 #define CXACRU_ATTR_CREATE(_v, _t, _name) CXACRU_DEVICE_CREATE_FILE(_name)
243 #define CXACRU_ATTR_REMOVE(_v, _t, _name) CXACRU_DEVICE_REMOVE_FILE(_name)
/linux-4.4.14/drivers/net/ethernet/marvell/
H A Dmv643xx_eth.c2710 #define mv643xx_eth_property(_np, _name, _v) \
2714 _v = tmp; \
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dmcdi_pcol.h54 #define MC_FW_VERSION_IS_BOOTLOADER(_v) (((_v) >> 16) == 0xb007)

Completed in 2717 milliseconds