| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | sta2x11-mfd.c | 3 * STA2x11 mfd for GPIO, SCTL and APBREG 22 #include <linux/mfd/core.h> 23 #include <linux/mfd/sta2x11-mfd.h> 35 /* This describes STA2X11 MFD chip for us, we may have several */ 50 struct sta2x11_mfd *mfd; in sta2x11_mfd_find() local 62 list_for_each_entry(mfd, &sta2x11_mfd_list, list) { in sta2x11_mfd_find() 63 if (mfd->instance == instance) in sta2x11_mfd_find() 64 return mfd; in sta2x11_mfd_find() 72 struct sta2x11_mfd *mfd = sta2x11_mfd_find(pdev); in sta2x11_mfd_add() local 75 if (mfd) in sta2x11_mfd_add() [all …]
|
| D | mt6397-core.c | 13 #include <linux/mfd/core.h> 14 #include <linux/mfd/mt6323/core.h> 15 #include <linux/mfd/mt6358/core.h> 16 #include <linux/mfd/mt6397/core.h> 17 #include <linux/mfd/mt6323/registers.h> 18 #include <linux/mfd/mt6358/registers.h> 19 #include <linux/mfd/mt6397/registers.h> 174 * mt6397 MFD is child device of soc pmic wrapper. in mt6397_probe()
|
| /kernel/linux/linux-6.6/drivers/mfd/ |
| D | sta2x11-mfd.c | 3 * STA2x11 mfd for GPIO, SCTL and APBREG 22 #include <linux/mfd/core.h> 23 #include <linux/mfd/sta2x11-mfd.h> 35 /* This describes STA2X11 MFD chip for us, we may have several */ 50 struct sta2x11_mfd *mfd; in sta2x11_mfd_find() local 62 list_for_each_entry(mfd, &sta2x11_mfd_list, list) { in sta2x11_mfd_find() 63 if (mfd->instance == instance) in sta2x11_mfd_find() 64 return mfd; in sta2x11_mfd_find() 72 struct sta2x11_mfd *mfd = sta2x11_mfd_find(pdev); in sta2x11_mfd_add() local 75 if (mfd) in sta2x11_mfd_add() [all …]
|
| D | mt6397-core.c | 14 #include <linux/mfd/core.h> 15 #include <linux/mfd/mt6323/core.h> 16 #include <linux/mfd/mt6331/core.h> 17 #include <linux/mfd/mt6357/core.h> 18 #include <linux/mfd/mt6358/core.h> 19 #include <linux/mfd/mt6359/core.h> 20 #include <linux/mfd/mt6397/core.h> 21 #include <linux/mfd/mt6323/registers.h> 22 #include <linux/mfd/mt6331/registers.h> 23 #include <linux/mfd/mt6357/registers.h> [all …]
|
| D | simple-mfd-i2c.c | 3 * Simple MFD - I2C 14 * represented by child nodes in Device Tree or via the MFD cells in this file 20 #include <linux/mfd/core.h> 25 #include "simple-mfd-i2c.h" 51 /* If no MFD cells are specified, register using the DT child nodes instead */ in simple_mfd_i2c_probe() 98 .name = "simple-mfd-i2c", 105 MODULE_DESCRIPTION("Simple MFD - I2C driver");
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
| D | 0029_linux_drivers_mfd.patch | 9 diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig 11 --- a/drivers/mfd/Kconfig 12 +++ b/drivers/mfd/Kconfig 24 + those functionalities between the right drivers, this MFD populates 31 diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile 33 --- a/drivers/mfd/Makefile 34 +++ b/drivers/mfd/Makefile 43 diff --git a/drivers/mfd/imx-mix.c b/drivers/mfd/imx-mix.c 47 +++ b/drivers/mfd/imx-mix.c 65 +#include <linux/mfd/core.h>
|
| /kernel/linux/linux-5.10/drivers/clk/imx/ |
| D | clk-pllv4.c | 72 u32 mult, mfn, mfd; in clk_pllv4_recalc_rate() local 80 mfd = readl_relaxed(pll->base + PLL_DENOM_OFFSET); in clk_pllv4_recalc_rate() 83 do_div(temp64, mfd); in clk_pllv4_recalc_rate() 93 u32 mfn, mfd = DEFAULT_MFD; in clk_pllv4_round_rate() local 112 mfd = parent_rate; in clk_pllv4_round_rate() 115 temp64 *= mfd; in clk_pllv4_round_rate() 122 * pair of mfn/mfd, we simply return the round_rate without using in clk_pllv4_round_rate() 125 if (mfn >= mfd) in clk_pllv4_round_rate() 130 do_div(temp64, mfd); in clk_pllv4_round_rate() 152 u32 val, mult, mfn, mfd = DEFAULT_MFD; in clk_pllv4_set_rate() local [all …]
|
| D | clk-pllv3.c | 218 u32 mfd = readl_relaxed(pll->base + pll->denom_offset); in clk_pllv3_av_recalc_rate() local 223 do_div(temp64, mfd); in clk_pllv3_av_recalc_rate() 235 u32 mfn, mfd = 1000000; in clk_pllv3_av_round_rate() local 245 mfd = parent_rate; in clk_pllv3_av_round_rate() 249 temp64 *= mfd; in clk_pllv3_av_round_rate() 255 do_div(temp64, mfd); in clk_pllv3_av_round_rate() 267 u32 mfn, mfd = 1000000; in clk_pllv3_av_set_rate() local 275 mfd = parent_rate; in clk_pllv3_av_set_rate() 279 temp64 *= mfd; in clk_pllv3_av_set_rate() 288 writel_relaxed(mfd, pll->base + pll->denom_offset); in clk_pllv3_av_set_rate() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/imx/ |
| D | clk-pllv4.c | 82 u32 mult, mfn, mfd; in clk_pllv4_recalc_rate() local 90 mfd = readl_relaxed(pll->base + pll->denom_offset); in clk_pllv4_recalc_rate() 93 do_div(temp64, mfd); in clk_pllv4_recalc_rate() 104 u32 mfn, mfd = DEFAULT_MFD; in clk_pllv4_round_rate() local 135 mfd = parent_rate; in clk_pllv4_round_rate() 138 temp64 *= mfd; in clk_pllv4_round_rate() 145 * pair of mfn/mfd, we simply return the round_rate without using in clk_pllv4_round_rate() 148 if (mfn >= mfd) in clk_pllv4_round_rate() 153 do_div(temp64, mfd); in clk_pllv4_round_rate() 181 u32 val, mult, mfn, mfd = DEFAULT_MFD; in clk_pllv4_set_rate() local [all …]
|
| D | clk-pllv3.c | 219 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 mfd = parent_rate; in clk_pllv3_av_round_rate() 250 temp64 *= mfd; in clk_pllv3_av_round_rate() 256 do_div(temp64, mfd); in clk_pllv3_av_round_rate() 268 u32 mfn, mfd = 1000000; in clk_pllv3_av_set_rate() local 276 mfd = parent_rate; in clk_pllv3_av_set_rate() 280 temp64 *= mfd; in clk_pllv3_av_set_rate() 289 writel_relaxed(mfd, pll->base + pll->denom_offset); in clk_pllv3_av_set_rate() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| D | maxim,max77686.txt | 4 multi-function device. More information can be found in MFD DT binding 6 bindings/mfd/max77686.txt for MAX77686 and 7 bindings/mfd/max77802.txt for MAX77802 and 8 bindings/mfd/max77620.txt for MAX77620. 23 Following properties should be presend in main device node of the MFD chip. 48 Node of the MFD chip 73 Node of the MFD chip 99 Node of the MFD chip
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | maxim,max77686.txt | 4 multi-function device. More information can be found in MFD DT binding 6 bindings/mfd/max77686.txt for MAX77686 and 7 bindings/mfd/max77802.txt for MAX77802 and 8 bindings/mfd/max77620.txt for MAX77620. 23 Following properties should be presend in main device node of the MFD chip. 48 Node of the MFD chip 73 Node of the MFD chip 99 Node of the MFD chip
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/ |
| D | arm,realview.yaml | 85 - const: simple-mfd 90 - const: simple-mfd 94 - const: simple-mfd 98 - const: simple-mfd 102 - const: simple-mfd 106 - const: simple-mfd 110 - const: simple-mfd
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/arm/ |
| D | arm,realview.yaml | 85 - const: simple-mfd 90 - const: simple-mfd 94 - const: simple-mfd 98 - const: simple-mfd 102 - const: simple-mfd 106 - const: simple-mfd 110 - const: simple-mfd
|
| /kernel/linux/linux-5.10/drivers/watchdog/ |
| D | bd70528_wdt.c | 7 #include <linux/mfd/rohm-bd70528.h> 28 struct rohm_regmap_dev *mfd; member 133 return bd70528_wdt_set(w->mfd, enable, NULL); in bd70528_wdt_set_locked() 140 bd70528_wdt_lock(w->mfd); in bd70528_wdt_change() 142 bd70528_wdt_unlock(w->mfd); in bd70528_wdt_change() 180 bd70528_wdt_lock(w->mfd); in bd70528_wdt_set_timeout() 208 bd70528_wdt_unlock(w->mfd); in bd70528_wdt_set_timeout() 233 dev_err(&pdev->dev, "No MFD driver data\n"); in bd70528_wdt_probe() 241 w->mfd = bd70528; in bd70528_wdt_probe() 259 bd70528_wdt_lock(w->mfd); in bd70528_wdt_probe() [all …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | tps65910-regulator.c | 20 #include <linux/mfd/tps65910.h> 309 struct tps65910 *mfd; member 824 struct tps65910 *mfd = pmic->mfd; in tps65910_set_ext_sleep_config() local 844 dev_err(mfd->dev, in tps65910_set_ext_sleep_config() 854 ret = regmap_set_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 857 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 860 dev_err(mfd->dev, in tps65910_set_ext_sleep_config() 867 ret = regmap_set_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 870 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 873 dev_err(mfd->dev, in tps65910_set_ext_sleep_config() [all …]
|
| D | tps6507x-regulator.c | 20 #include <linux/mfd/tps6507x.h> 109 struct tps6507x_dev *mfd; member 118 err = tps->mfd->read_dev(tps->mfd, reg, 1, &val); in tps6507x_pmic_read() 128 return tps->mfd->write_dev(tps->mfd, reg, 1, &val); in tps6507x_pmic_write() 139 dev_err(tps->mfd->dev, "Read from reg 0x%x failed\n", reg); in tps6507x_pmic_set_bits() 147 dev_err(tps->mfd->dev, "Write for reg 0x%x failed\n", reg); in tps6507x_pmic_set_bits() 162 dev_err(tps->mfd->dev, "Read from reg 0x%x failed\n", reg); in tps6507x_pmic_clear_bits() 170 dev_err(tps->mfd->dev, "Write for reg 0x%x failed\n", reg); in tps6507x_pmic_clear_bits() 185 dev_err(tps->mfd->dev, "Read from reg 0x%x failed\n", reg); in tps6507x_pmic_reg_read() 199 dev_err(tps->mfd->dev, "Write for reg 0x%x failed\n", reg); in tps6507x_pmic_reg_write() [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | tps65910-regulator.c | 21 #include <linux/mfd/tps65910.h> 310 struct tps65910 *mfd; member 825 struct tps65910 *mfd = pmic->mfd; in tps65910_set_ext_sleep_config() local 845 dev_err(mfd->dev, in tps65910_set_ext_sleep_config() 855 ret = regmap_set_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 858 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 861 dev_err(mfd->dev, in tps65910_set_ext_sleep_config() 868 ret = regmap_set_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 871 ret = regmap_clear_bits(mfd->regmap, in tps65910_set_ext_sleep_config() 874 dev_err(mfd->dev, in tps65910_set_ext_sleep_config() [all …]
|
| D | tps6507x-regulator.c | 28 #include <linux/mfd/tps6507x.h> 117 struct tps6507x_dev *mfd; member 126 err = tps->mfd->read_dev(tps->mfd, reg, 1, &val); in tps6507x_pmic_read() 136 return tps->mfd->write_dev(tps->mfd, reg, 1, &val); in tps6507x_pmic_write() 147 dev_err(tps->mfd->dev, "Read from reg 0x%x failed\n", reg); in tps6507x_pmic_set_bits() 155 dev_err(tps->mfd->dev, "Write for reg 0x%x failed\n", reg); in tps6507x_pmic_set_bits() 170 dev_err(tps->mfd->dev, "Read from reg 0x%x failed\n", reg); in tps6507x_pmic_clear_bits() 178 dev_err(tps->mfd->dev, "Write for reg 0x%x failed\n", reg); in tps6507x_pmic_clear_bits() 193 dev_err(tps->mfd->dev, "Read from reg 0x%x failed\n", reg); in tps6507x_pmic_reg_read() 207 dev_err(tps->mfd->dev, "Write for reg 0x%x failed\n", reg); in tps6507x_pmic_reg_write() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | mfd.txt | 1 Multi-Function Devices (MFD) 6 A typical MFD can be: 20 - compatible : "simple-mfd" - this signifies that the operating system should 21 consider all subnodes of the MFD device as separate devices akin to how 41 compatible = "syscon", "simple-mfd";
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | mfd.txt | 1 Multi-Function Devices (MFD) 6 A typical MFD can be: 20 - compatible : "simple-mfd" - this signifies that the operating system should 21 consider all subnodes of the MFD device as separate devices akin to how 41 compatible = "syscon", "simple-mfd";
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/sprd/ |
| D | sharkl3.dtsi | 21 "simple-mfd"; 36 "simple-mfd"; 53 "simple-mfd"; 68 "simple-mfd"; 85 "simple-mfd"; 100 "simple-mfd"; 117 "simple-mfd"; 132 "simple-mfd"; 147 "simple-mfd";
|
| D | ums512.dtsi | 173 "simple-mfd"; 190 "simple-mfd"; 196 "simple-mfd"; 202 "simple-mfd"; 208 "simple-mfd"; 214 "simple-mfd"; 220 "simple-mfd"; 226 "simple-mfd"; 232 "simple-mfd"; 238 "simple-mfd"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/sprd/ |
| D | sharkl3.dtsi | 21 "simple-mfd"; 36 "simple-mfd"; 53 "simple-mfd"; 68 "simple-mfd"; 85 "simple-mfd"; 100 "simple-mfd"; 117 "simple-mfd"; 132 "simple-mfd"; 147 "simple-mfd";
|
| /kernel/linux/linux-5.10/drivers/clk/ |
| D | clk-bd718x7.c | 10 #include <linux/mfd/rohm-generic.h> 34 struct rohm_regmap_dev *mfd; member 39 return regmap_update_bits(c->mfd->regmap, c->reg, c->mask, status); in bd71837_clk_set() 65 rval = regmap_read(c->mfd->regmap, c->reg, &enabled); in bd71837_clk_is_enabled() 85 struct rohm_regmap_dev *mfd = dev_get_drvdata(parent); in bd71837_clk_probe() local 122 c->mfd = mfd; in bd71837_clk_probe()
|