Home
last modified time | relevance | path

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

123456

/linux-6.6.21/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()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_dpll.c33 } dot, vco, n, m, m1, m2, p, p1; member
46 .m2 = { .min = 6, .max = 16 },
59 .m2 = { .min = 6, .max = 16 },
72 .m2 = { .min = 6, .max = 16 },
85 .m2 = { .min = 3, .max = 7 },
98 .m2 = { .min = 3, .max = 7 },
112 .m2 = { .min = 5, .max = 11 },
127 .m2 = { .min = 5, .max = 11 },
140 .m2 = { .min = 5, .max = 11 },
154 .m2 = { .min = 5, .max = 11 },
[all …]
/linux-6.6.21/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()
123 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
/linux-6.6.21/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()
/linux-6.6.21/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 …]
/linux-6.6.21/arch/x86/kernel/cpu/mce/
Dinternal.h95 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()
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()
/linux-6.6.21/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()
/linux-6.6.21/arch/arm64/boot/dts/ti/
Dk3-am6548-iot2050-advanced-m2.dts20 compatible = "siemens,iot2050-advanced-m2", "ti,am654";
30 main_m2_enable_pins_default: main-m2-enable-default-pins {
42 main_pmx0_m2_config_pins_default: main-pmx0-m2-config-default-pins {
49 main_m2_pcie_mux_control: main-m2-pcie-mux-control-default-pins {
59 main_pmx1_m2_config_pins_default: main-pmx1-m2-config-default-pins {
/linux-6.6.21/crypto/
Drsa.c50 MPI m2, m12_or_qh; in _rsa_dec_crt() local
57 m2 = mpi_alloc(0); in _rsa_dec_crt()
59 if (!m2 || !m12_or_qh) in _rsa_dec_crt()
68 ret = mpi_powm(m2, c, key->dq, key->q); in _rsa_dec_crt()
73 mpi_sub(m12_or_qh, m_or_m1_or_h, m2); in _rsa_dec_crt()
78 mpi_addm(m_or_m1_or_h, m2, m12_or_qh, key->n); in _rsa_dec_crt()
84 mpi_free(m2); in _rsa_dec_crt()
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()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/flower/
Dconntrack.h18 char *k1, *m1, *k2, *m2; \
23 m2 = (char *)_match2.mask; \
25 if ((k1[i] & m1[i] & m2[i]) ^ \
26 (k2[i] & m1[i] & m2[i])) { \
/linux-6.6.21/drivers/gpu/drm/gma500/
Dcdv_intel_display.c42 .m2 = {.min = 58, .max = 158},
54 .m2 = {.min = 58, .max = 158},
69 .m2 = {.min = 65, .max = 130},
81 .m2 = {.min = 58, .max = 158},
93 .m2 = {.min = 65, .max = 130},
105 .m2 = {.min = 58, .max = 162},
272 m |= ((clock->m2) << SB_M_DIVIDER_SHIFT); in cdv_dpll_set_clock_cdv()
395 clock->m = clock->m2 + 2; in cdv_intel_clock()
418 clock.m2 = 118; in cdv_intel_find_dp_pll()
424 clock.m2 = 98; in cdv_intel_find_dp_pll()
[all …]
Dgma_display.c727 if (clock->m2 < limit->m2.min || limit->m2.max < clock->m2) in gma_pll_is_valid()
732 if (clock->m1 <= clock->m2 && clock->m1 != 0) in gma_pll_is_valid()
784 for (clock.m2 = limit->m2.min; in gma_find_best_pll()
785 (clock.m2 < clock.m1 || clock.m1 == 0) && in gma_find_best_pll()
786 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
/linux-6.6.21/drivers/video/fbdev/intelfb/
Dintelfbhw.c664 static int calc_vclock(int index, int m1, int m2, int n, int p1, int p2, in calc_vclock() argument
670 m = (5 * (m1 + 2)) + (m2 + 2); in calc_vclock()
714 int i, m1, m2, n, p1, p2; in intelfbhw_print_hw_state() local
727 m2 = (hw->vga0_divisor >> FP_M2_DIVISOR_SHIFT) & FP_DIVISOR_MASK; in intelfbhw_print_hw_state()
732 m1, m2, n, p1, p2); in intelfbhw_print_hw_state()
734 calc_vclock(index, m1, m2, n, p1, p2, 0)); in intelfbhw_print_hw_state()
738 m2 = (hw->vga1_divisor >> FP_M2_DIVISOR_SHIFT) & FP_DIVISOR_MASK; in intelfbhw_print_hw_state()
742 m1, m2, n, p1, p2); in intelfbhw_print_hw_state()
744 calc_vclock(index, m1, m2, n, p1, p2, 0)); in intelfbhw_print_hw_state()
755 m2 = (hw->fpa0 >> FP_M2_DIVISOR_SHIFT) & FP_DIVISOR_MASK; in intelfbhw_print_hw_state()
[all …]
/linux-6.6.21/arch/arm/boot/dts/allwinner/
DMakefile102 sun6i-a31s-sinovoip-bpi-m2.dtb \
116 sun6i-a31s-sinovoip-bpi-m2.dtb \
185 DTC_FLAGS_sun8i-h3-bananapi-m2-plus := -@
199 DTC_FLAGS_sun8i-h3-bananapi-m2-plus-v1.2 := -@
221 sun8i-h2-plus-bananapi-m2-zero.dtb \
225 sun8i-h3-bananapi-m2-plus.dtb \
226 sun8i-h3-bananapi-m2-plus-v1.2.dtb \
251 sun8i-r40-bananapi-m2-ultra.dtb \
261 sun8i-v40-bananapi-m2-berry.dtb
282 sun8i-h2-plus-bananapi-m2-zero.dtb \
[all …]
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";
/linux-6.6.21/arch/arm64/boot/dts/allwinner/
Dsun50i-h5-bananapi-m2-plus.dts6 #include <arm/allwinner/sunxi-bananapi-m2-plus.dtsi>
10 compatible = "sinovoip,bpi-m2-plus", "allwinner,sun50i-h5";
Dsun50i-h5-bananapi-m2-plus-v1.2.dts7 #include <arm/allwinner/sunxi-bananapi-m2-plus-v1.2.dtsi>
11 compatible = "bananapi,bpi-m2-plus-v1.2", "allwinner,sun50i-h5";
/linux-6.6.21/drivers/gpu/drm/omapdrm/dss/
Dpll.c278 unsigned int n, m, mf, m2, sd; in dss_pll_calc_b() local
289 m2 = DIV_ROUND_UP(min_dco, target_clkout); in dss_pll_calc_b()
290 if (m2 == 0) in dss_pll_calc_b()
291 m2 = 1; in dss_pll_calc_b()
293 target_clkdco = target_clkout * m2; in dss_pll_calc_b()
307 clkout = clkdco / m2; in dss_pll_calc_b()
313 n, m, mf, m2, sd); in dss_pll_calc_b()
319 cinfo->mX[0] = m2; in dss_pll_calc_b()
/linux-6.6.21/arch/x86/platform/efi/
Dfake_mem.c31 const struct efi_mem_range *m2 = x2; in cmp_fake_mem() local
33 if (m1->range.start < m2->range.start) in cmp_fake_mem()
35 if (m1->range.start > m2->range.start) in cmp_fake_mem()
/linux-6.6.21/include/net/netfilter/
Dnf_conntrack_tuple.h152 const struct nf_conntrack_tuple_mask *m2) in nf_ct_tuple_mask_equal() argument
154 return (nf_inet_addr_cmp(&m1->src.u3, &m2->src.u3) && in nf_ct_tuple_mask_equal()
155 m1->src.u.all == m2->src.u.all); in nf_ct_tuple_mask_equal()
/linux-6.6.21/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()

123456