Home
last modified time | relevance | path

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

12345678910>>...24

/linux/drivers/mfd/
A D.built-in.a.cmd1mfd/built-in.a := echo >/dev/null; rm -f drivers/mfd/built-in.a; /usr/bin/ccache /home/test/worksp…
A Dsta2x11-mfd.c50 struct sta2x11_mfd *mfd; in sta2x11_mfd_find() local
64 return mfd; in sta2x11_mfd_find()
75 if (mfd) in sta2x11_mfd_add()
80 mfd = kzalloc(sizeof(*mfd), flags); in sta2x11_mfd_add()
81 if (!mfd) in sta2x11_mfd_add()
100 if (!mfd) { in __sta2x11_mfd_mask()
105 regs = mfd->regs[index]; in __sta2x11_mfd_mask()
127 struct sta2x11_mfd *mfd; in sta2x11_mfd_get_regs_data() local
132 if (!mfd) in sta2x11_mfd_get_regs_data()
307 if (!mfd) in sta2x11_mfd_platform_probe()
[all …]
/linux/drivers/clk/imx/
A Dclk-pllv4.c78 u32 mult, mfn, mfd; in clk_pllv4_recalc_rate() local
86 mfd = readl_relaxed(pll->base + pll->denom_offset); in clk_pllv4_recalc_rate()
89 do_div(temp64, mfd); in clk_pllv4_recalc_rate()
99 u32 mfn, mfd = DEFAULT_MFD; in clk_pllv4_round_rate() local
118 mfd = parent_rate; in clk_pllv4_round_rate()
121 temp64 *= mfd; in clk_pllv4_round_rate()
131 if (mfn >= mfd) in clk_pllv4_round_rate()
136 do_div(temp64, mfd); in clk_pllv4_round_rate()
158 u32 val, mult, mfn, mfd = DEFAULT_MFD; in clk_pllv4_set_rate() local
167 mfd = parent_rate; in clk_pllv4_set_rate()
[all …]
A Dclk-pllv3.c223 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()
315 do_div(temp64, mf.mfd); in clk_pllv3_vf610_mf_to_rate()
332 mf.mfn = mf.mfd - 1; in clk_pllv3_vf610_rate_to_mf()
[all …]
A Dclk-pllv2.c81 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()
/linux/drivers/regulator/
A Dtps65910-regulator.c310 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()
861 dev_err(mfd->dev, in tps65910_set_ext_sleep_config()
874 dev_err(mfd->dev, in tps65910_set_ext_sleep_config()
889 dev_err(mfd->dev, in tps65910_set_ext_sleep_config()
904 dev_err(mfd->dev, in tps65910_set_ext_sleep_config()
934 dev_err(mfd->dev, in tps65910_set_ext_sleep_config()
957 dev_err(mfd->dev, in tps65910_set_ext_sleep_config()
[all …]
A Dtps6507x-regulator.c117 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()
404 tps->mfd = tps6507x_dev; in tps6507x_pmic_probe()
/linux/tools/testing/selftests/memfd/
A Dfuse_test.c230 int fd, mfd, r; in main() local
268 mfd = mfd_assert_new("kern_memfd_fuse", in main()
273 p = mfd_assert_mmap_shared(mfd); in main()
277 global_mfd = mfd; in main()
297 was_sealed = mfd_assert_get_seals(mfd) & F_SEAL_WRITE; in main()
302 mfd_assert_has_seals(mfd, F_SEAL_WRITE); in main()
314 p = mfd_assert_mmap_private(mfd); in main()
323 close(mfd); in main()
/linux/arch/arm64/boot/dts/sprd/
A Dsharkl3.dtsi21 "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";
/linux/samples/vfs/
A Dtest-fsmount.c105 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/Documentation/devicetree/bindings/arm/
A Darm,realview.yaml85 - 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
/linux/drivers/input/touchscreen/
A Dtps6507x-ts.c43 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()
232 tsc->mfd = tps6507x_dev; in tps6507x_ts_probe()
/linux/Documentation/devicetree/bindings/pinctrl/
A Daspeed,ast2500-pinctrl.yaml17 "aspeed,ast2500-scu", "syscon", "simple-mfd"
18 "aspeed,g5-scu", "syscon", "simple-mfd"
21 Documentation/devicetree/bindings/mfd/syscon.yaml
80 compatible = "aspeed,ast2500-scu", "syscon", "simple-mfd";
106 compatible = "aspeed,ast2500-lpc", "simple-mfd";
114 compatible = "aspeed,ast2500-lpc-host", "simple-mfd", "syscon";
/linux/arch/powerpc/boot/
A Dmpc8xx.c24 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/Documentation/devicetree/bindings/mips/
A Dmscc.txt19 - compatible: Should be "mscc,ocelot-chip-regs", "simple-mfd", "syscon"
24 compatible = "mscc,ocelot-chip-regs", "simple-mfd", "syscon";
52 - compatible: Should be "mscc,ocelot-hsio", "syscon", "simple-mfd"
57 compatible = "mscc,ocelot-hsio", "syscon", "simple-mfd";
/linux/arch/um/drivers/
A Dslip_user.c130 int sfd, mfd, err; in slip_open() local
138 mfd = err; in slip_open()
140 err = open(ptsname(mfd), O_RDWR, 0); in slip_open()
182 return mfd; in slip_open()
186 close(mfd); in slip_open()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dpe_preserve_elems.c12 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()
38 close(mfd); in test_one_map()
/linux/Documentation/devicetree/bindings/clock/
A Doxnas,stdclk.txt14 "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd"
16 "oxsemi,ox820-sys-ctrl", "syscon", "simple-mfd"
21 compatible = "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd";
/linux/drivers/clk/
A Dclk-plldig.c193 unsigned int mfd, fracdiv = 0; in plldig_init() local
201 mfd = data->vco_freq / parent_rate; in plldig_init()
207 mfd = PLLDIG_DEFAULT_MFD; in plldig_init()
208 data->vco_freq = parent_rate * mfd; in plldig_init()
211 val = FIELD_PREP(PLLDIG_MFD_MASK, mfd); in plldig_init()
/linux/arch/arm64/boot/dts/realtek/
A Drtd139x.dtsi65 compatible = "syscon", "simple-mfd";
74 compatible = "syscon", "simple-mfd";
83 compatible = "syscon", "simple-mfd";
92 compatible = "syscon", "simple-mfd";
101 compatible = "syscon", "simple-mfd";
A Drtd129x.dtsi67 compatible = "syscon", "simple-mfd";
76 compatible = "syscon", "simple-mfd";
85 compatible = "syscon", "simple-mfd";
94 compatible = "syscon", "simple-mfd";
103 compatible = "syscon", "simple-mfd";
/linux/Documentation/devicetree/bindings/reset/
A Doxnas,reset.txt14 "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd"
16 "oxsemi,ox820-sys-ctrl", "syscon", "simple-mfd"
25 compatible = "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd";
/linux/Documentation/devicetree/bindings/thermal/
A Dbrcm,avs-ro-thermal.yaml17 "brcm,bcm2711-avs-monitor", "syscon", "simple-mfd"
20 Documentation/devicetree/bindings/mfd/syscon.yaml
40 "syscon", "simple-mfd";
/linux/arch/arm/boot/dts/
A Drtd1195.dtsi105 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/mfd/
A Dxylon,logicvc.yaml5 $id: "http://devicetree.org/schemas/mfd/xylon,logicvc.yaml#"
24 - const: simple-mfd
61 compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd";

Completed in 34 milliseconds

12345678910>>...24