Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/usb/misc/
A Dapple-mfi-fastcharge.c59 mfi->charge_type); in apple_mfi_fc_set_charge_type()
75 retval = usb_control_msg(mfi->udev, usb_sndctrlpipe(mfi->udev, 0), in apple_mfi_fc_set_charge_type()
187 if (!mfi) in mfi_fc_probe()
190 battery_cfg.drv_data = mfi; in mfi_fc_probe()
196 if (IS_ERR(mfi->battery)) { in mfi_fc_probe()
198 err = PTR_ERR(mfi->battery); in mfi_fc_probe()
199 kfree(mfi); in mfi_fc_probe()
211 struct mfi_device *mfi; in mfi_fc_disconnect() local
214 if (mfi->battery) in mfi_fc_disconnect()
217 usb_put_dev(mfi->udev); in mfi_fc_disconnect()
[all …]
A DMakefile14 obj-$(CONFIG_APPLE_MFI_FASTCHARGE) += apple-mfi-fastcharge.o
/linux-6.3-rc2/drivers/clk/imx/
A Dclk-pllv2.c81 long mfi, mfn, mfd, pdf, ref_clk; in __clk_pllv2_recalc_rate() local
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()
142 temp64 = rate * (pdf + 1) - quad_parent_rate * mfi; in __clk_pllv2_set_rate()
[all …]
A 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()
A Dclk-fracn-gppll.c48 .mfi = (_mfi), \
122 u32 mfi, mfn, mfd, rdiv, odiv; in clk_fracn_gppll_recalc_rate() local
134 mfi = FIELD_GET(PLL_MFI_MASK, pll_div); in clk_fracn_gppll_recalc_rate()
146 if (rate_table[i].mfn == mfn && rate_table[i].mfi == mfi && in clk_fracn_gppll_recalc_rate()
170 fvco = fvco * mfi * mfd + fvco * mfn; in clk_fracn_gppll_recalc_rate()
208 FIELD_PREP(PLL_MFI_MASK, rate->mfi); in clk_fracn_gppll_set_rate()
A Dclk-pllv3.c304 u32 mfi; /* integer part, can be 20 or 22 */ member
318 return (parent_rate * mf.mfi) + temp64; in clk_pllv3_vf610_mf_to_rate()
327 mf.mfi = (rate >= 22 * parent_rate) ? 22 : 20; in clk_pllv3_vf610_rate_to_mf()
330 if (rate <= parent_rate * mf.mfi) in clk_pllv3_vf610_rate_to_mf()
332 else if (rate >= parent_rate * (mf.mfi + 1)) in clk_pllv3_vf610_rate_to_mf()
336 temp64 = rate - parent_rate * mf.mfi; in clk_pllv3_vf610_rate_to_mf()
353 mf.mfi = (readl_relaxed(pll->base) & pll->div_mask) ? 22 : 20; in clk_pllv3_vf610_recalc_rate()
375 if (mf.mfi == 20) in clk_pllv3_vf610_set_rate()
A Dclk.h79 unsigned int mfi; member
/linux-6.3-rc2/arch/powerpc/boot/
A 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-6.3-rc2/drivers/mtd/
A Dmtdchar.c51 struct mtd_file_info *mfi; in mtdchar_open() local
75 mfi = kzalloc(sizeof(*mfi), GFP_KERNEL); in mtdchar_open()
76 if (!mfi) { in mtdchar_open()
80 mfi->mtd = mtd; in mtdchar_open()
81 file->private_data = mfi; in mtdchar_open()
104 kfree(mfi); in mtdchar_close()
158 switch (mfi->mode) { in mtdchar_read()
252 switch (mfi->mode) { in mtdchar_write()
1115 switch (mfi->mode) { in mtdchar_ioctl()
1185 mfi->mode = 0; in mtdchar_ioctl()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lag/
A Dmp.c101 mp->fib.mfi = fi; in mlx5_lag_fib_set()
156 if (mp->fib.mfi == fi) in mlx5_lag_fib_route_event()
157 mp->fib.mfi = NULL; in mlx5_lag_fib_route_event()
162 if (mp->fib.mfi && mp->fib.mfi != fi && in mlx5_lag_fib_route_event()
173 mp->fib.mfi = NULL; in mlx5_lag_fib_route_event()
196 if (!mp->fib.mfi && !__mlx5_lag_is_active(ldev)) { in mlx5_lag_fib_route_event()
215 if (!mp->fib.mfi || mp->fib.mfi != fi) in mlx5_lag_fib_nexthop_event()
339 ldev->lag_mp.fib.mfi = NULL; in mlx5_lag_mp_reset()
350 mp->fib.mfi = NULL; in mlx5_lag_mp_init()
380 mp->fib.mfi = NULL; in mlx5_lag_mp_cleanup()
A Dmp.h19 const void *mfi; /* used in tracking fib events */ member
/linux-6.3-rc2/sound/soc/fsl/
A Dfsl_xcvr.c49 u8 mfi; /* min=0x18, max=0x38 */ member
54 { .mfi = 54, .mfn = 1, .mfd = 6, .fout = 1300000000, }, /* 1.3 GHz */
55 { .mfi = 32, .mfn = 96, .mfd = 125, .fout = 786432000, }, /* 8000 Hz */
56 { .mfi = 30, .mfn = 66, .mfd = 625, .fout = 722534400, }, /* 11025 Hz */
57 { .mfi = 29, .mfn = 1, .mfd = 6, .fout = 700000000, }, /* 700 MHz */
294 fsl_xcvr_ai_write(xcvr, FSL_XCVR_PLL_CTRL0, fsl_xcvr_pll_cfg[i].mfi, 0); in fsl_xcvr_en_phy_pll()
351 freq, fsl_xcvr_pll_cfg[i].fout, fsl_xcvr_pll_cfg[i].mfi, in fsl_xcvr_en_phy_pll()
/linux-6.3-rc2/arch/ia64/kernel/
A Dentry.S1039 }{ .mfi // cycle 1
1048 }{ .mfi // cycle 2
/linux-6.3-rc2/Documentation/scsi/
A DChangeLog.megaraid_sas246 1. Add the pad_0 in mfi frame structure to 0 to fix the
/linux-6.3-rc2/
A DMAINTAINERS21511 F: drivers/usb/misc/apple-mfi-fastcharge.c

Completed in 48 milliseconds