Home
last modified time | relevance | path

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

12345678910>>...23

/linux-6.15/drivers/clk/imx/
H A Dclk-pllv4.c82 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()
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
190 mfd = parent_rate; in clk_pllv4_set_rate()
[all …]
H A Dclk-pllv3.c224 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()
316 do_div(temp64, mf.mfd); in clk_pllv3_vf610_mf_to_rate()
333 mf.mfn = mf.mfd - 1; in clk_pllv3_vf610_rate_to_mf()
[all …]
H A Dclk-fracn-gppll.c51 .mfd = (_mfd), \
61 .mfd = 0, \
158 u32 mfi, mfn, mfd, rdiv, odiv; in clk_fracn_gppll_recalc_rate() local
167 mfd = FIELD_GET(PLL_MFD_MASK, pll_denominator); in clk_fracn_gppll_recalc_rate()
183 rate_table[i].mfd == mfd && rate_table[i].rdiv == rdiv && in clk_fracn_gppll_recalc_rate()
211 fvco = fvco * mfi * mfd + fvco * mfn; in clk_fracn_gppll_recalc_rate()
212 do_div(fvco, mfd * rdiv * odiv); in clk_fracn_gppll_recalc_rate()
259 writel_relaxed(rate->mfd, pll->base + PLL_DENOMINATOR); in clk_fracn_gppll_set_rate()
/linux-6.15/drivers/fwctl/mlx5/
H A Dmain.c128 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-6.15/drivers/regulator/
H A Dtps65910-regulator.c309 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()
860 dev_err(mfd->dev, in tps65910_set_ext_sleep_config()
873 dev_err(mfd->dev, in tps65910_set_ext_sleep_config()
888 dev_err(mfd->dev, in tps65910_set_ext_sleep_config()
903 dev_err(mfd->dev, in tps65910_set_ext_sleep_config()
933 dev_err(mfd->dev, in tps65910_set_ext_sleep_config()
956 dev_err(mfd->dev, in tps65910_set_ext_sleep_config()
[all …]
H A Dtps6507x-regulator.c109 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()
396 tps->mfd = tps6507x_dev; in tps6507x_pmic_probe()
/linux-6.15/tools/testing/selftests/memfd/
H A Dfuse_test.c231 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()
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-6.15/samples/vfs/
H 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-6.15/arch/arm64/boot/dts/sprd/
H 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";
H A Dums512.dtsi179 "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-6.15/Documentation/devicetree/bindings/mfd/
H A Dsprd,ums512-glbreg.yaml5 $id: http://devicetree.org/schemas/mfd/sprd,ums512-glbreg.yaml#
26 - const: simple-mfd
56 compatible = "sprd,ums512-glbregs", "syscon", "simple-mfd";
71 compatible = "sprd,ums512-glbregs", "syscon", "simple-mfd";
H A Dbrcm,twd.yaml4 $id: http://devicetree.org/schemas/mfd/brcm,twd.yaml#
24 - const: simple-mfd
52 timer-mfd@ff800400 {
53 compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon";
H A Dti,nspire-misc.yaml5 $id: http://devicetree.org/schemas/mfd/ti,nspire-misc.yaml#
25 - const: simple-mfd
43 compatible = "ti,nspire-misc", "syscon", "simple-mfd";
H 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";
H A Dbrcm,misc.yaml4 $id: http://devicetree.org/schemas/mfd/brcm,misc.yaml#
21 - const: simple-mfd
48 compatible = "brcm,misc", "simple-mfd";
/linux-6.15/Documentation/devicetree/bindings/mips/
H A Dmscc.txt19 - 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-6.15/arch/powerpc/boot/
H 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-6.15/drivers/input/touchscreen/
H 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()
230 tsc->mfd = tps6507x_dev; in tps6507x_ts_probe()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H 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-6.15/arch/um/drivers/
H 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-6.15/Documentation/devicetree/bindings/thermal/
H 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-6.15/arch/arm64/boot/dts/realtek/
H 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";
H 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-6.15/drivers/clk/
H A Dclk-plldig.c191 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-6.15/drivers/mfd/
H A Drohm-bd718x7.c135 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()

12345678910>>...23