_m 14 arch/arm/mach-s3c24xx/include/mach/regs-clock.h #define S3C2410_PLLVAL(_m,_p,_s) ((_m) << 12 | ((_p) << 4) | ((_s))) _m 84 arch/arm/plat-samsung/include/plat/cpu-freq.h #define PLLVAL(_m, _p, _s) (((_m) << 12) | ((_p) << 4) | (_s)) _m 43 arch/mips/include/asm/sn/addrs.h #define NASID_MAKE(_m, _l) (((_m) << NASID_LOCAL_BITS) | (_l)) _m 57 arch/powerpc/mm/ptdump/bats.c #define BAT_SHOW_601(_m, _n, _l, _u) bat_show_601(_m, _n, mfspr(_l), mfspr(_u)) _m 117 arch/powerpc/mm/ptdump/bats.c #define BAT_SHOW_603(_m, _n, _l, _u, _d) bat_show_603(_m, _n, mfspr(_l), mfspr(_u), _d) _m 43 arch/x86/events/intel/pt.c #define PT_CAP(_n, _l, _r, _m) \ _m 45 arch/x86/events/intel/pt.c .reg = _r, .mask = _m } _m 4429 arch/x86/kvm/emulate.c #define MD(_f, _m) { .flags = ((_f) | ModeDual), .u.mdual = (_m) } _m 132 drivers/clk/imx/clk.h #define PLL_1416X_RATE(_rate, _m, _p, _s) \ _m 135 drivers/clk/imx/clk.h .mdiv = (_m), \ _m 140 drivers/clk/imx/clk.h #define PLL_1443X_RATE(_rate, _m, _p, _s, _k) \ _m 143 drivers/clk/imx/clk.h .mdiv = (_m), \ _m 24 drivers/clk/meson/clk-pll.h #define PLL_PARAMS(_m, _n) \ _m 26 drivers/clk/meson/clk-pll.h .m = (_m), \ _m 214 drivers/clk/qcom/gcc-ipq806x.c #define NSS_PLL_RATE(f, _l, _m, _n, i) \ _m 218 drivers/clk/qcom/gcc-ipq806x.c .m = _m, \ _m 42 drivers/clk/qcom/mmcc-msm8960.c #define F_MN(f, s, _m, _n) { .freq = f, .src = s, .m = _m, .n = _n } _m 41 drivers/clk/samsung/clk-pll.h #define PLL_RATE(_fin, _m, _p, _s, _k, _ks) \ _m 42 drivers/clk/samsung/clk-pll.h ((u64)(_fin) * (BIT(_ks) * (_m) + (_k)) / BIT(_ks) / ((_p) << (_s))) _m 43 drivers/clk/samsung/clk-pll.h #define PLL_VALID_RATE(_fin, _fout, _m, _p, _s, _k, _ks) ((_fout) + \ _m 44 drivers/clk/samsung/clk-pll.h BUILD_BUG_ON_ZERO(PLL_RATE(_fin, _m, _p, _s, _k, _ks) != (_fout))) _m 46 drivers/clk/samsung/clk-pll.h #define PLL_35XX_RATE(_fin, _rate, _m, _p, _s) \ _m 49 drivers/clk/samsung/clk-pll.h _m, _p, _s, 0, 16), \ _m 50 drivers/clk/samsung/clk-pll.h .mdiv = (_m), \ _m 55 drivers/clk/samsung/clk-pll.h #define PLL_S3C2410_MPLL_RATE(_fin, _rate, _m, _p, _s) \ _m 58 drivers/clk/samsung/clk-pll.h _m + 8, _p + 2, _s, 0, 16), \ _m 59 drivers/clk/samsung/clk-pll.h .mdiv = (_m), \ _m 64 drivers/clk/samsung/clk-pll.h #define PLL_S3C2440_MPLL_RATE(_fin, _rate, _m, _p, _s) \ _m 67 drivers/clk/samsung/clk-pll.h 2 * (_m + 8), _p + 2, _s, 0, 16), \ _m 68 drivers/clk/samsung/clk-pll.h .mdiv = (_m), \ _m 73 drivers/clk/samsung/clk-pll.h #define PLL_36XX_RATE(_fin, _rate, _m, _p, _s, _k) \ _m 76 drivers/clk/samsung/clk-pll.h _m, _p, _s, _k, 16), \ _m 77 drivers/clk/samsung/clk-pll.h .mdiv = (_m), \ _m 83 drivers/clk/samsung/clk-pll.h #define PLL_4508_RATE(_fin, _rate, _m, _p, _s, _afc) \ _m 86 drivers/clk/samsung/clk-pll.h _m, _p, _s - 1, 0, 16), \ _m 87 drivers/clk/samsung/clk-pll.h .mdiv = (_m), \ _m 93 drivers/clk/samsung/clk-pll.h #define PLL_4600_RATE(_fin, _rate, _m, _p, _s, _k, _vsel) \ _m 96 drivers/clk/samsung/clk-pll.h _m, _p, _s, _k, 16), \ _m 97 drivers/clk/samsung/clk-pll.h .mdiv = (_m), \ _m 104 drivers/clk/samsung/clk-pll.h #define PLL_4650_RATE(_fin, _rate, _m, _p, _s, _k, _mfr, _mrr, _vsel) \ _m 107 drivers/clk/samsung/clk-pll.h _m, _p, _s, _k, 10), \ _m 108 drivers/clk/samsung/clk-pll.h .mdiv = (_m), \ _m 19 drivers/clk/sunxi-ng/ccu_mp.c unsigned int _m, _p; _m 22 drivers/clk/sunxi-ng/ccu_mp.c for (_m = 1; _m <= max_m; _m++) { _m 23 drivers/clk/sunxi-ng/ccu_mp.c unsigned long tmp_rate = parent / _p / _m; _m 30 drivers/clk/sunxi-ng/ccu_mp.c best_m = _m; _m 49 drivers/clk/sunxi-ng/ccu_mp.c unsigned int _m, _p, div; _m 62 drivers/clk/sunxi-ng/ccu_mp.c for (_m = 1; _m <= max_m; _m++) { _m 63 drivers/clk/sunxi-ng/ccu_mp.c div = _m * _p; _m 24 drivers/clk/sunxi-ng/ccu_nkm.c unsigned long _n, _k, _m; _m 28 drivers/clk/sunxi-ng/ccu_nkm.c for (_m = nkm->min_m; _m <= nkm->max_m; _m++) { _m 31 drivers/clk/sunxi-ng/ccu_nkm.c tmp_rate = parent * _n * _k / _m; _m 39 drivers/clk/sunxi-ng/ccu_nkm.c best_m = _m; _m 37 drivers/clk/sunxi-ng/ccu_nkmp.c unsigned long _n, _k, _m, _p; _m 41 drivers/clk/sunxi-ng/ccu_nkmp.c for (_m = nkmp->min_m; _m <= nkmp->max_m; _m++) { _m 47 drivers/clk/sunxi-ng/ccu_nkmp.c _m, _p); _m 56 drivers/clk/sunxi-ng/ccu_nkmp.c best_m = _m; _m 35 drivers/clk/sunxi-ng/ccu_nm.c unsigned long _n, _m; _m 38 drivers/clk/sunxi-ng/ccu_nm.c for (_m = nm->min_m; _m <= nm->max_m; _m++) { _m 40 drivers/clk/sunxi-ng/ccu_nm.c _n, _m); _m 48 drivers/clk/sunxi-ng/ccu_nm.c best_m = _m; _m 18 drivers/gpu/drm/armada/armada_crtc.h #define armada_reg_queue_mod(_r, _i, _v, _m, _o) \ _m 22 drivers/gpu/drm/armada/armada_crtc.h __reg[_i].mask = ~(_m); \ _m 548 drivers/gpu/drm/exynos/exynos_drm_dsi.c u16 _m, uninitialized_var(best_m); _m 561 drivers/gpu/drm/exynos/exynos_drm_dsi.c _m = tmp; _m 562 drivers/gpu/drm/exynos/exynos_drm_dsi.c if (_m < 41 || _m > 125) _m 565 drivers/gpu/drm/exynos/exynos_drm_dsi.c tmp = (u64)_m * fin; _m 571 drivers/gpu/drm/exynos/exynos_drm_dsi.c tmp = (u64)_m * fin; _m 577 drivers/gpu/drm/exynos/exynos_drm_dsi.c best_m = _m; _m 80 drivers/gpu/drm/nouveau/dispnv50/disp.h const u32 _m = (m), _s = (s); \ _m 82 drivers/gpu/drm/nouveau/dispnv50/disp.h pr_err("%04x %d %s\n", _m, _s, __func__); \ _m 83 drivers/gpu/drm/nouveau/dispnv50/disp.h *((p)++) = ((_s << 18) | _m); \ _m 89 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h u##t __iomem *_m = nvkm_kmap(o); \ _m 90 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h if (likely(_m)) { \ _m 93 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h iowrite##t##_native(_d, &_m[_o++]); \ _m 95 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h memset_io(&_m[_o], _d, _s); \ _m 34 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c u8 best_m = 0, best_n = 0, _m, _n; _m 36 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c for (_m = 0; _m < 8; _m++) { _m 41 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c (_m + m_offset); _m 48 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c best_m = _m; _m 147 drivers/hwtracing/stm/core.c #define __stm_master(_s, _m) \ _m 148 drivers/hwtracing/stm/core.c ((_s)->masters[(_m) - (_s)->data->sw_start]) _m 257 drivers/mailbox/bcm-flexrm-mailbox.c #define DESC_DEC(_d, _s, _m) (((_d) >> (_s)) & (_m)) _m 258 drivers/mailbox/bcm-flexrm-mailbox.c #define DESC_ENC(_d, _v, _s, _m) \ _m 260 drivers/mailbox/bcm-flexrm-mailbox.c (_d) &= ~((u64)(_m) << (_s)); \ _m 261 drivers/mailbox/bcm-flexrm-mailbox.c (_d) |= (((u64)(_v) & (_m)) << (_s)); \ _m 81 drivers/misc/sgi-xp/xpnet.c #define XPNET_VALID_MSG(_m) \ _m 82 drivers/misc/sgi-xp/xpnet.c ((XPNET_VERSION_MAJOR(_m->version) == XPNET_VERSION_MAJOR(XPNET_VERSION)) \ _m 54 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c #define W32(_p, _m, _v) out_be32(&(_p)->_m, (_v)) _m 55 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c #define R32(_p, _m) in_be32(&(_p)->_m) _m 56 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) _m 57 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) _m 59 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c #define W16(_p, _m, _v) out_be16(&(_p)->_m, (_v)) _m 60 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c #define R16(_p, _m) in_be16(&(_p)->_m) _m 61 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v)) _m 62 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v)) _m 64 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c #define W8(_p, _m, _v) out_8(&(_p)->_m, (_v)) _m 65 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c #define R8(_p, _m) in_8(&(_p)->_m) _m 66 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c #define S8(_p, _m, _v) W8(_p, _m, R8(_p, _m) | (_v)) _m 67 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c #define C8(_p, _m, _v) W8(_p, _m, R8(_p, _m) & ~(_v)) _m 62 drivers/net/ethernet/freescale/fs_enet/mac-scc.c #define W32(_p, _m, _v) __fs_out32(&(_p)->_m, (_v)) _m 63 drivers/net/ethernet/freescale/fs_enet/mac-scc.c #define R32(_p, _m) __fs_in32(&(_p)->_m) _m 64 drivers/net/ethernet/freescale/fs_enet/mac-scc.c #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) _m 65 drivers/net/ethernet/freescale/fs_enet/mac-scc.c #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) _m 67 drivers/net/ethernet/freescale/fs_enet/mac-scc.c #define W16(_p, _m, _v) __fs_out16(&(_p)->_m, (_v)) _m 68 drivers/net/ethernet/freescale/fs_enet/mac-scc.c #define R16(_p, _m) __fs_in16(&(_p)->_m) _m 69 drivers/net/ethernet/freescale/fs_enet/mac-scc.c #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v)) _m 70 drivers/net/ethernet/freescale/fs_enet/mac-scc.c #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v)) _m 72 drivers/net/ethernet/freescale/fs_enet/mac-scc.c #define W8(_p, _m, _v) __fs_out8(&(_p)->_m, (_v)) _m 73 drivers/net/ethernet/freescale/fs_enet/mac-scc.c #define R8(_p, _m) __fs_in8(&(_p)->_m) _m 74 drivers/net/ethernet/freescale/fs_enet/mac-scc.c #define S8(_p, _m, _v) W8(_p, _m, R8(_p, _m) | (_v)) _m 75 drivers/net/ethernet/freescale/fs_enet/mac-scc.c #define C8(_p, _m, _v) W8(_p, _m, R8(_p, _m) & ~(_v)) _m 15 drivers/net/ethernet/intel/fm10k/fm10k_mbx.h #define FM10K_MBMEM_VF(_n, _m) (((_n) * 0x10) + (_m) + 0x18000) _m 145 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_RSSRK(_n, _m) (((_n) * 0x10) + (_m) + 0x0800) _m 148 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_RETA(_n, _m) (((_n) * 0x20) + (_m) + 0x1000) _m 331 drivers/net/ethernet/intel/fm10k/fm10k_type.h #define FM10K_VLAN_TABLE(_n, _m) ((0x80 * (_n)) + (_m) + 0x14000) _m 492 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c #define MIPAF_ARR(_m, _n) (IXGBE_MIPAF + ((_m) * 0x10) + ((_n) * 4)) _m 628 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h #define IXGBE_LSECRXKEY(_n, _m) (0x08F20 + ((0x10 * (_n)) + (4 * (_m)))) _m 22 drivers/net/ethernet/micrel/ks8851.h #define KS_MAR(_m) (0x15 - (_m)) _m 116 drivers/net/wireless/ath/ath5k/debug.h #define ATH5K_DBG(_sc, _m, _fmt, ...) do { \ _m 117 drivers/net/wireless/ath/ath5k/debug.h if (unlikely((_sc)->debug.level & (_m) && net_ratelimit())) \ _m 122 drivers/net/wireless/ath/ath5k/debug.h #define ATH5K_DBG_UNLIMIT(_sc, _m, _fmt, ...) do { \ _m 123 drivers/net/wireless/ath/ath5k/debug.h if (unlikely((_sc)->debug.level & (_m))) \ _m 220 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_MREG_8bit(_ha, _m, _n, _r) asd_printk(MSTR_8BIT, _m, #_n, _n, \ _m 222 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_MREG_16bit(_ha, _m, _n, _r) asd_printk(MSTR_16BIT, _m, #_n, _n, \ _m 224 drivers/scsi/aic94xx/aic94xx_dump.c #define PRINT_MREG_32bit(_ha, _m, _n, _r) asd_printk(MSTR_32BIT, _m, #_n, _n, \ _m 240 drivers/scsi/aic94xx/aic94xx_dump.c #define CMDP_REG(_n, _m) (_m*(CSEQ_PAGE_SIZE*2)+CSEQ_##_n) _m 144 drivers/scsi/csiostor/csio_mb.h #define csio_set_mb_intr_idx(_m, _i) ((_m)->intr_idx = (_i)) _m 145 drivers/scsi/csiostor/csio_mb.h #define csio_get_mb_intr_idx(_m) ((_m)->intr_idx) _m 58 drivers/staging/comedi/drivers/addi_apci_3120.c #define APCI3120_TIMER_MODE(_t, _m) ((_m) << ((_t) * 2)) _m 255 drivers/staging/comedi/drivers/ni_stc.h #define NISTC_RTSI_TRIG_NUM_CHAN(_m) ((_m) ? 8 : 7) _m 256 drivers/staging/comedi/drivers/ni_stc.h #define NISTC_RTSI_TRIG_DIR(_c, _m) ((_m) ? BIT(8 + (_c)) : BIT(7 + (_c))) _m 54 fs/adfs/map.c unsigned char *_m = _map + (_start >> 3); \ _m 55 fs/adfs/map.c u32 _frag = get_unaligned_le32(_m); \ _m 161 fs/ocfs2/cluster/masklog.h u64 _m = MLOG_MASK_PREFIX | (mask); \ _m 162 fs/ocfs2/cluster/masklog.h if (_m & ML_ALLOWED_BITS) \ _m 163 fs/ocfs2/cluster/masklog.h __mlog_printk(&_m, __func__, __LINE__, fmt, \ _m 447 include/math-emu/op-2.h if (_FP_FRAC_GT_2(_m, _r)) \ _m 451 include/math-emu/op-2.h if (_FP_FRAC_GE_2(_r, Y) && _FP_FRAC_GT_2(_m, _r)) \ _m 457 include/math-emu/op-2.h _FP_FRAC_DEC_2(_r, _m); \ _m 475 include/math-emu/op-2.h if (_FP_FRAC_GT_2(_m, _r)) \ _m 479 include/math-emu/op-2.h if (_FP_FRAC_GE_2(_r, Y) && _FP_FRAC_GT_2(_m, _r)) \ _m 485 include/math-emu/op-2.h if (!_FP_FRAC_EQ_2(_r, _m)) \ _m 358 include/math-emu/op-4.h _FP_FRAC_DECL_4(_n); _FP_FRAC_DECL_4(_m); \ _m 401 include/math-emu/op-4.h if (_FP_FRAC_GT_4(_m, X)) \ _m 405 include/math-emu/op-4.h if (_FP_FRAC_GE_4(X, Y) && _FP_FRAC_GT_4(_m, X)) \ _m 411 include/math-emu/op-4.h _FP_FRAC_DEC_4(X, _m); \ _m 414 include/math-emu/op-4.h if (!_FP_FRAC_EQ_4(X, _m)) \ _m 12 kernel/bpf/tnum.c #define TNUM(_v, _m) (struct tnum){.value = _v, .mask = _m} _m 368 net/tipc/group.c struct tipc_member *_m, *tmp; _m 381 net/tipc/group.c list_for_each_entry_safe(_m, tmp, &grp->small_win, small_win) { _m 382 net/tipc/group.c if (_m->window > m->window) _m 385 net/tipc/group.c list_add_tail(&m->small_win, &_m->small_win);