/Linux-v6.1/drivers/usb/misc/ |
D | apple-mfi-fastcharge.c | 50 static int apple_mfi_fc_set_charge_type(struct mfi_device *mfi, in apple_mfi_fc_set_charge_type() argument 57 if (mfi->charge_type == val->intval) { in apple_mfi_fc_set_charge_type() 58 dev_dbg(&mfi->udev->dev, "charge type %d already set\n", in apple_mfi_fc_set_charge_type() 59 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() 82 dev_dbg(&mfi->udev->dev, "retval = %d\n", retval); in apple_mfi_fc_set_charge_type() 86 mfi->charge_type = val->intval; in apple_mfi_fc_set_charge_type() 95 struct mfi_device *mfi = power_supply_get_drvdata(psy); in apple_mfi_fc_get_property() local 97 dev_dbg(&mfi->udev->dev, "prop: %d\n", psp); in apple_mfi_fc_get_property() 101 val->intval = mfi->charge_type; in apple_mfi_fc_get_property() [all …]
|
D | Makefile | 14 obj-$(CONFIG_APPLE_MFI_FASTCHARGE) += apple-mfi-fastcharge.o
|
/Linux-v6.1/drivers/clk/imx/ |
D | clk-pllv2.c | 81 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 …]
|
D | clk-pllv1.c | 58 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()
|
D | clk-fracn-gppll.c | 48 .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()
|
D | clk-pllv3.c | 303 u32 mfi; /* integer part, can be 20 or 22 */ member 317 return (parent_rate * mf.mfi) + temp64; in clk_pllv3_vf610_mf_to_rate() 326 mf.mfi = (rate >= 22 * parent_rate) ? 22 : 20; in clk_pllv3_vf610_rate_to_mf() 329 if (rate <= parent_rate * mf.mfi) in clk_pllv3_vf610_rate_to_mf() 331 else if (rate >= parent_rate * (mf.mfi + 1)) in clk_pllv3_vf610_rate_to_mf() 335 temp64 = rate - parent_rate * mf.mfi; in clk_pllv3_vf610_rate_to_mf() 352 mf.mfi = (readl_relaxed(pll->base) & pll->div_mask) ? 22 : 20; in clk_pllv3_vf610_recalc_rate() 374 if (mf.mfi == 20) in clk_pllv3_vf610_set_rate()
|
D | clk.h | 79 unsigned int mfi; member
|
/Linux-v6.1/arch/powerpc/boot/ |
D | mpc8xx.c | 24 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-v6.1/drivers/mtd/ |
D | mtdchar.c | 41 struct mtd_file_info *mfi = file->private_data; in mtdchar_lseek() local 42 return fixed_size_llseek(file, offset, orig, mfi->mtd->size); in mtdchar_lseek() 51 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() 93 struct mtd_file_info *mfi = file->private_data; in mtdchar_close() local 94 struct mtd_info *mtd = mfi->mtd; in mtdchar_close() 104 kfree(mfi); in mtdchar_close() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
D | mp.c | 105 mp->fib.mfi = fi; in mlx5_lag_fib_set() 132 if (mp->fib.mfi == fi) in mlx5_lag_fib_route_event() 133 mp->fib.mfi = NULL; in mlx5_lag_fib_route_event() 138 if (mp->fib.mfi && mp->fib.mfi != fi && in mlx5_lag_fib_route_event() 178 if (!mp->fib.mfi && !__mlx5_lag_is_active(ldev)) { in mlx5_lag_fib_route_event() 197 if (!mp->fib.mfi || mp->fib.mfi != fi) in mlx5_lag_fib_nexthop_event() 326 ldev->lag_mp.fib.mfi = NULL; in mlx5_lag_mp_reset() 337 mp->fib.mfi = NULL; in mlx5_lag_mp_init() 367 mp->fib.mfi = NULL; in mlx5_lag_mp_cleanup()
|
D | mp.h | 19 const void *mfi; /* used in tracking fib events */ member
|
/Linux-v6.1/sound/soc/fsl/ |
D | fsl_xcvr.c | 47 u8 mfi; /* min=0x18, max=0x38 */ member 52 { .mfi = 54, .mfn = 1, .mfd = 6, .fout = 1300000000, }, /* 1.3 GHz */ 53 { .mfi = 32, .mfn = 96, .mfd = 125, .fout = 786432000, }, /* 8000 Hz */ 54 { .mfi = 30, .mfn = 66, .mfd = 625, .fout = 722534400, }, /* 11025 Hz */ 55 { .mfi = 29, .mfn = 1, .mfd = 6, .fout = 700000000, }, /* 700 MHz */ 289 fsl_xcvr_ai_write(xcvr, FSL_XCVR_PLL_CTRL0, fsl_xcvr_pll_cfg[i].mfi, 0); in fsl_xcvr_en_phy_pll() 346 freq, fsl_xcvr_pll_cfg[i].fout, fsl_xcvr_pll_cfg[i].mfi, in fsl_xcvr_en_phy_pll()
|
/Linux-v6.1/arch/ia64/kernel/ |
D | entry.S | 1039 }{ .mfi // cycle 1 1048 }{ .mfi // cycle 2
|
/Linux-v6.1/Documentation/scsi/ |
D | ChangeLog.megaraid_sas | 246 1. Add the pad_0 in mfi frame structure to 0 to fix the
|
/Linux-v6.1/ |
D | MAINTAINERS | 21172 F: drivers/usb/misc/apple-mfi-fastcharge.c
|