Home
last modified time | relevance | path

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

/drivers/mfd/
Dsta2x11-mfd.c60 struct sta2x11_mfd *mfd; in sta2x11_mfd_find() local
72 list_for_each_entry(mfd, &sta2x11_mfd_list, list) { in sta2x11_mfd_find()
73 if (mfd->instance == instance) in sta2x11_mfd_find()
74 return mfd; in sta2x11_mfd_find()
82 struct sta2x11_mfd *mfd = sta2x11_mfd_find(pdev); in sta2x11_mfd_add() local
85 if (mfd) in sta2x11_mfd_add()
90 mfd = kzalloc(sizeof(*mfd), flags); in sta2x11_mfd_add()
91 if (!mfd) in sta2x11_mfd_add()
93 INIT_LIST_HEAD(&mfd->list); in sta2x11_mfd_add()
94 for (i = 0; i < ARRAY_SIZE(mfd->lock); i++) in sta2x11_mfd_add()
[all …]
DMakefile31 obj-$(CONFIG_MFD_STA2X11) += sta2x11-mfd.o
97 obj-$(CONFIG_MFD_CORE) += mfd-core.o
173 obj-$(CONFIG_MFD_CS5535) += cs5535-mfd.o
196 obj-$(CONFIG_MFD_RETU) += retu-mfd.o
DKconfig708 There are mfd cell drivers available for i2c master, adc and
711 You need to select the mfd cell drivers separately.
/drivers/regulator/
Dtps65910-regulator.c315 struct tps65910 *mfd; member
398 struct tps65910 *mfd = pmic->mfd; in tps65910_set_mode() local
407 return tps65910_reg_update_bits(pmic->mfd, reg, in tps65910_set_mode()
412 return tps65910_reg_set_bits(mfd, reg, value); in tps65910_set_mode()
414 return tps65910_reg_clear_bits(mfd, reg, LDO_ST_ON_BIT); in tps65910_set_mode()
429 ret = tps65910_reg_read(pmic->mfd, reg, &value); in tps65910_get_mode()
449 ret = tps65910_reg_read(pmic->mfd, TPS65910_VDD1_OP, &opvsel); in tps65910_get_voltage_dcdc_sel()
452 ret = tps65910_reg_read(pmic->mfd, TPS65910_VDD1, &mult); in tps65910_get_voltage_dcdc_sel()
456 ret = tps65910_reg_read(pmic->mfd, TPS65910_VDD1_SR, &srvsel); in tps65910_get_voltage_dcdc_sel()
465 ret = tps65910_reg_read(pmic->mfd, TPS65910_VDD2_OP, &opvsel); in tps65910_get_voltage_dcdc_sel()
[all …]
Dtps6507x-regulator.c117 struct tps6507x_dev *mfd; member
127 err = tps->mfd->read_dev(tps->mfd, reg, 1, &val); in tps6507x_pmic_read()
137 return tps->mfd->write_dev(tps->mfd, reg, 1, &val); in tps6507x_pmic_write()
148 dev_err(tps->mfd->dev, "Read from reg 0x%x failed\n", reg); in tps6507x_pmic_set_bits()
156 dev_err(tps->mfd->dev, "Write for reg 0x%x failed\n", reg); in tps6507x_pmic_set_bits()
171 dev_err(tps->mfd->dev, "Read from reg 0x%x failed\n", reg); in tps6507x_pmic_clear_bits()
179 dev_err(tps->mfd->dev, "Write for reg 0x%x failed\n", reg); in tps6507x_pmic_clear_bits()
194 dev_err(tps->mfd->dev, "Read from reg 0x%x failed\n", reg); in tps6507x_pmic_reg_read()
208 dev_err(tps->mfd->dev, "Write for reg 0x%x failed\n", reg); in tps6507x_pmic_reg_write()
466 tps->mfd = tps6507x_dev; in tps6507x_pmic_probe()
Dbcm590xx-regulator.c204 struct bcm590xx *mfd; member
382 pmu->mfd = bcm590xx; in bcm590xx_probe()
/drivers/clk/imx/
Dclk-pllv3.c219 u32 mfd = readl_relaxed(pll->base + PLL_DENOM_OFFSET); in clk_pllv3_av_recalc_rate() local
224 do_div(temp64, mfd); in clk_pllv3_av_recalc_rate()
236 u32 mfn, mfd = 1000000; in clk_pllv3_av_round_rate() local
246 temp64 *= mfd; in clk_pllv3_av_round_rate()
252 do_div(temp64, mfd); in clk_pllv3_av_round_rate()
264 u32 mfn, mfd = 1000000; in clk_pllv3_av_set_rate() local
272 temp64 *= mfd; in clk_pllv3_av_set_rate()
281 writel_relaxed(mfd, pll->base + PLL_DENOM_OFFSET); in clk_pllv3_av_set_rate()
Dclk-pllv2.c80 long mfi, mfn, mfd, pdf, ref_clk; in __clk_pllv2_recalc_rate() local
89 mfd = dp_mfd & MXC_PLL_DP_MFD_MASK; in __clk_pllv2_recalc_rate()
99 do_div(temp, mfd + 1); in __clk_pllv2_recalc_rate()
129 long mfi, pdf, mfn, mfd = 999999; in __clk_pllv2_set_rate() local
148 *dp_mfd = mfd; in __clk_pllv2_set_rate()
Dclk-pllv1.c57 unsigned int mfi, mfn, mfd, pd; in clk_pllv1_recalc_rate() local
75 mfd = (reg >> 16) & 0x3ff; in clk_pllv1_recalc_rate()
99 do_div(ull, mfd + 1); in clk_pllv1_recalc_rate()
/drivers/input/touchscreen/
Dtps6507x-ts.c44 struct tps6507x_dev *mfd; member
53 return tsc->mfd->read_dev(tsc->mfd, reg, 1, data); in tps6507x_read_u8()
58 return tsc->mfd->write_dev(tsc->mfd, reg, 1, &data); in tps6507x_write_u8()
235 tsc->mfd = tps6507x_dev; in tps6507x_ts_probe()
/drivers/staging/nvec/
DKconfig10 called mfd-nvec
/drivers/
DMakefile69 obj-y += base/ block/ misc/ mfd/ nfc/
DKconfig85 source "drivers/mfd/Kconfig"
/drivers/block/
Dskd_main.c3265 u32 mfd; in skd_isr_msg_from_dev() local
3269 mfd = SKD_READL(skdev, FIT_MSG_FROM_DEVICE); in skd_isr_msg_from_dev()
3272 skdev->name, __func__, __LINE__, mfd, skdev->last_mtd); in skd_isr_msg_from_dev()
3275 if (FIT_MXD_TYPE(mfd) != FIT_MXD_TYPE(skdev->last_mtd)) in skd_isr_msg_from_dev()
3278 switch (FIT_MXD_TYPE(mfd)) { in skd_isr_msg_from_dev()
3280 skdev->proto_ver = FIT_PROTOCOL_MAJOR_VER(mfd); in skd_isr_msg_from_dev()
3300 skdev->dev_max_queue_depth = FIT_MXD_DATA(mfd); in skd_isr_msg_from_dev()
3330 skdev->drive_jiffies = FIT_MXD_DATA(mfd); in skd_isr_msg_from_dev()
3338 skdev->drive_jiffies |= (FIT_MXD_DATA(mfd) << 16); in skd_isr_msg_from_dev()
/drivers/cdrom/
Dcdrom.c445 struct mrw_feature_desc *mfd; in cdrom_is_mrw() local
461 mfd = (struct mrw_feature_desc *)&buffer[sizeof(struct feature_header)]; in cdrom_is_mrw()
462 if (be16_to_cpu(mfd->feature_code) != CDF_MRW) in cdrom_is_mrw()
464 *write = mfd->write; in cdrom_is_mrw()