Home
last modified time | relevance | path

Searched refs:m2 (Results 1 – 25 of 109) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_pll.c45 unsigned n, m, mf, m2, sd; in hdmi_pll_compute() local
61 m2 = DIV_ROUND_UP(min_dco, target_bitclk); in hdmi_pll_compute()
62 if (m2 == 0) in hdmi_pll_compute()
63 m2 = 1; in hdmi_pll_compute()
65 target_clkdco = target_bitclk * m2; in hdmi_pll_compute()
79 clkout = clkdco / m2; in hdmi_pll_compute()
85 n, m, mf, m2, sd); in hdmi_pll_compute()
91 pi->mX[0] = m2; in hdmi_pll_compute()
/kernel/linux/linux-5.10/drivers/clk/meson/
Dclk-dualdiv.c43 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()
58 setting.m2 = meson_parm_read(clk->map, &dualdiv->m2) + 1; in meson_clk_dualdiv_recalc_rate()
118 meson_parm_write(clk->map, &dualdiv->m2, setting->m2 - 1); in meson_clk_dualdiv_set_rate()
Dclk-dualdiv.h17 unsigned int m2; member
25 struct parm m2; member
/kernel/linux/linux-5.10/arch/mips/kernel/
Dr4k-bugs64.c47 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_fw_defs.h20 IRO[157].m2))
23 IRO[158].m2))
29 (IRO[143].base + ((hcIndex) * IRO[143].m1) + ((sbId) * IRO[143].m2))
32 * IRO[142].m2) + ((sbId) * IRO[142].m3))
39 (IRO[317].base + ((pfId) * IRO[317].m1) + ((iscsiEqId) * IRO[317].m2))
41 (IRO[319].base + ((pfId) * IRO[319].m1) + ((iscsiEqId) * IRO[319].m2))
43 (IRO[318].base + ((pfId) * IRO[318].m1) + ((iscsiEqId) * IRO[318].m2))
45 (IRO[320].base + ((pfId) * IRO[320].m1) + ((iscsiEqId) * IRO[320].m2))
47 (IRO[316].base + ((pfId) * IRO[316].m1) + ((iscsiEqId) * IRO[316].m2))
49 (IRO[322].base + ((pfId) * IRO[322].m1) + ((iscsiEqId) * IRO[322].m2))
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
Dinternal.h99 static inline bool mce_cmp(struct mce *m1, struct mce *m2) in mce_cmp() argument
101 return m1->bank != m2->bank || in mce_cmp()
102 m1->status != m2->status || in mce_cmp()
103 m1->addr != m2->addr || in mce_cmp()
104 m1->misc != m2->misc; in mce_cmp()
Dgenpool.c35 struct mce *m1, *m2; in is_duplicate_mce_record() local
40 m2 = &node->mce; in is_duplicate_mce_record()
42 if (!mce_cmp(m1, m2)) in is_duplicate_mce_record()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c319 static unsigned long *m1, *m2; variable
326 m2 = &_m2; in futex_setup()
347 m2 = shmaddr + sizeof(*m1); in futex_setup()
351 *m2 = 0; in futex_setup()
354 mutex_lock(m2); in futex_setup()
363 mutex_lock(m2); in futex_thread1()
375 mutex_unlock(m2); in futex_thread2()
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dcdv_intel_display.c41 .m2 = {.min = 58, .max = 158},
53 .m2 = {.min = 58, .max = 158},
68 .m2 = {.min = 65, .max = 130},
80 .m2 = {.min = 58, .max = 158},
92 .m2 = {.min = 65, .max = 130},
104 .m2 = {.min = 58, .max = 162},
271 m |= ((clock->m2) << SB_M_DIVIDER_SHIFT); in cdv_dpll_set_clock_cdv()
394 clock->m = clock->m2 + 2; in cdv_intel_clock()
417 clock.m2 = 118; in cdv_intel_find_dp_pll()
423 clock.m2 = 98; in cdv_intel_find_dp_pll()
[all …]
Dgma_display.c724 if (clock->m2 < limit->m2.min || limit->m2.max < clock->m2) in gma_pll_is_valid()
729 if (clock->m1 <= clock->m2 && clock->m1 != 0) in gma_pll_is_valid()
781 for (clock.m2 = limit->m2.min; in gma_find_best_pll()
782 (clock.m2 < clock.m1 || clock.m1 == 0) && in gma_find_best_pll()
783 clock.m2 <= limit->m2.max; clock.m2++) { in gma_find_best_pll()
Dgma_display.h22 int m1, m2; member
41 struct gma_range_t dot, vco, n, m, m1, m2, p, p1; member
/kernel/linux/linux-5.10/drivers/video/fbdev/intelfb/
Dintelfbhw.c666 static int calc_vclock(int index, int m1, int m2, int n, int p1, int p2, in calc_vclock() argument
672 m = (5 * (m1 + 2)) + (m2 + 2); in calc_vclock()
716 int i, m1, m2, n, p1, p2; in intelfbhw_print_hw_state() local
729 m2 = (hw->vga0_divisor >> FP_M2_DIVISOR_SHIFT) & FP_DIVISOR_MASK; in intelfbhw_print_hw_state()
734 m1, m2, n, p1, p2); in intelfbhw_print_hw_state()
736 calc_vclock(index, m1, m2, n, p1, p2, 0)); in intelfbhw_print_hw_state()
740 m2 = (hw->vga1_divisor >> FP_M2_DIVISOR_SHIFT) & FP_DIVISOR_MASK; in intelfbhw_print_hw_state()
744 m1, m2, n, p1, p2); in intelfbhw_print_hw_state()
746 calc_vclock(index, m1, m2, n, p1, p2, 0)); in intelfbhw_print_hw_state()
757 m2 = (hw->fpa0 >> FP_M2_DIVISOR_SHIFT) & FP_DIVISOR_MASK; in intelfbhw_print_hw_state()
[all …]
/kernel/linux/linux-5.10/drivers/firmware/efi/
Dfake_mem.c28 const struct efi_mem_range *m2 = x2; 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()
/kernel/linux/linux-5.10/arch/arm64/boot/dts/allwinner/
Dsun50i-h5-bananapi-m2-plus.dts6 #include <arm/sunxi-bananapi-m2-plus.dtsi>
10 compatible = "sinovoip,bpi-m2-plus", "allwinner,sun50i-h5";
Dsun50i-h5-bananapi-m2-plus-v1.2.dts7 #include <arm/sunxi-bananapi-m2-plus-v1.2.dtsi>
11 compatible = "bananapi,bpi-m2-plus-v1.2", "allwinner,sun50i-h5";
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dsun8i-h3-bananapi-m2-plus-v1.2.dts8 #include "sunxi-bananapi-m2-plus-v1.2.dtsi"
12 compatible = "bananapi,bpi-m2-plus-v1.2", "allwinner,sun8i-h3";
Dsun8i-h2-plus-bananapi-m2-zero.dts5 * Based on sun8i-h3-bananapi-m2-plus.dts, which is:
18 compatible = "sinovoip,bpi-m2-zero", "allwinner,sun8i-h2-plus";
33 label = "bananapi-m2-zero:red:pwr";
/kernel/linux/linux-5.10/crypto/
Dnhpoly1305.c53 u32 m2 = get_unaligned_le32(message + 8); in nh_generic() local
56 sums[0] += (u64)(u32)(m0 + key[ 0]) * (u32)(m2 + key[ 2]); in nh_generic()
57 sums[1] += (u64)(u32)(m0 + key[ 4]) * (u32)(m2 + key[ 6]); in nh_generic()
58 sums[2] += (u64)(u32)(m0 + key[ 8]) * (u32)(m2 + key[10]); in nh_generic()
59 sums[3] += (u64)(u32)(m0 + key[12]) * (u32)(m2 + key[14]); in nh_generic()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Dpll.c272 unsigned int n, m, mf, m2, sd; in dss_pll_calc_b() local
283 m2 = DIV_ROUND_UP(min_dco, target_clkout); in dss_pll_calc_b()
284 if (m2 == 0) in dss_pll_calc_b()
285 m2 = 1; in dss_pll_calc_b()
287 target_clkdco = target_clkout * m2; in dss_pll_calc_b()
301 clkout = clkdco / m2; in dss_pll_calc_b()
307 n, m, mf, m2, sd); in dss_pll_calc_b()
313 cinfo->mX[0] = m2; in dss_pll_calc_b()
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_conntrack_tuple.h149 const struct nf_conntrack_tuple_mask *m2) in nf_ct_tuple_mask_equal() argument
151 return (nf_inet_addr_cmp(&m1->src.u3, &m2->src.u3) && in nf_ct_tuple_mask_equal()
152 m1->src.u.all == m2->src.u.all); in nf_ct_tuple_mask_equal()
/kernel/linux/linux-5.10/scripts/dtc/
Ddata.c144 struct marker *m2 = d2.markers; in data_merge() local
146 d = data_append_markers(data_append_data(d1, d2.val, d2.len), m2); in data_merge()
149 for_each_marker(m2) in data_merge()
150 m2->offset += d1.len; in data_merge()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dmroute.h37 #define VIFM_SAME(m1,m2) ((m1)==(m2)) argument
/kernel/linux/linux-5.10/drivers/ssb/
Dmain.c844 u32 n1, n2, clock, m1, m2, m3, mc; in ssb_calc_clock_rate() local
885 m2 = ((m & SSB_CHIPCO_CLK_M2) >> SSB_CHIPCO_CLK_M2_SHIFT); in ssb_calc_clock_rate()
897 m2 += SSB_CHIPCO_CLK_F5_BIAS; in ssb_calc_clock_rate()
899 m2 = clkfactor_f6_resolve(m2); in ssb_calc_clock_rate()
908 return (clock / (m1 * m2)); in ssb_calc_clock_rate()
910 return (clock / (m1 * m2 * m3)); in ssb_calc_clock_rate()
917 m2 += SSB_CHIPCO_CLK_T2M2_BIAS; in ssb_calc_clock_rate()
920 WARN_ON(!((m2 >= 3) && (m2 <= 10))); in ssb_calc_clock_rate()
926 clock /= m2; in ssb_calc_clock_rate()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dmroute.h55 #define VIFM_SAME(m1,m2) ((m1) == (m2)) argument
/kernel/linux/linux-5.10/include/uapi/linux/
Dmroute.h56 #define VIFM_SAME(m1,m2) ((m1)==(m2)) argument

12345