Home
last modified time | relevance | path

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

/Linux-v4.19/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.c308 u32 mfi; /* integer part, can be 20 or 22 */ member
322 return (parent_rate * mf.mfi) + temp64; in clk_pllv3_vf610_mf_to_rate()
331 mf.mfi = (rate >= 22 * parent_rate) ? 22 : 20; in clk_pllv3_vf610_rate_to_mf()
334 if (rate <= parent_rate * mf.mfi) in clk_pllv3_vf610_rate_to_mf()
336 else if (rate >= parent_rate * (mf.mfi + 1)) in clk_pllv3_vf610_rate_to_mf()
340 temp64 = rate - parent_rate * mf.mfi; in clk_pllv3_vf610_rate_to_mf()
357 mf.mfi = (readl_relaxed(pll->base) & pll->div_mask) ? 22 : 20; in clk_pllv3_vf610_recalc_rate()
379 if (mf.mfi == 20) in clk_pllv3_vf610_set_rate()
/Linux-v4.19/drivers/mtd/
Dmtdchar.c57 struct mtd_file_info *mfi = file->private_data; in mtdchar_lseek() local
58 return fixed_size_llseek(file, offset, orig, mfi->mtd->size); in mtdchar_lseek()
67 struct mtd_file_info *mfi; in mtdchar_open() local
94 mfi = kzalloc(sizeof(*mfi), GFP_KERNEL); in mtdchar_open()
95 if (!mfi) { in mtdchar_open()
99 mfi->mtd = mtd; in mtdchar_open()
100 file->private_data = mfi; in mtdchar_open()
115 struct mtd_file_info *mfi = file->private_data; in mtdchar_close() local
116 struct mtd_info *mtd = mfi->mtd; in mtdchar_close()
126 kfree(mfi); in mtdchar_close()
[all …]
/Linux-v4.19/arch/powerpc/boot/
Dmpc8xx.c27 int mfi, mfn, mfd, pdf; in mpc885_get_clock() local
38 mfi = (plprcr >> 16) & 15; in mpc885_get_clock()
39 if (mfi < 5) { in mpc885_get_clock()
41 mfi); in mpc885_get_clock()
42 mfi = 5; in mpc885_get_clock()
49 ret = crystal * mfi; in mpc885_get_clock()
/Linux-v4.19/arch/ia64/kernel/
Dentry.S1045 }{ .mfi // cycle 1
1054 }{ .mfi // cycle 2
/Linux-v4.19/Documentation/scsi/
DChangeLog.megaraid_sas246 1. Add the pad_0 in mfi frame structure to 0 to fix the