Home
last modified time | relevance | path

Searched full:mfd (Results 1 – 6 of 6) sorted by relevance

/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 …]
/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()
/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()
/qemu/include/hw/misc/
H A Dimx_ccm.h21 #define MFD(v) (((v) >> 16) & 0x3ff) macro
/qemu/pc-bios/
HDu-boot.e500__of_translate_address fdt_fixup_memory_banks set_tlb do_bootvx_fdt dev_get_parent_priv device_remove mpc85xx_pci_dm_probe tsec_mdio_probe phy_device_create fs_devread dev_get_uclass_priv virtio_uclass_child_pre_probe virtio_has_feature virtio_pci_set_status virtio_pci_get_config virtio_has_feature dev_get_priv virtqueue_add virtio_pci_set_features ...
/qemu/hw/display/
H A Dsm501.c447 /* SM501 local memory size taken from "linux/drivers/mfd/sm501.c" */