/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_fw_defs.h | 25 (IRO[163].base + ((funcId) * IRO[163].m1)) 27 (IRO[153].base + ((funcId) * IRO[153].m1)) 35 (IRO[324].base + ((pfId) * IRO[324].m1)) 37 (IRO[325].base + ((pfId) * IRO[325].m1)) 53 (IRO[323].base + ((pfId) * IRO[323].m1)) 55 (IRO[315].base + ((pfId) * IRO[315].m1)) 57 (IRO[314].base + ((pfId) * IRO[314].m1)) 59 (IRO[313].base + ((pfId) * IRO[313].m1)) 63 (IRO[146].base + ((pfId) * IRO[146].m1)) 65 (IRO[147].base + ((pfId) * IRO[147].m1)) [all …]
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_iro_hsi.h | 108 + ((pf_id) * IRO[IRO_ETH_RX_RATE_LIMIT].m1)) 120 + ((pf_id) * IRO[IRO_MSTORM_ETH_PF_STAT].m1)) 128 + ((vf_id) * IRO[IRO_MSTORM_ETH_VF_PRODS].m1) \ 180 + ((pf_id) * IRO[IRO_PSTORM_ETH_PF_STAT].m1)) 186 + ((pf_id) * IRO[IRO_PSTORM_FCOE_TX_STATS].m1)) 295 + ((port_id) * IRO[IRO_TSTORM_PORT_STAT].m1)) 343 + ((pf_id) * IRO[IRO_USTORM_EQE_CONS_GTT].m1)) 349 + ((pf_id) * IRO[IRO_USTORM_ETH_PF_STAT].m1)) 399 + ((rss_id) * IRO[IRO_USTORM_TOE_CQ_PROD].m1)) 405 + ((pf_id) * IRO[IRO_USTORM_TOE_GRQ_PROD].m1)) [all …]
|
/linux/arch/mips/bcm63xx/ |
A D | cpu.c | 164 unsigned int tmp, n1, n2, m1; in detect_cpu_clock() local 170 m1 = (tmp & MIPSPLLCTL_M1CPU_MASK) >> MIPSPLLCTL_M1CPU_SHIFT; in detect_cpu_clock() 173 m1 += 1; in detect_cpu_clock() 174 return (16 * 1000000 * n1 * n2) / m1; in detect_cpu_clock() 179 unsigned int tmp, n1, n2, m1; in detect_cpu_clock() local 185 m1 = (tmp & DMIPSPLLCFG_M1_MASK) >> DMIPSPLLCFG_M1_SHIFT; in detect_cpu_clock() 186 return (16 * 1000000 * n1 * n2) / m1; in detect_cpu_clock() 227 unsigned int tmp, p1, p2, ndiv, m1; in detect_cpu_clock() local 242 m1 = (tmp & DMIPSPLLDIV_6368_MDIV_MASK) >> in detect_cpu_clock() 245 return (((64 * 1000000) / p1) * p2 * ndiv) / m1; in detect_cpu_clock()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_dpll.c | 22 } dot, vco, n, m, m1, m2, p, p1; member 34 .m1 = { .min = 18, .max = 26 }, 371 if (clock->m1 < limit->m1.min || limit->m1.max < clock->m1) in intel_pll_is_valid() 446 for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max; in i9xx_find_best_dpll() 447 clock.m1++) { in i9xx_find_best_dpll() 505 for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max; in pnv_find_best_dpll() 506 clock.m1++) { in pnv_find_best_dpll() 569 for (clock.m1 = limit->m1.max; in g4x_find_best_dpll() 570 clock.m1 >= limit->m1.min; clock.m1--) { in g4x_find_best_dpll() 668 for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max; clock.m1++) { in vlv_find_best_dpll() [all …]
|
/linux/arch/powerpc/math-emu/ |
A D | udivmodti4.c | 159 _FP_W_TYPE m1, m0, n2; in _fp_udivmodti4() local 172 umul_ppmm (m1, m0, q0, d0); in _fp_udivmodti4() 174 if (m1 > n1 || (m1 == n1 && m0 > n0)) in _fp_udivmodti4() 177 sub_ddmmss (m1, m0, m1, m0, d1, d0); in _fp_udivmodti4() 183 sub_ddmmss (n1, n0, n1, n0, m1, m0); in _fp_udivmodti4()
|
/linux/arch/x86/lib/ |
A D | msr.c | 64 struct msr m, m1; in __flip_bit() local 74 m1 = m; in __flip_bit() 76 m1.q |= BIT_64(bit); in __flip_bit() 78 m1.q &= ~BIT_64(bit); in __flip_bit() 80 if (m1.q == m.q) in __flip_bit() 83 err = msr_write(msr, &m1); in __flip_bit()
|
/linux/drivers/clk/meson/ |
A D | clk-dualdiv.c | 43 return DIV_ROUND_CLOSEST(parent_rate * (p->m1 + p->m2), in __dualdiv_param_to_rate() 44 p->n1 * p->m1 + p->n2 * p->m2); in __dualdiv_param_to_rate() 56 setting.m1 = meson_parm_read(clk->map, &dualdiv->m1) + 1; in meson_clk_dualdiv_recalc_rate() 116 meson_parm_write(clk->map, &dualdiv->m1, setting->m1 - 1); in meson_clk_dualdiv_set_rate()
|
A D | clk-dualdiv.h | 16 unsigned int m1; member 24 struct parm m1; member
|
/linux/arch/mips/kernel/ |
A D | r4k-bugs64.c | 47 int m1, m2; in mult_sh_align_mod() local 71 : "=r" (m1), "=r" (m2), "=r" (s) in mult_sh_align_mod() 92 : "r" (m1), "r" (m2), "r" (s), "I" (0) in mult_sh_align_mod() 102 : "=r" (m1), "=r" (m2), "=r" (s) in mult_sh_align_mod() 103 : "0" (m1), "1" (m2), "2" (s)); in mult_sh_align_mod() 105 p = m1 * m2; in mult_sh_align_mod()
|
/linux/lib/mpi/ |
A D | longlong.h | 132 #define umul_ppmm(xh, xl, m0, m1) \ argument 134 USItype __m0 = (m0), __m1 = (m1); \ 154 #define umul_ppmm(ph, pl, m0, m1) \ argument 156 UDItype __m0 = (m0), __m1 = (m1); \ 281 #define umul_ppmm(ph, pl, m0, m1) \ argument 286 "g" ((USItype)(m1))) 352 #define umul_ppmm(xh, xl, m0, m1) \ argument 357 USItype __m0 = (m0), __m1 = (m1); \ 367 #define smul_ppmm(xh, xl, m0, m1) \ argument 376 "r" (m1)); \ [all …]
|
/linux/sound/soc/codecs/ |
A D | es7241.c | 29 struct gpio_desc *m1; member 36 static void es7241_set_mode(struct es7241_data *priv, int m0, int m1) in es7241_set_mode() argument 43 gpiod_set_value_cansleep(priv->m1, m1); in es7241_set_mode() 289 priv->m1 = devm_gpiod_get_optional(dev, "m1", GPIOD_OUT_LOW); in es7241_probe() 290 if (IS_ERR(priv->m1)) { in es7241_probe() 291 err = PTR_ERR(priv->m1); in es7241_probe()
|
/linux/tools/testing/selftests/powerpc/benchmarks/ |
A D | context_switch.c | 319 static unsigned long *m1, *m2; variable 325 m1 = &_m1; in futex_setup() 346 m1 = shmaddr; in futex_setup() 347 m2 = shmaddr + sizeof(*m1); in futex_setup() 350 *m1 = 0; in futex_setup() 353 mutex_lock(m1); in futex_setup() 364 mutex_unlock(m1); in futex_thread1() 376 mutex_lock(m1); in futex_thread2()
|
/linux/arch/x86/kernel/cpu/mce/ |
A D | internal.h | 95 static inline bool mce_cmp(struct mce *m1, struct mce *m2) in mce_cmp() argument 97 return m1->bank != m2->bank || in mce_cmp() 98 m1->status != m2->status || in mce_cmp() 99 m1->addr != m2->addr || in mce_cmp() 100 m1->misc != m2->misc; in mce_cmp()
|
A D | genpool.c | 35 struct mce *m1, *m2; in is_duplicate_mce_record() local 37 m1 = &t->mce; in is_duplicate_mce_record() 42 if (!mce_cmp(m1, m2)) in is_duplicate_mce_record()
|
/linux/arch/ia64/kernel/ |
A D | patch.c | 47 u64 m0, m1, v0, v1, b0, b1, *b = (u64 *) (insn_addr & -16); in ia64_patch() local 54 m1 = mask << (shift - 64); in ia64_patch() 57 m0 = mask << shift; m1 = mask >> (64 - shift); in ia64_patch() 61 b[1] = (b1 & ~m1) | (v1 & m1); in ia64_patch()
|
/linux/drivers/video/fbdev/intelfb/ |
A D | intelfbhw.c | 716 int i, m1, m2, n, p1, p2; in intelfbhw_print_hw_state() local 734 m1, m2, n, p1, p2); in intelfbhw_print_hw_state() 744 m1, m2, n, p1, p2); in intelfbhw_print_hw_state() 762 m1, m2, n, p1, p2); in intelfbhw_print_hw_state() 773 m1, m2, n, p1, p2); in intelfbhw_print_hw_state() 883 int m1, m2; in splitm() local 888 for (m1 = pll->min_m1; m1 < pll->max_m1 + 1; m1++) { in splitm() 892 *retm1 = (unsigned int)m1; in splitm() 1008 splitm(index, m, &m1, &m2); in calc_pll_params() 1014 m, m1, m2, n, n1, p, p1, p2, in calc_pll_params() [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
A D | conntrack.h | 18 char *k1, *m1, *k2, *m2; \ 21 m1 = (char *)_match1.mask; \ 25 if ((k1[i] & m1[i] & m2[i]) ^ \ 26 (k2[i] & m1[i] & m2[i])) { \
|
/linux/drivers/gpu/drm/gma500/ |
A D | gma_display.c | 726 if (clock->m1 < limit->m1.min || limit->m1.max < clock->m1) in gma_pll_is_valid() 729 if (clock->m1 <= clock->m2 && clock->m1 != 0) in gma_pll_is_valid() 780 for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max; clock.m1++) { in gma_find_best_pll() 782 (clock.m2 < clock.m1 || clock.m1 == 0) && in gma_find_best_pll()
|
A D | cdv_intel_display.c | 40 .m1 = {.min = 0, .max = 0}, 52 .m1 = {.min = 0, .max = 0}, 67 .m1 = {.min = 0, .max = 0}, 79 .m1 = {.min = 0, .max = 0}, 91 .m1 = {.min = 0, .max = 0}, 103 .m1 = {.min = 0, .max = 0}, 416 clock.m1 = 0; in cdv_intel_find_dp_pll() 422 clock.m1 = 0; in cdv_intel_find_dp_pll() 432 clock.m1 = 0; in cdv_intel_find_dp_pll() 438 clock.m1 = 0; in cdv_intel_find_dp_pll() [all …]
|
/linux/drivers/gpu/drm/nouveau/dispnv04/ |
A D | arb.c | 58 int found, mclk_extra, mclk_loop, cbs, m1, p1; in nv04_calc_arb() local 92 m1 = clwm + cbs - 512; in nv04_calc_arb() 93 p1 = m1 * pclk_freq / mclk_freq; in nv04_calc_arb() 95 if ((p1 < m1 && m1 > 0) || clwm > 519) { in nv04_calc_arb()
|
/linux/crypto/ |
A D | nhpoly1305.c | 52 u32 m1 = get_unaligned_le32(message + 4); in nh_generic() local 60 sums[0] += (u64)(u32)(m1 + key[ 1]) * (u32)(m3 + key[ 3]); in nh_generic() 61 sums[1] += (u64)(u32)(m1 + key[ 5]) * (u32)(m3 + key[ 7]); in nh_generic() 62 sums[2] += (u64)(u32)(m1 + key[ 9]) * (u32)(m3 + key[11]); in nh_generic() 63 sums[3] += (u64)(u32)(m1 + key[13]) * (u32)(m3 + key[15]); in nh_generic()
|
/linux/drivers/firmware/efi/ |
A D | fake_mem.c | 27 const struct efi_mem_range *m1 = x1; in cmp_fake_mem() local 30 if (m1->range.start < m2->range.start) in cmp_fake_mem() 32 if (m1->range.start > m2->range.start) in cmp_fake_mem()
|
/linux/scripts/ |
A D | test_fortify.sh | 45 if ! $NM -A "$OUT".o | grep -m1 "\bU ${WANT}$" >>"$TMP" ; then 50 if ! grep -q -m1 "error: call to .\b${WANT}\b." "$TMP" ; then
|
/linux/drivers/ssb/ |
A D | main.c | 846 u32 n1, n2, clock, m1, m2, m3, mc; in ssb_calc_clock_rate() local 886 m1 = (m & SSB_CHIPCO_CLK_M1); in ssb_calc_clock_rate() 896 m1 = clkfactor_f6_resolve(m1); in ssb_calc_clock_rate() 908 return (clock / m1); in ssb_calc_clock_rate() 910 return (clock / (m1 * m2)); in ssb_calc_clock_rate() 912 return (clock / (m1 * m2 * m3)); in ssb_calc_clock_rate() 914 return (clock / (m1 * m3)); in ssb_calc_clock_rate() 918 m1 += SSB_CHIPCO_CLK_T2_BIAS; in ssb_calc_clock_rate() 921 WARN_ON(!((m1 >= 2) && (m1 <= 7))); in ssb_calc_clock_rate() 926 clock /= m1; in ssb_calc_clock_rate()
|
/linux/arch/hexagon/kernel/ |
A D | ptrace.c | 55 membuf_store(&to, regs->m1); in genregs_get() 100 INEXT(®s->m1, m1); in genregs_set()
|