Home
last modified time | relevance | path

Searched refs:_m (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.1.9/drivers/clk/samsung/
Dclk-pll.h45 #define PLL_RATE(_fin, _m, _p, _s, _k, _ks) \ argument
46 ((u64)(_fin) * (BIT(_ks) * (_m) + (_k)) / BIT(_ks) / ((_p) << (_s)))
47 #define PLL_VALID_RATE(_fin, _fout, _m, _p, _s, _k, _ks) ((_fout) + \ argument
48 BUILD_BUG_ON_ZERO(PLL_RATE(_fin, _m, _p, _s, _k, _ks) != (_fout)))
50 #define PLL_35XX_RATE(_fin, _rate, _m, _p, _s) \ argument
53 _m, _p, _s, 0, 16), \
54 .mdiv = (_m), \
59 #define PLL_S3C2410_MPLL_RATE(_fin, _rate, _m, _p, _s) \ argument
62 _m + 8, _p + 2, _s, 0, 16), \
63 .mdiv = (_m), \
[all …]
/linux-6.1.9/drivers/net/ethernet/freescale/fs_enet/
Dmac-scc.c62 #define W32(_p, _m, _v) __fs_out32(&(_p)->_m, (_v)) argument
63 #define R32(_p, _m) __fs_in32(&(_p)->_m) 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
68 #define R16(_p, _m) __fs_in16(&(_p)->_m) 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
73 #define R8(_p, _m) __fs_in8(&(_p)->_m) argument
[all …]
Dmac-fcc.c54 #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 …]
/linux-6.1.9/drivers/clk/sunxi-ng/
Dccu_mp.c19 unsigned int _m, _p; in ccu_mp_find_best() local
22 for (_m = 1; _m <= max_m; _m++) { in ccu_mp_find_best()
23 unsigned long tmp_rate = parent / _p / _m; in ccu_mp_find_best()
30 best_m = _m; in ccu_mp_find_best()
49 unsigned int _m, _p, div; in ccu_mp_find_best_with_parent_adj() local
62 for (_m = 1; _m <= max_m; _m++) { in ccu_mp_find_best_with_parent_adj()
63 div = _m * _p; in ccu_mp_find_best_with_parent_adj()
Dccu_nkm.c24 unsigned long _n, _k, _m; in ccu_nkm_find_best() local
28 for (_m = nkm->min_m; _m <= nkm->max_m; _m++) { in ccu_nkm_find_best()
31 tmp_rate = parent * _n * _k / _m; in ccu_nkm_find_best()
39 best_m = _m; in ccu_nkm_find_best()
Dccu_nkmp.c37 unsigned long _n, _k, _m, _p; in ccu_nkmp_find_best() local
41 for (_m = nkmp->min_m; _m <= nkmp->max_m; _m++) { in ccu_nkmp_find_best()
47 _m, _p); in ccu_nkmp_find_best()
56 best_m = _m; in ccu_nkmp_find_best()
Dccu_nm.c35 unsigned long _n, _m; in ccu_nm_find_best() local
38 for (_m = nm->min_m; _m <= nm->max_m; _m++) { in ccu_nm_find_best()
40 _n, _m); in ccu_nm_find_best()
48 best_m = _m; in ccu_nm_find_best()
/linux-6.1.9/drivers/gpu/drm/sun4i/
Dsun4i_hdmi_ddc_clk.c34 u8 best_m = 0, best_n = 0, _m, _n; in sun4i_ddc_calc_divider() local
36 for (_m = 0; _m < 16; _m++) { in sun4i_ddc_calc_divider()
41 (_m + m_offset); in sun4i_ddc_calc_divider()
48 best_m = _m; in sun4i_ddc_calc_divider()
/linux-6.1.9/drivers/net/wireless/ath/ath5k/
Ddebug.h116 #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))) \
/linux-6.1.9/fs/ocfs2/cluster/
Dmasklog.h159 u64 _m = MLOG_MASK_PREFIX | (mask); \
160 if (_m & ML_ALLOWED_BITS) \
161 __mlog_printk(&_m, __func__, __LINE__, fmt, \
/linux-6.1.9/drivers/clk/meson/
Dclk-pll.h24 #define PLL_PARAMS(_m, _n) \ argument
26 .m = (_m), \
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/core/
Dmemory.h105 u##t __iomem *_m = nvkm_kmap(o); \
106 if (likely(_m)) { \
109 iowrite##t##_native(_d, &_m[_o++]); \
111 memset_io(&_m[_o], _d, _s); \
/linux-6.1.9/include/linux/soc/samsung/
Ds3c-cpu-freq.h86 #define PLLVAL(_m, _p, _s) (((_m) << 12) | ((_p) << 4) | (_s)) argument
/linux-6.1.9/drivers/scsi/csiostor/
Dcsio_mb.h144 #define csio_set_mb_intr_idx(_m, _i) ((_m)->intr_idx = (_i)) argument
145 #define csio_get_mb_intr_idx(_m) ((_m)->intr_idx) argument
/linux-6.1.9/arch/arm/mach-s3c/
Dregs-clock-s3c24xx.h16 #define S3C2410_PLLVAL(_m,_p,_s) ((_m) << 12 | ((_p) << 4) | ((_s))) argument
/linux-6.1.9/drivers/gpu/drm/armada/
Darmada_crtc.h18 #define armada_reg_queue_mod(_r, _i, _v, _m, _o) \ argument
22 __reg[_i].mask = ~(_m); \
/linux-6.1.9/drivers/net/ethernet/intel/fm10k/
Dfm10k_type.h145 #define FM10K_RSSRK(_n, _m) (((_n) * 0x10) + (_m) + 0x0800) argument
148 #define FM10K_RETA(_n, _m) (((_n) * 0x20) + (_m) + 0x1000) argument
331 #define FM10K_VLAN_TABLE(_n, _m) ((0x80 * (_n)) + (_m) + 0x14000) argument
Dfm10k_mbx.h15 #define FM10K_MBMEM_VF(_n, _m) (((_n) * 0x10) + (_m) + 0x18000) argument
/linux-6.1.9/arch/powerpc/mm/ptdump/
Dbats.c58 #define BAT_SHOW_603(_m, _n, _l, _u, _d) bat_show_603(_m, _n, mfspr(_l), mfspr(_u), _d) argument
/linux-6.1.9/drivers/scsi/aic94xx/
Daic94xx_dump.c220 #define PRINT_MREG_8bit(_ha, _m, _n, _r) asd_printk(MSTR_8BIT, _m, #_n, _n, \ argument
222 #define PRINT_MREG_16bit(_ha, _m, _n, _r) asd_printk(MSTR_16BIT, _m, #_n, _n, \ argument
224 #define PRINT_MREG_32bit(_ha, _m, _n, _r) asd_printk(MSTR_32BIT, _m, #_n, _n, \ argument
240 #define CMDP_REG(_n, _m) (_m*(CSEQ_PAGE_SIZE*2)+CSEQ_##_n) argument
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-comp.h54 typeof(_mask) (_m) = (_mask); \
56 (base) + (ofst), (val), (_m), ##__VA_ARGS__); \
/linux-6.1.9/include/math-emu/
Dop-2.h447 if (_FP_FRAC_GT_2(_m, _r)) \
451 if (_FP_FRAC_GE_2(_r, Y) && _FP_FRAC_GT_2(_m, _r)) \
457 _FP_FRAC_DEC_2(_r, _m); \
475 if (_FP_FRAC_GT_2(_m, _r)) \
479 if (_FP_FRAC_GE_2(_r, Y) && _FP_FRAC_GT_2(_m, _r)) \
485 if (!_FP_FRAC_EQ_2(_r, _m)) \
/linux-6.1.9/drivers/net/ethernet/micrel/
Dks8851.h27 #define KS_MAR(_m) (0x14 - (_m)) argument
/linux-6.1.9/kernel/bpf/
Dtnum.c12 #define TNUM(_v, _m) (struct tnum){.value = _v, .mask = _m} argument
/linux-6.1.9/drivers/clk/imx/
Dclk.h259 #define PLL_1416X_RATE(_rate, _m, _p, _s) \ argument
262 .mdiv = (_m), \
267 #define PLL_1443X_RATE(_rate, _m, _p, _s, _k) \ argument
270 .mdiv = (_m), \

12