Home
last modified time | relevance | path

Searched refs:mfi (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/clk/imx/
Dclk-pllv2.c81 long mfi, mfn, mfd, pdf, ref_clk; in __clk_pllv2_recalc_rate() local
88 mfi = (dp_op & MXC_PLL_DP_OP_MFI_MASK) >> MXC_PLL_DP_OP_MFI_OFFSET; in __clk_pllv2_recalc_rate()
89 mfi = (mfi <= 5) ? 5 : mfi; in __clk_pllv2_recalc_rate()
102 temp = (ref_clk * mfi) - temp; in __clk_pllv2_recalc_rate()
104 temp = (ref_clk * mfi) + temp; in __clk_pllv2_recalc_rate()
130 long mfi, pdf, mfn, mfd = 999999; in __clk_pllv2_set_rate() local
135 pdf = mfi = -1; in __clk_pllv2_set_rate()
136 while (++pdf < 16 && mfi < 5) in __clk_pllv2_set_rate()
137 mfi = rate * (pdf+1) / quad_parent_rate; in __clk_pllv2_set_rate()
138 if (mfi > 15) in __clk_pllv2_set_rate()
[all …]
Dclk-pllv1.c58 unsigned int mfi, mfn, mfd, pd; in clk_pllv1_recalc_rate() local
74 mfi = (reg >> 10) & 0xf; in clk_pllv1_recalc_rate()
79 mfi = mfi <= 5 ? 5 : mfi; in clk_pllv1_recalc_rate()
103 ull = (rate * mfi) - ull; in clk_pllv1_recalc_rate()
105 ull = (rate * mfi) + ull; in clk_pllv1_recalc_rate()
Dclk-pllv3.c306 u32 mfi; /* integer part, can be 20 or 22 */ member
320 return (parent_rate * mf.mfi) + temp64; in clk_pllv3_vf610_mf_to_rate()
329 mf.mfi = (rate >= 22 * parent_rate) ? 22 : 20; in clk_pllv3_vf610_rate_to_mf()
332 if (rate <= parent_rate * mf.mfi) in clk_pllv3_vf610_rate_to_mf()
334 else if (rate >= parent_rate * (mf.mfi + 1)) in clk_pllv3_vf610_rate_to_mf()
338 temp64 = rate - parent_rate * mf.mfi; in clk_pllv3_vf610_rate_to_mf()
355 mf.mfi = (readl_relaxed(pll->base) & pll->div_mask) ? 22 : 20; in clk_pllv3_vf610_recalc_rate()
377 if (mf.mfi == 20) in clk_pllv3_vf610_set_rate()
/Linux-v5.4/drivers/mtd/
Dmtdchar.c43 struct mtd_file_info *mfi = file->private_data; in mtdchar_lseek() local
44 return fixed_size_llseek(file, offset, orig, mfi->mtd->size); in mtdchar_lseek()
53 struct mtd_file_info *mfi; in mtdchar_open() local
80 mfi = kzalloc(sizeof(*mfi), GFP_KERNEL); in mtdchar_open()
81 if (!mfi) { in mtdchar_open()
85 mfi->mtd = mtd; in mtdchar_open()
86 file->private_data = mfi; in mtdchar_open()
101 struct mtd_file_info *mfi = file->private_data; in mtdchar_close() local
102 struct mtd_info *mtd = mfi->mtd; in mtdchar_close()
112 kfree(mfi); in mtdchar_close()
[all …]
/Linux-v5.4/arch/powerpc/boot/
Dmpc8xx.c24 int mfi, mfn, mfd, pdf; in mpc885_get_clock() local
35 mfi = (plprcr >> 16) & 15; in mpc885_get_clock()
36 if (mfi < 5) { in mpc885_get_clock()
38 mfi); in mpc885_get_clock()
39 mfi = 5; in mpc885_get_clock()
46 ret = crystal * mfi; in mpc885_get_clock()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dlag_mp.c120 if (mp->mfi == fi) in mlx5_lag_fib_route_event()
121 mp->mfi = NULL; in mlx5_lag_fib_route_event()
153 if (!mp->mfi && !__mlx5_lag_is_active(ldev)) { in mlx5_lag_fib_route_event()
161 mp->mfi = fi; in mlx5_lag_fib_route_event()
172 if (!mp->mfi || mp->mfi != fi) in mlx5_lag_fib_nexthop_event()
Dlag_mp.h12 struct fib_info *mfi; /* used in tracking fib events */ member
/Linux-v5.4/arch/ia64/kernel/
Dentry.S1045 }{ .mfi // cycle 1
1054 }{ .mfi // cycle 2
/Linux-v5.4/Documentation/scsi/
DChangeLog.megaraid_sas246 1. Add the pad_0 in mfi frame structure to 0 to fix the