Home
last modified time | relevance | path

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

12

/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 …]
/drivers/scsi/bfa/
Dbfi_reg.h45 #define __APP_PLL_LCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_LCLK_RESET_TIMER_SH) argument
49 #define __APP_PLL_LCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_LCLK_CNTLMT0_1_SH) argument
52 #define __APP_PLL_LCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_LCLK_JITLMT0_1_SH) argument
57 #define __APP_PLL_LCLK_P0_1(_v) ((_v) << __APP_PLL_LCLK_P0_1_SH) argument
60 #define __APP_PLL_LCLK_Z0_2(_v) ((_v) << __APP_PLL_LCLK_Z0_2_SH) argument
70 #define __APP_PLL_SCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_SCLK_RESET_TIMER_SH) argument
74 #define __APP_PLL_SCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_SCLK_CNTLMT0_1_SH) argument
77 #define __APP_PLL_SCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_SCLK_JITLMT0_1_SH) argument
82 #define __APP_PLL_SCLK_P0_1(_v) ((_v) << __APP_PLL_SCLK_P0_1_SH) argument
85 #define __APP_PLL_SCLK_Z0_2(_v) ((_v) << __APP_PLL_SCLK_Z0_2_SH) argument
[all …]
/drivers/net/ethernet/brocade/bna/
Dbfi_reg.h46 #define __APP_PLL_LCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_LCLK_RESET_TIMER_SH) argument
50 #define __APP_PLL_LCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_LCLK_CNTLMT0_1_SH) argument
53 #define __APP_PLL_LCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_LCLK_JITLMT0_1_SH) argument
58 #define __APP_PLL_LCLK_P0_1(_v) ((_v) << __APP_PLL_LCLK_P0_1_SH) argument
61 #define __APP_PLL_LCLK_Z0_2(_v) ((_v) << __APP_PLL_LCLK_Z0_2_SH) argument
71 #define __APP_PLL_SCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_SCLK_RESET_TIMER_SH) argument
75 #define __APP_PLL_SCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_SCLK_CNTLMT0_1_SH) argument
78 #define __APP_PLL_SCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_SCLK_JITLMT0_1_SH) argument
83 #define __APP_PLL_SCLK_P0_1(_v) ((_v) << __APP_PLL_SCLK_P0_1_SH) argument
86 #define __APP_PLL_SCLK_Z0_2(_v) ((_v) << __APP_PLL_SCLK_Z0_2_SH) argument
[all …]
/drivers/net/ethernet/freescale/fs_enet/
Dmac-scc.c68 #define W32(_p, _m, _v) __fs_out32(&(_p)->_m, (_v)) argument
70 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) argument
71 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) argument
73 #define W16(_p, _m, _v) __fs_out16(&(_p)->_m, (_v)) argument
75 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v)) argument
76 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v)) argument
78 #define W8(_p, _m, _v) __fs_out8(&(_p)->_m, (_v)) argument
80 #define S8(_p, _m, _v) W8(_p, _m, R8(_p, _m) | (_v)) argument
81 #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
Dmac-fec.c67 #define FW(_fecp, _reg, _v) __fs_out32(&(_fecp)->fec_ ## _reg, (_v)) argument
73 #define FS(_fecp, _reg, _v) FW(_fecp, _reg, FR(_fecp, _reg) | (_v)) argument
76 #define FC(_fecp, _reg, _v) FW(_fecp, _reg, FR(_fecp, _reg) & ~(_v)) argument
/drivers/net/ethernet/micrel/
Dks8851.h96 #define TXSR_TXFID_GET(_v) (((_v) >> 0) & 0x3f) argument
194 #define RXFCTR_RXFC_GET(_v) (((_v) >> 8) & 0xff) argument
213 #define CIDER_REV_GET(_v) (((_v) >> 1) & 0x7) argument
239 #define PMECR_WKEVT_GET(_v) (((_v) >> 2) & 0xf) argument
Dks8851_mll.c135 #define TXSR_TXFID_GET(_v) (((_v) >> 0) & 0x3f) argument
244 #define RXFCTR_RXFC_GET(_v) (((_v) >> 8) & 0xff) argument
263 #define CIDER_REV_GET(_v) (((_v) >> 1) & 0x7) argument
288 #define PMECR_WKEVT_GET(_v) (((_v) >> 2) & 0xf) argument
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h43 #define VF_IS_V10(_v) (((_v)->vf_ver.major == 1) && ((_v)->vf_ver.minor == 0)) argument
44 #define VF_IS_V11(_v) (((_v)->vf_ver.major == 1) && ((_v)->vf_ver.minor == 1)) argument
/drivers/net/ethernet/8390/
D8390p.c7 #define ei_outb(_v, _p) outb(_v, _p) argument
9 #define ei_outb_p(_v, _p) outb_p(_v, _p) argument
D8390.h145 #define ei_outb(_v,_p) outb(_v,_p) argument
147 #define ei_outb_p(_v,_p) outb(_v,_p) argument
/drivers/gpu/drm/armada/
Darmada_crtc.h19 #define armada_reg_queue_mod(_r, _i, _v, _m, _o) \ argument
24 __reg[_i].val = _v; \
28 #define armada_reg_queue_set(_r, _i, _v, _o) \ argument
29 armada_reg_queue_mod(_r, _i, _v, ~0, _o)
/drivers/scsi/csiostor/
Dcsio_hw.h508 #define csio_wr_reg8(_h, _v, _r) writeb((_v), \ argument
510 #define csio_wr_reg16(_h, _v, _r) writew((_v), \ argument
512 #define csio_wr_reg32(_h, _v, _r) writel((_v), \ argument
514 #define csio_wr_reg64(_h, _v, _r) writeq((_v), \ argument
/drivers/net/wireless/ath/ath9k/
Dhif_usb.h41 #define IS_AR7010_DEVICE(_v) (((_v) == AR9280_USB) || ((_v) == AR9287_USB)) argument
/drivers/usb/dwc2/
Dhw.h205 #define GNPTXSTS_NP_TXQ_SPC_AVAIL_GET(_v) (((_v) >> 16) & 0xff) argument
208 #define GNPTXSTS_NP_TXF_SPC_AVAIL_GET(_v) (((_v) >> 0) & 0xffff) argument
601 #define DXEPTSIZ_PKTCNT_GET(_v) (((_v) >> 19) & 0x3ff) argument
606 #define DXEPTSIZ_XFERSIZE_GET(_v) (((_v) >> 0) & 0x7ffff) argument
/drivers/lguest/
Dlg.h131 ({ type _v; __lgread((cpu), &_v, (addr), sizeof(_v)); _v; })
/drivers/md/bcache/
Dsysfs.h90 unsigned long _v; \
91 int _r = kstrtoul(cp, 10, &_v); \
94 _v; \
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); \
/drivers/input/touchscreen/
Dda9034-ts.c86 uint8_t _x, _y, _v; in read_tsi() local
97 ret = da903x_read(touch->da9034_dev, DA9034_TSI_XY_LSB, &_v); in read_tsi()
101 touch->last_x = ((_x << 2) & 0x3fc) | (_v & 0x3); in read_tsi()
102 touch->last_y = ((_y << 2) & 0x3fc) | ((_v & 0xc) >> 2); in read_tsi()
/drivers/video/console/
Dfbcon.h254 typeof(v) _v = (v); \
255 (void) (&_r == &_v); \
256 (i == FB_ROTATE_UR || i == FB_ROTATE_UD) ? _r : _v; })
/drivers/net/ethernet/realtek/
Datp.h83 unsigned char _v; in inbyte() local
85 __asm__ __volatile__ ("inb %w1,%b0" : "=a" (_v) : "d" (port)); in inbyte()
86 return _v; in inbyte()
/drivers/misc/sgi-xp/
Dxpnet.c74 #define XPNET_VERSION_MAJOR(_v) ((_v) >> 4) argument
75 #define XPNET_VERSION_MINOR(_v) ((_v) & 0xf) argument
Dxpc.h28 #define XPC_VERSION_MAJOR(_v) ((_v) >> 4) argument
29 #define XPC_VERSION_MINOR(_v) ((_v) & 0xf) argument
/drivers/net/irda/
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; \
/drivers/block/xen-blkback/
Dcommon.h371 #define vbd_sz(_v) ((_v)->bdev->bd_part ? \ argument
372 (_v)->bdev->bd_part->nr_sects : \
373 get_capacity((_v)->bdev->bd_disk))

12