/drivers/net/ethernet/freescale/fs_enet/ |
D | mac-scc.c | 68 #define W32(_p, _m, _v) __fs_out32(&(_p)->_m, (_v)) argument 69 #define R32(_p, _m) __fs_in32(&(_p)->_m) 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 74 #define R16(_p, _m) __fs_in16(&(_p)->_m) 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 79 #define R8(_p, _m) __fs_in8(&(_p)->_m) argument [all …]
|
D | mac-fcc.c | 54 #define W32(_p, _m, _v) out_be32(&(_p)->_m, (_v)) argument 55 #define R32(_p, _m) in_be32(&(_p)->_m) 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 60 #define R16(_p, _m) in_be16(&(_p)->_m) 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 65 #define R8(_p, _m) in_8(&(_p)->_m) argument [all …]
|
/drivers/clk/samsung/ |
D | clk-pll.h | 42 #define PLL_35XX_RATE(_rate, _m, _p, _s) \ argument 45 .mdiv = (_m), \ 50 #define PLL_36XX_RATE(_rate, _m, _p, _s, _k) \ argument 53 .mdiv = (_m), \ 59 #define PLL_45XX_RATE(_rate, _m, _p, _s, _afc) \ argument 62 .mdiv = (_m), \ 68 #define PLL_4600_RATE(_rate, _m, _p, _s, _k, _vsel) \ argument 71 .mdiv = (_m), \ 78 #define PLL_4650_RATE(_rate, _m, _p, _s, _k, _mfr, _mrr, _vsel) \ argument 81 .mdiv = (_m), \
|
/drivers/net/wireless/ath/ath5k/ |
D | debug.h | 116 #define ATH5K_DBG(_sc, _m, _fmt, ...) do { \ argument 117 if (unlikely((_sc)->debug.level & (_m) && net_ratelimit())) \ 122 #define ATH5K_DBG_UNLIMIT(_sc, _m, _fmt, ...) do { \ argument 123 if (unlikely((_sc)->debug.level & (_m))) \
|
/drivers/scsi/csiostor/ |
D | csio_mb.h | 149 #define csio_set_mb_intr_idx(_m, _i) ((_m)->intr_idx = (_i)) argument 150 #define csio_get_mb_intr_idx(_m) ((_m)->intr_idx) argument
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_type.h | 159 #define FM10K_RSSRK(_n, _m) (((_n) * 0x10) + (_m) + 0x0800) argument 162 #define FM10K_RETA(_n, _m) (((_n) * 0x20) + (_m) + 0x1000) argument 336 #define FM10K_VLAN_TABLE(_n, _m) ((0x80 * (_n)) + (_m) + 0x14000) argument
|
D | fm10k_mbx.h | 32 #define FM10K_MBMEM_VF(_n, _m) (((_n) * 0x10) + (_m) + 0x18000) argument
|
/drivers/gpu/drm/armada/ |
D | armada_crtc.h | 19 #define armada_reg_queue_mod(_r, _i, _v, _m, _o) \ argument 23 __reg[_i].mask = ~(_m); \
|
/drivers/net/ethernet/micrel/ |
D | ks8851.h | 19 #define KS_MAR(_m) (0x15 - (_m)) argument
|
/drivers/scsi/aic94xx/ |
D | aic94xx_dump.c | 238 #define PRINT_MREG_8bit(_ha, _m, _n, _r) asd_printk(MSTR_8BIT, _m, #_n, _n, \ argument 240 #define PRINT_MREG_16bit(_ha, _m, _n, _r) asd_printk(MSTR_16BIT, _m, #_n, _n, \ argument 242 #define PRINT_MREG_32bit(_ha, _m, _n, _r) asd_printk(MSTR_32BIT, _m, #_n, _n, \ argument 258 #define CMDP_REG(_n, _m) (_m*(CSEQ_PAGE_SIZE*2)+CSEQ_##_n) argument
|
/drivers/clk/meson/ |
D | clkc.h | 50 #define PLL_RATE(_r, _m, _n, _od) \ argument 53 .m = (_m), \
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_dsi.c | 536 u16 _m, uninitialized_var(best_m); in exynos_dsi_pll_find_pms() local 549 _m = tmp; in exynos_dsi_pll_find_pms() 550 if (_m < 41 || _m > 125) in exynos_dsi_pll_find_pms() 553 tmp = (u64)_m * fin; in exynos_dsi_pll_find_pms() 559 tmp = (u64)_m * fin; in exynos_dsi_pll_find_pms() 565 best_m = _m; in exynos_dsi_pll_find_pms()
|
/drivers/staging/comedi/drivers/ |
D | ni_stc.h | 264 #define NISTC_RTSI_TRIG_NUM_CHAN(_m) ((_m) ? 8 : 7) argument 265 #define NISTC_RTSI_TRIG_DIR(_c, _m) ((_m) ? BIT(8 + (_c)) : BIT(7 + (_c))) argument
|
D | addi_apci_3120.c | 67 #define APCI3120_TIMER_MODE(_t, _m) ((_m) << ((_t) * 2)) argument
|
/drivers/misc/sgi-xp/ |
D | xpnet.c | 81 #define XPNET_VALID_MSG(_m) \ argument 82 ((XPNET_VERSION_MAJOR(_m->version) == XPNET_VERSION_MAJOR(XPNET_VERSION)) \
|
/drivers/hwtracing/stm/ |
D | core.c | 146 #define __stm_master(_s, _m) \ argument 147 ((_s)->masters[(_m) - (_s)->data->sw_start])
|
/drivers/gpu/drm/nouveau/ |
D | nv50_display.c | 461 const u32 _m = (m), _s = (s); \ 462 printk(KERN_ERR "%04x %d %s\n", _m, _s, __func__); \ 463 *((p)++) = ((_s << 18) | _m); \
|
/drivers/clk/qcom/ |
D | gcc-ipq806x.c | 143 #define NSS_PLL_RATE(f, _l, _m, _n, i) \ argument 147 .m = _m, \
|
D | mmcc-msm8960.c | 50 #define F_MN(f, s, _m, _n) { .freq = f, .src = s, .m = _m, .n = _n } argument
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_type.h | 596 #define IXGBE_LSECRXKEY(_n, _m) (0x08F20 + ((0x10 * (_n)) + (4 * (_m)))) argument
|