Home
last modified time | relevance | path

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

123

/openbmc/qemu/util/
H A Dmemfd.c63 int mfd = -1; in qemu_memfd_create() local
73 mfd = memfd_create(name, flags); in qemu_memfd_create()
74 if (mfd < 0) { in qemu_memfd_create()
80 if (ftruncate(mfd, size) == -1) { in qemu_memfd_create()
85 if (seals && fcntl(mfd, F_ADD_SEALS, seals) == -1) { in qemu_memfd_create()
90 return mfd; in qemu_memfd_create()
93 if (mfd >= 0) { in qemu_memfd_create()
94 close(mfd); in qemu_memfd_create()
112 int mfd = qemu_memfd_create(name, size, false, 0, seals, NULL); in qemu_memfd_alloc() local
115 if (mfd == -1) { in qemu_memfd_alloc()
[all …]
/openbmc/u-boot/arch/m68k/cpu/mcf532x/
H A Dspeed.c145 int fref, temp, fout, mfd; in clock_pll() local
154 mfd = (in_be32(&pll->pcr) & 0x3F) + 1; in clock_pll()
156 return (fref * mfd) / busdiv; in clock_pll()
159 mfd = in_8(&pll->pfdr); in clock_pll()
161 return (fref * mfd / (BUSDIV * 4)); in clock_pll()
180 mfd = (BUSDIV * temp) / 100; in clock_pll()
183 fout = ((fref * mfd) / BUSDIV); in clock_pll()
186 mfd = (4 * BUSDIV * temp) / 100; in clock_pll()
189 fout = ((fref * mfd) / (BUSDIV * 4)); in clock_pll()
218 setbits_be32(&pll->pcr, PLL_PCR_FBDIV(mfd - 1)); in clock_pll()
[all …]
/openbmc/u-boot/arch/arm/cpu/arm920t/imx/
H A Dspeed.c29 u32 mfd = (spctl0 >> 16) & 0x3f; in get_systemPLLCLK() local
34 return (2*(CONFIG_SYSPLL_CLK_FREQ>>10)*( (mfi<<10) + (mfn<<10)/(mfd+1)))/(pd+1); in get_systemPLLCLK()
43 u32 mfd = (mpctl0 >> 16) & 0x3f; in get_mcuPLLCLK() local
48 return (2*(CONFIG_SYS_CLK_FREQ>>10)*( (mfi<<10) + (mfn<<10)/(mfd+1)))/(pd+1); in get_mcuPLLCLK()
/openbmc/u-boot/arch/arm/mach-imx/mx5/
H A Dclock.c53 u32 mfd; member
64 u32 mfd; member
162 uint32_t ctrl, op, mfd, mfn, mfi, pdf, ret; in decode_pll() local
170 mfd = readl(&pll->hfs_mfd); in decode_pll()
174 mfd = readl(&pll->mfd); in decode_pll()
178 mfd &= MXC_DPLLC_MFD_MFD_MASK; in decode_pll()
200 do_div(temp, mfd + 1); in decode_pll()
553 u64 pd, mfi = 1, mfn, mfd, t1; in calc_pll_params() local
572 mfd = fixed_mfd[i].mfd; in calc_pll_params()
599 t1 *= mfd; in calc_pll_params()
[all …]
/openbmc/qemu/hw/misc/
H A Dimx_ccm.c53 uint32_t mfd = 1 + MFD(pllreg); /* Denominator */ in imx_ccm_calc_pll() local
64 freq = ((2 * (base_freq >> 10) * (mfi * mfd + mfn)) / in imx_ccm_calc_pll()
65 (mfd * pd)) << 10; in imx_ccm_calc_pll()
/openbmc/qemu/chardev/
H A Dchar-pty.c247 int mfd = -1, sfd = -1; in openpty() local
251 mfd = open("/dev/ptmx", O_RDWR | O_NOCTTY); in openpty()
252 if (mfd < 0) { in openpty()
256 if (grantpt(mfd) == -1 || unlockpt(mfd) == -1) { in openpty()
260 if ((slave = ptsname(mfd)) == NULL) { in openpty()
273 *amaster = mfd; in openpty()
286 close(mfd); in openpty()
/openbmc/u-boot/arch/arm/cpu/arm1136/mx31/
H A Dgeneric.c18 u32 mfd = GET_PLL_MFD(reg); in mx31_decode_pll() local
23 mfd += 1; in mx31_decode_pll()
26 return lldiv(2 * (u64)infreq * (mfi * mfd + mfn), in mx31_decode_pll()
27 mfd * pd); in mx31_decode_pll()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx25/
H A Dgeneric.c38 unsigned int mfd = (pll >> CCM_PLL_MFD_SHIFT) in imx_decode_pll() local
45 mfd += 1; in imx_decode_pll()
48 return lldiv(2 * (u64) f_ref * (mfi * mfd + mfn), in imx_decode_pll()
49 mfd * pd); in imx_decode_pll()
/openbmc/openbmc/meta-hpe/meta-rl300-g11/recipes-hpe/power-sequencing/files/
H A Dgpios-manager.sh8 smproStatus=$(lsmod | grep smpro-mfd)
56 modprobe smpro-mfd
/openbmc/u-boot/arch/arm/dts/
H A Duniphier-ld4.dtsi208 "simple-mfd", "syscon";
224 "simple-mfd", "syscon";
316 "simple-mfd", "syscon";
326 "simple-mfd";
373 "simple-mfd", "syscon";
H A Duniphier-sld8.dtsi212 "simple-mfd", "syscon";
228 "simple-mfd", "syscon";
320 "simple-mfd", "syscon";
330 "simple-mfd";
377 "simple-mfd", "syscon";
H A Duniphier-ld11.dtsi298 "simple-mfd", "syscon";
402 "simple-mfd", "syscon";
413 "simple-mfd", "syscon";
496 "simple-mfd", "syscon";
513 "simple-mfd", "syscon";
544 "simple-mfd";
578 "simple-mfd", "syscon";
H A Duniphier-pro4.dtsi242 "simple-mfd", "syscon";
258 "simple-mfd", "syscon";
354 "simple-mfd", "syscon";
392 "simple-mfd";
444 "simple-mfd", "syscon";
497 "simple-mfd";
569 "simple-mfd";
H A Duniphier-pro5.dtsi338 "simple-mfd", "syscon";
354 "simple-mfd", "syscon";
370 "simple-mfd", "syscon";
380 "simple-mfd";
442 "simple-mfd", "syscon";
H A Duniphier-pxs3.dtsi317 "simple-mfd", "syscon";
333 "simple-mfd", "syscon";
386 "simple-mfd", "syscon";
396 "simple-mfd";
474 "simple-mfd", "syscon";
552 "simple-mfd";
673 "simple-mfd";
H A Duniphier-pxs2.dtsi417 "simple-mfd", "syscon";
433 "simple-mfd", "syscon";
483 "simple-mfd", "syscon";
493 "simple-mfd";
540 "simple-mfd", "syscon";
600 "simple-mfd";
714 "simple-mfd";
H A Duniphier-ld20.dtsi422 "simple-mfd", "syscon";
526 "simple-mfd", "syscon";
542 "simple-mfd", "syscon";
591 "simple-mfd", "syscon";
601 "simple-mfd";
679 "simple-mfd", "syscon";
745 "simple-mfd";
/openbmc/u-boot/doc/device-tree-bindings/pinctrl/
H A Dmarvell,armada-37xx-pinctrl.txt17 - compatible: "marvell,armada3710-sb-pinctrl", "syscon, "simple-mfd"
19 "marvell,armada3710-nb-pinctrl", "syscon, "simple-mfd"
158 "syscon", "simple-mfd";
/openbmc/u-boot/arch/arm/cpu/arm1136/mx35/
H A Dgeneric.c118 u32 mfd = (reg >> 16) & 0x3ff; in decode_pll() local
123 mfd += 1; in decode_pll()
126 return lldiv(2 * (u64)infreq * (mfi * mfd + mfn), in decode_pll()
127 mfd * pd); in decode_pll()
/openbmc/ibm-logging/
H A Dcreate_error_reports.py60 with open(os.path.join(yaml_dir, metadata_file)) as mfd:
61 metadata = yaml.safe_load(mfd.read())
/openbmc/qemu/hw/vfio/
H A Dcontainer-base.c82 int mfd = rb ? qemu_ram_get_fd(rb) : -1; in vfio_container_dma_map() local
84 if (mfd >= 0 && vioc->dma_map_file) { in vfio_container_dma_map()
88 return vioc->dma_map_file(bcontainer, iova, size, mfd, start + offset, in vfio_container_dma_map()
/openbmc/openbmc/meta-hpe/meta-dl360poc/recipes-kernel/linux/linux-obmc/
H A Dgxp.dts83 compatible = "hpe,gxp-vuarta_cfg", "simple-mfd", "syscon";
196 compatible = "hpe,gxp-srom", "simple-mfd", "syscon";
449 compatible = "hpe,gxp-kcs-bmc-cfg", "simple-mfd", "syscon";
472 compatible = "hpe,gxp-xreg", "simple-mfd", "syscon";
498 compatible = "hpe,gxp-fn2", "simple-mfd", "syscon";
522 compatible = "hpe,gxp-csm", "simple-mfd", "syscon";
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx27/
H A Dgeneric.c30 unsigned int mfd = (pll >> 16) & 0x3ff; in imx_decode_pll() local
35 return lldiv(2 * (u64)f_ref * (mfi * (mfd + 1) + mfn), in imx_decode_pll()
36 (mfd + 1) * (pd + 1)); in imx_decode_pll()
/openbmc/openbmc/meta-hpe/meta-rl300-g11/recipes-hpe/host/host-boot-enable/
H A Dhost-boot-enable.sh28 modprobe smpro-mfd
/openbmc/u-boot/board/intel/galileo/
H A DKconfig30 Linux kernel drivers (drivers/mfd/intel_quark_i2c_gpio.c and

123