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

/linux-4.1.27/arch/powerpc/boot/
H A Dmpc8xx.c27 int mfi, mfn, mfd, pdf, div; mpc885_get_clock() local
38 mfi = (plprcr >> 16) & 15; mpc885_get_clock()
39 if (mfi < 5) { mpc885_get_clock()
41 mfi); mpc885_get_clock()
42 mfi = 5; mpc885_get_clock()
50 ret = crystal * mfi; mpc885_get_clock()
/linux-4.1.27/arch/arm/mach-imx/
H A Dclk-pllv1.c44 unsigned int mfi, mfn, mfd, pd; clk_pllv1_recalc_rate() local
55 * mfi + mfn / (mfd + 1) clk_pllv1_recalc_rate()
60 mfi = (reg >> 10) & 0xf; clk_pllv1_recalc_rate()
65 mfi = mfi <= 5 ? 5 : mfi; clk_pllv1_recalc_rate()
91 ll = (rate * mfi) + ll; clk_pllv1_recalc_rate()
H A Dclk-pllv2.c80 long mfi, mfn, mfd, pdf, ref_clk, mfn_abs; __clk_pllv2_recalc_rate() local
87 mfi = (dp_op & MXC_PLL_DP_OP_MFI_MASK) >> MXC_PLL_DP_OP_MFI_OFFSET; __clk_pllv2_recalc_rate()
88 mfi = (mfi <= 5) ? 5 : mfi; __clk_pllv2_recalc_rate()
106 temp = (ref_clk * mfi) + temp; __clk_pllv2_recalc_rate()
132 long mfi, pdf, mfn, mfd = 999999; __clk_pllv2_set_rate() local
137 pdf = mfi = -1; __clk_pllv2_set_rate()
138 while (++pdf < 16 && mfi < 5) __clk_pllv2_set_rate()
139 mfi = rate * (pdf+1) / quad_parent_rate; __clk_pllv2_set_rate()
140 if (mfi > 15) __clk_pllv2_set_rate()
144 temp64 = rate * (pdf + 1) - quad_parent_rate * mfi; __clk_pllv2_set_rate()
148 reg = mfi << 4 | pdf; __clk_pllv2_set_rate()
/linux-4.1.27/drivers/mtd/
H A Dmtdchar.c57 struct mtd_file_info *mfi = file->private_data; mtdchar_lseek() local
58 return fixed_size_llseek(file, offset, orig, mfi->mtd->size); mtdchar_lseek()
67 struct mtd_file_info *mfi; mtdchar_open() local
94 mfi = kzalloc(sizeof(*mfi), GFP_KERNEL); mtdchar_open()
95 if (!mfi) { mtdchar_open()
99 mfi->mtd = mtd; mtdchar_open()
100 file->private_data = mfi; mtdchar_open()
115 struct mtd_file_info *mfi = file->private_data; mtdchar_close() local
116 struct mtd_info *mtd = mfi->mtd; mtdchar_close()
126 kfree(mfi); mtdchar_close()
152 struct mtd_file_info *mfi = file->private_data; mtdchar_read() local
153 struct mtd_info *mtd = mfi->mtd; mtdchar_read()
176 switch (mfi->mode) { mtdchar_read()
238 struct mtd_file_info *mfi = file->private_data; mtdchar_write() local
239 struct mtd_info *mtd = mfi->mtd; mtdchar_write()
270 switch (mfi->mode) { mtdchar_write()
332 static int otp_select_filemode(struct mtd_file_info *mfi, int mode) otp_select_filemode() argument
334 struct mtd_info *mtd = mfi->mtd; otp_select_filemode()
343 mfi->mode = MTD_FILE_MODE_OTP_FACTORY; otp_select_filemode()
350 mfi->mode = MTD_FILE_MODE_OTP_USER; otp_select_filemode()
353 mfi->mode = MTD_FILE_MODE_NORMAL; otp_select_filemode()
366 struct mtd_file_info *mfi = file->private_data; mtdchar_writeoob() local
388 ops.mode = (mfi->mode == MTD_FILE_MODE_RAW) ? MTD_OPS_RAW : mtdchar_writeoob()
415 struct mtd_file_info *mfi = file->private_data; mtdchar_readoob() local
428 ops.mode = (mfi->mode == MTD_FILE_MODE_RAW) ? MTD_OPS_RAW : mtdchar_readoob()
592 struct mtd_file_info *mfi = file->private_data; mtdchar_ioctl() local
593 struct mtd_info *mtd = mfi->mtd; mtdchar_ioctl()
864 mfi->mode = MTD_FILE_MODE_NORMAL; mtdchar_ioctl()
866 ret = otp_select_filemode(mfi, mode); mtdchar_ioctl()
879 switch (mfi->mode) { mtdchar_ioctl()
907 if (mfi->mode != MTD_FILE_MODE_OTP_USER) mtdchar_ioctl()
945 mfi->mode = 0; mtdchar_ioctl()
950 ret = otp_select_filemode(mfi, arg); mtdchar_ioctl()
956 mfi->mode = arg; mtdchar_ioctl()
1013 struct mtd_file_info *mfi = file->private_data; mtdchar_compat_ioctl() local
1014 struct mtd_info *mtd = mfi->mtd; mtdchar_compat_ioctl()
1072 struct mtd_file_info *mfi = file->private_data; mtdchar_get_unmapped_area() local
1073 struct mtd_info *mtd = mfi->mtd; mtdchar_get_unmapped_area()
1093 struct mtd_file_info *mfi = file->private_data; mtdchar_mmap_capabilities() local
1095 return mtd_mmap_capabilities(mfi->mtd); mtdchar_mmap_capabilities()
1105 struct mtd_file_info *mfi = file->private_data; mtdchar_mmap() local
1106 struct mtd_info *mtd = mfi->mtd; mtdchar_mmap()
/linux-4.1.27/arch/ia64/kernel/
H A Dparavirtentry.S94 /* NOTE: nop.[mfi] has same format */
H A Dentry.S1077 }{ .mfi // cycle 1
1086 }{ .mfi // cycle 2
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c206 * megasas_return_mfi_mpt_pthr - Return a mfi and mpt to free command pool
2052 "freeing mfi/mpt pass-through " complete_cmd_fusion()
2283 * @cmd: mfi cmd to build
2316 * @cmd: mfi cmd pointer
H A Dmegaraid_sas_fusion.h678 * Used to get the mfi cmd from list when a MFI cmd is completed
H A Dmegaraid_sas_base.c387 printk(KERN_NOTICE "mfi 1068 offset read=%x\n", pcidata); megasas_adp_reset_xscale()

Completed in 485 milliseconds