Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/boot/
Dmpc8xx.c27 int mfi, mfn, mfd, pdf, div; 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()
50 ret = crystal * mfi; in mpc885_get_clock()
/linux-2.6.39/drivers/mtd/
Dmtdchar.c56 struct mtd_file_info *mfi = file->private_data; in mtd_lseek() local
57 struct mtd_info *mtd = mfi->mtd; in mtd_lseek()
86 struct mtd_file_info *mfi; in mtd_open() local
131 mfi = kzalloc(sizeof(*mfi), GFP_KERNEL); in mtd_open()
132 if (!mfi) { in mtd_open()
138 mfi->ino = mtd_ino; in mtd_open()
139 mfi->mtd = mtd; in mtd_open()
140 file->private_data = mfi; in mtd_open()
151 struct mtd_file_info *mfi = file->private_data; in mtd_close() local
152 struct mtd_info *mtd = mfi->mtd; in mtd_close()
[all …]
/linux-2.6.39/arch/arm/plat-mxc/
Dclock.c216 unsigned int mfi, mfn, mfd, pd; in mxc_decode_pll() local
218 mfi = (reg_val >> 10) & 0xf; in mxc_decode_pll()
223 mfi = mfi <= 5 ? 5 : mfi; in mxc_decode_pll()
243 ll = (freq * mfi) + ll; in mxc_decode_pll()
/linux-2.6.39/arch/arm/mach-imx/
Dclock-imx21.c491 unsigned long mfi = 0, mfn = 0, mfd = 0, pdf = 0; in get_mpll_clk() local
499 mfi = (reg & CCM_MPCTL0_MFI_MASK) >> CCM_MPCTL0_MFI_OFFSET; in get_mpll_clk()
502 mfi = (mfi <= 5) ? 5 : mfi; in get_mpll_clk()
505 temp = 2LL * ref_clk * mfi + temp; in get_mpll_clk()
536 unsigned long mfi = 0, mfn = 0, mfd = 0, pdf = 0; in get_spll_clk() local
544 mfi = (reg & CCM_SPCTL0_MFI_MASK) >> CCM_SPCTL0_MFI_OFFSET; in get_spll_clk()
547 mfi = (mfi <= 5) ? 5 : mfi; in get_spll_clk()
550 temp = 2LL * ref_clk * mfi + temp; in get_spll_clk()
/linux-2.6.39/arch/arm/mach-mxc91231/
Dclock.c152 unsigned long dp_op, dp_mfd, dp_mfn, pll_hfsm, ref_clk, mfi; in clk_pll_get_rate() local
169 mfi = (dp_op >> MXC_PLL_DP_OP_MFI_OFFSET) & MXC_PLL_DP_OP_PDF_MASK; in clk_pll_get_rate()
170 mfi = (mfi <= 5) ? 5 : mfi; in clk_pll_get_rate()
192 temp += ref_clk * mfi; in clk_pll_get_rate()
/linux-2.6.39/arch/arm/mach-mx5/
Dclock-mx51-mx53.c173 long mfi, mfn, mfd, pdf, ref_clk, mfn_abs; in clk_pll_get_rate() local
197 mfi = (dp_op & MXC_PLL_DP_OP_MFI_MASK) >> MXC_PLL_DP_OP_MFI_OFFSET; in clk_pll_get_rate()
198 mfi = (mfi <= 5) ? 5 : mfi; in clk_pll_get_rate()
216 temp = (ref_clk * mfi) + temp; in clk_pll_get_rate()
226 long mfi, pdf, mfn, mfd = 999999; in _clk_pll_set_rate() local
237 pdf = mfi = -1; in _clk_pll_set_rate()
238 while (++pdf < 16 && mfi < 5) in _clk_pll_set_rate()
239 mfi = rate * (pdf+1) / quad_parent_rate; in _clk_pll_set_rate()
240 if (mfi > 15) in _clk_pll_set_rate()
244 temp64 = rate * (pdf+1) - quad_parent_rate * mfi; in _clk_pll_set_rate()
[all …]
/linux-2.6.39/arch/ia64/kernel/
Dentry.S1072 }{ .mfi // cycle 1
1081 }{ .mfi // cycle 2
/linux-2.6.39/Documentation/scsi/
DChangeLog.megaraid_sas100 1. Add the pad_0 in mfi frame structure to 0 to fix the