/drivers/net/wireless/ath/ath5k/ |
D | eeprom.h | 75 #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/net/ethernet/brocade/bna/ |
D | bfi_reg.h | 38 #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 …]
|
/drivers/scsi/bfa/ |
D | bfi_reg.h | 37 #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 …]
|
/drivers/gpu/drm/exynos/ |
D | regs-decon7.h | 210 #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
|
/drivers/net/ethernet/freescale/fs_enet/ |
D | mac-scc.c | 62 #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
|
D | mac-fcc.c | 54 #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
|
D | mac-fec.c | 62 #define FW(_fecp, _reg, _v) __fs_out32(&(_fecp)->fec_ ## _reg, (_v)) argument 68 #define FS(_fecp, _reg, _v) FW(_fecp, _reg, FR(_fecp, _reg) | (_v)) argument 71 #define FC(_fecp, _reg, _v) FW(_fecp, _reg, FR(_fecp, _reg) & ~(_v)) argument
|
/drivers/clk/x86/ |
D | clk-cgu.h | 204 _shift, _width, _cf, _v) \ argument 216 .mux_val = _v, \ 220 _shift_gate, _width_gate, _cf, _v, _dtable) \ argument 237 .div_val = _v, \ 242 _shift, _cf, _v) \ argument 256 .gate_val = _v, \ 260 _shift, _width, _cf, _freq, _v) \ argument 275 .div_val = _v, \ 280 _shift, _width, _cf, _v, _m, _d) \ argument 295 .div_val = _v, \
|
/drivers/net/ethernet/micrel/ |
D | ks8851.h | 104 #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
|
/drivers/gpu/drm/armada/ |
D | armada_crtc.h | 18 #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)
|
/drivers/net/ethernet/8390/ |
D | 8390p.c | 8 #define ei_outb(_v, _p) outb(_v, _p) argument 10 #define ei_outb_p(_v, _p) outb_p(_v, _p) argument
|
D | xsurf100.c | 31 #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
|
D | 8390.h | 156 #define ei_outb(_v, _p) outb(_v, _p) argument 158 #define ei_outb_p(_v, _p) outb(_v, _p) argument
|
/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | os.h | 20 u64 _v = (v); \ 21 iowrite32_native(lower_32_bits(_v), &_p[0]); \ 22 iowrite32_native(upper_32_bits(_v), &_p[1]); \
|
/drivers/scsi/csiostor/ |
D | csio_hw.h | 566 #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
|
/drivers/net/wireless/ath/ath9k/ |
D | hif_usb.h | 41 #define IS_AR7010_DEVICE(_v) (((_v) == AR9280_USB) || ((_v) == AR9287_USB)) argument
|
/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-prph.h | 247 #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
|
/drivers/md/bcache/ |
D | sysfs.h | 108 unsigned long _v; \ 109 int _r = kstrtoul(cp, 10, &_v); \ 112 _v; \
|
D | util.h | 329 unsigned long _v; \ 330 int _r = kstrtoul(cp, 10, &_v); \ 332 var = _v; \ 338 unsigned long _v; \ 339 int _r = kstrtoul(cp, 10, &_v); \ 341 var = clamp_t(typeof(var), _v, min, max); \
|
/drivers/usb/dwc2/ |
D | hw.h | 213 #define GNPTXSTS_NP_TXQ_SPC_AVAIL_GET(_v) (((_v) >> 16) & 0xff) argument 216 #define GNPTXSTS_NP_TXF_SPC_AVAIL_GET(_v) (((_v) >> 0) & 0xffff) argument 638 #define DXEPTSIZ_PKTCNT_GET(_v) (((_v) >> 19) & 0x3ff) argument 643 #define DXEPTSIZ_XFERSIZE_GET(_v) (((_v) >> 0) & 0x7ffff) argument
|
/drivers/input/touchscreen/ |
D | da9034-ts.c | 83 uint8_t _x, _y, _v; in read_tsi() local 94 ret = da903x_read(touch->da9034_dev, DA9034_TSI_XY_LSB, &_v); in read_tsi() 98 touch->last_x = ((_x << 2) & 0x3fc) | (_v & 0x3); in read_tsi() 99 touch->last_y = ((_y << 2) & 0x3fc) | ((_v & 0xc) >> 2); in read_tsi()
|
/drivers/video/fbdev/core/ |
D | fbcon.h | 261 typeof(v) _v = (v); \ 262 (void) (&_r == &_v); \ 263 (i == FB_ROTATE_UR || i == FB_ROTATE_UD) ? _r : _v; })
|
/drivers/misc/sgi-xp/ |
D | xpc.h | 28 #define XPC_VERSION_MAJOR(_v) ((_v) >> 4) argument 29 #define XPC_VERSION_MINOR(_v) ((_v) & 0xf) argument
|
D | xpnet.c | 75 #define XPNET_VERSION_MAJOR(_v) ((_v) >> 4) argument 76 #define XPNET_VERSION_MINOR(_v) ((_v) & 0xf) argument
|
/drivers/net/ethernet/realtek/ |
D | atp.h | 84 unsigned char _v; in inbyte() local 86 __asm__ __volatile__ ("inb %w1,%b0" : "=a" (_v) : "d" (port)); in inbyte() 87 return _v; in inbyte()
|