/linux/drivers/clk/imx/ |
H A 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_determine_rate() local 137 mfd = parent_rate; in clk_pllv4_determine_rate() 140 temp64 *= mfd; in clk_pllv4_determine_rate() 147 * pair of mfn/mfd, we simply return the round_rate without using in clk_pllv4_determine_rate() 150 if (mfn >= mfd) { in clk_pllv4_determine_rate() 158 do_div(temp64, mfd); in clk_pllv4_determine_rate() 188 u32 val, mult, mfn, mfd in clk_pllv4_set_rate() local [all...] |
H A D | clk-pllv3.c | 222 u32 mfd = readl_relaxed(pll->base + pll->denom_offset); in clk_pllv3_av_recalc_rate() local 227 do_div(temp64, mfd); in clk_pllv3_av_recalc_rate() 239 u32 mfn, mfd = 1000000; in clk_pllv3_av_determine_rate() local 249 mfd = parent_rate; in clk_pllv3_av_determine_rate() 253 temp64 *= mfd; in clk_pllv3_av_determine_rate() 259 do_div(temp64, mfd); in clk_pllv3_av_determine_rate() 273 u32 mfn, mfd = 1000000; in clk_pllv3_av_set_rate() local 281 mfd = parent_rate; in clk_pllv3_av_set_rate() 285 temp64 *= mfd; in clk_pllv3_av_set_rate() 294 writel_relaxed(mfd, pl in clk_pllv3_av_set_rate() 311 u32 mfd; /* denominator, 30-bit value, must be less than mfn */ global() member [all...] |
H A D | clk-pllv2.c | 81 long mfi, mfn, mfd, pdf, ref_clk; in __clk_pllv2_recalc_rate() local 90 mfd = dp_mfd & MXC_PLL_DP_MFD_MASK; in __clk_pllv2_recalc_rate() 100 do_div(temp, mfd + 1); in __clk_pllv2_recalc_rate() 130 long mfi, pdf, mfn, mfd = 999999; in __clk_pllv2_set_rate() local 149 *dp_mfd = mfd; in __clk_pllv2_set_rate()
|
H A D | clk-pllv1.c | 58 unsigned int mfi, mfn, mfd, pd; in clk_pllv1_recalc_rate() local 69 * mfi + mfn / (mfd + 1) in clk_pllv1_recalc_rate() 76 mfd = (reg >> 16) & 0x3ff; in clk_pllv1_recalc_rate() 100 do_div(ull, mfd + 1); in clk_pllv1_recalc_rate()
|
/linux/drivers/fwctl/mlx5/ |
H A D | main.c | 128 struct mlx5ctl_uctx *mfd = in mlx5ctl_open_uctx() local 141 mfd->uctx_caps |= MLX5_UCTX_OBJECT_CAP_TOOLS_RESOURCES; in mlx5ctl_open_uctx() 143 uid = mlx5ctl_alloc_uid(mcdev, mfd->uctx_caps); in mlx5ctl_open_uctx() 147 mfd->uctx_uid = uid; in mlx5ctl_open_uctx() 155 struct mlx5ctl_uctx *mfd = in mlx5ctl_close_uctx() local 158 mlx5ctl_release_uid(mcdev, mfd->uctx_uid); in mlx5ctl_close_uctx() 163 struct mlx5ctl_uctx *mfd = in mlx5ctl_info() local 171 info->uid = mfd->uctx_uid; in mlx5ctl_info() 172 info->uctx_caps = mfd->uctx_caps; in mlx5ctl_info() 304 struct mlx5ctl_uctx *mfd in mlx5ctl_fw_rpc() local [all...] |
/linux/drivers/regulator/ |
H A 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 in tps65910_set_ext_sleep_config() [all...] |
H A 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 in tps6507x_pmic_clear_bits() [all...] |
/linux/tools/testing/selftests/memfd/ |
H A D | fuse_test.c | 231 int fd, mfd, r; in main() local 269 mfd = mfd_assert_new("kern_memfd_fuse", in main() 274 p = mfd_assert_mmap_shared(mfd); in main() 276 /* pass mfd+mapping to a separate sealing-thread which tries to seal in main() 278 global_mfd = mfd; in main() 298 was_sealed = mfd_assert_get_seals(mfd) & F_SEAL_WRITE; in main() 303 mfd_assert_has_seals(mfd, F_SEAL_WRITE); in main() 315 p = mfd_assert_mmap_private(mfd); in main() 324 close(mfd); in main()
|
/linux/samples/vfs/ |
H A D | test-fsmount.c | 105 int fsfd, mfd; in main() local 117 mfd = fsmount(fsfd, 0, MOUNT_ATTR_RDONLY); in main() 118 if (mfd < 0) in main() 122 if (move_mount(mfd, "", AT_FDCWD, "/mnt", MOVE_MOUNT_F_EMPTY_PATH) < 0) { in main() 127 E(close(mfd)); in main()
|
/linux/arch/arm64/boot/dts/sprd/ |
H A 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";
|
H A D | ums512.dtsi | 179 "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"; 244 "simple-mfd"; [all...] |
/linux/Documentation/devicetree/bindings/mips/ |
H A D | mscc.txt | 19 - compatible: Should be "mscc,ocelot-chip-regs", "simple-mfd", "syscon" 24 compatible = "mscc,ocelot-chip-regs", "simple-mfd", "syscon"; 35 - compatible: Should be "mscc,ocelot-hsio", "syscon", "simple-mfd" 40 compatible = "mscc,ocelot-hsio", "syscon", "simple-mfd";
|
/linux/arch/powerpc/boot/ |
H A D | mpc8xx.c | 24 int mfi, mfn, mfd, pdf; in mpc885_get_clock() local 43 mfd = (plprcr >> 22) & 0x1f; in mpc885_get_clock() 49 ret += crystal * mfn / (mfd + 1); in mpc885_get_clock()
|
/linux/drivers/input/touchscreen/ |
H A D | tps6507x-ts.c | 21 #include <linux/mfd/tps6507x.h> 43 struct tps6507x_dev *mfd; member 52 return tsc->mfd->read_dev(tsc->mfd, reg, 1, data); in tps6507x_read_u8() 57 return tsc->mfd->write_dev(tsc->mfd, reg, 1, &data); in tps6507x_write_u8() 230 tsc->mfd = tps6507x_dev; in tps6507x_ts_probe()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | pe_preserve_elems.c | 12 int err, key = 0, pfd = -1, mfd = bpf_map__fd(map); in test_one_map() local 25 err = bpf_map_update_elem(mfd, &key, &pfd, BPF_ANY); in test_one_map() 37 /* closing mfd, prog still holds a reference on map */ in test_one_map() 38 close(mfd); in test_one_map()
|
/linux/drivers/clk/ |
H A D | clk-plldig.c | 191 unsigned int mfd, fracdiv = 0; in plldig_init() local 199 mfd = data->vco_freq / parent_rate; in plldig_init() 205 mfd = PLLDIG_DEFAULT_MFD; in plldig_init() 206 data->vco_freq = parent_rate * mfd; in plldig_init() 209 val = FIELD_PREP(PLLDIG_MFD_MASK, mfd); in plldig_init()
|
/linux/arch/arm64/boot/dts/realtek/ |
H A D | rtd139x.dtsi | 65 compatible = "syscon", "simple-mfd"; 74 compatible = "syscon", "simple-mfd"; 83 compatible = "syscon", "simple-mfd"; 92 compatible = "syscon", "simple-mfd"; 101 compatible = "syscon", "simple-mfd";
|
/linux/drivers/mfd/ |
H A D | rohm-bd718x7.c | 14 #include <linux/mfd/rohm-bd718x7.h> 15 #include <linux/mfd/core.h> 135 struct mfd_cell *mfd; in bd718xx_i2c_probe() local 146 mfd = bd71837_mfd_cells; in bd718xx_i2c_probe() 150 mfd = bd71847_mfd_cells; in bd718xx_i2c_probe() 181 mfd, cells, NULL, 0, in bd718xx_i2c_probe()
|
/linux/arch/arm/boot/dts/realtek/ |
H A D | rtd1195.dtsi | 105 compatible = "syscon", "simple-mfd"; 114 compatible = "syscon", "simple-mfd"; 123 compatible = "syscon", "simple-mfd"; 132 compatible = "syscon", "simple-mfd"; 141 compatible = "syscon", "simple-mfd";
|
/linux/Documentation/devicetree/bindings/thermal/ |
H A D | max77620_thermal.txt | 18 Please refer <devicetree/bindings/mfd/max77620.txt> for mfd DT binding 23 #include <dt-bindings/mfd/max77620.h>
|
/linux/Documentation/devicetree/bindings/misc/ |
H A D | aspeed-p2a-ctrl.txt | 29 "aspeed,ast2400-scu", "syscon", "simple-mfd" 30 "aspeed,ast2500-scu", "syscon", "simple-mfd" 39 compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";
|
/linux/arch/m68k/coldfire/ |
H A D | m53xx.c | 472 int fref, temp, fout, mfd; in clock_pll() local 479 mfd = readb(MCF_PLL_PFDR); in clock_pll() 481 return (fref * mfd / (BUSDIV * 4)); in clock_pll() 491 and then dividing by 100 to calculate the mfd allows in clock_pll() 495 mfd = 4 * BUSDIV * temp / 100; in clock_pll() 498 fout = (fref * mfd / (BUSDIV * 4)); in clock_pll() 522 writeb(mfd, MCF_PLL_PFDR); in clock_pll()
|
/linux/Documentation/devicetree/bindings/arm/ |
H A D | syna.txt | 59 "simple-mfd", "syscon" 72 "simple-mfd", "syscon" 78 compatible = "simple-mfd", "syscon"; 85 compatible = "simple-mfd", "syscon";
|
/linux/arch/arm64/boot/dts/apple/ |
H A D | t600x-dieX.dtsi | 28 compatible = "apple,t6000-pmgr", "apple,pmgr", "syscon", "simple-mfd"; 35 compatible = "apple,t6000-pmgr", "apple,pmgr", "syscon", "simple-mfd"; 42 compatible = "apple,t6000-pmgr", "apple,pmgr", "syscon", "simple-mfd"; 71 compatible = "apple,t6000-pmgr", "apple,pmgr", "syscon", "simple-mfd";
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-lm3697.txt | 30 - ti,brightness-resolution - see Documentation/devicetree/bindings/mfd/ti-lmu.txt 31 - ramp-up-us: see Documentation/devicetree/bindings/mfd/ti-lmu.txt 32 - ramp-down-us: see Documentation/devicetree/bindings/mfd/ti-lmu.txt
|