Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/lib/posix/options/
Dmmap.c22 static int p2z(int prot, int pflags) in p2z() argument
24 bool rw = (prot & PROT_WRITE) != 0; in p2z()
25 bool ex = (prot & PROT_EXEC) != 0; in p2z()
49 void *mmap(void *addr, size_t len, int prot, int flags, int fd, off_t off) in mmap() argument
53 int zflags = p2z(prot, flags); in mmap()
68 if (zvfs_ioctl_wrap(fd, ZFD_IOCTL_MMAP, addr, len, prot, flags, off, &virt) < 0) { in mmap()
Dmprotect.c13 int mprotect(void *addr, size_t len, int prot) in mprotect() argument
17 ARG_UNUSED(prot); in mprotect()
Dshm.c176 static int shm_mmap(struct shm_obj *shm, void *addr, size_t len, int prot, int flags, off_t off, in shm_mmap() argument
180 ARG_UNUSED(prot); in shm_mmap()
265 int prot = va_arg(args, int); in shm_ioctl() local
270 return shm_mmap(shm, addr, len, prot, flags, off, maddr); in shm_ioctl()
/Zephyr-latest/drivers/spi/
Dspi_cc13xx_cc26xx.c44 uint32_t prot; in spi_cc13xx_cc26xx_configure() local
96 prot = SSI_FRF_MOTO_MODE_3; in spi_cc13xx_cc26xx_configure()
98 prot = SSI_FRF_MOTO_MODE_2; in spi_cc13xx_cc26xx_configure()
102 prot = SSI_FRF_MOTO_MODE_1; in spi_cc13xx_cc26xx_configure()
104 prot = SSI_FRF_MOTO_MODE_0; in spi_cc13xx_cc26xx_configure()
120 SSIConfigSetExpClk(cfg->base, CPU_FREQ, prot, in spi_cc13xx_cc26xx_configure()
/Zephyr-latest/modules/thrift/src/thrift/protocol/
DTBinaryProtocol.h257 TProtocol *prot; in getProtocol() local
259 prot = new TBinaryProtocolT<Transport_, ByteOrder_>( in getProtocol()
263 prot = new TBinaryProtocolT<TTransport, ByteOrder_>( in getProtocol()
268 return std::shared_ptr<TProtocol>(prot); in getProtocol()
/Zephyr-latest/include/zephyr/posix/sys/
Dmman.h40 void *mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off);
/Zephyr-latest/drivers/dma/
Ddma_iproc_pax_v2.h74 uint64_t prot : 2; /*prot 41:42*/ member
Ddma_iproc_pax_v1.h66 uint64_t prot : 2; /*prot 41:40*/ member
Ddma_iproc_pax_v1.c66 r->prot = 0x0; in rm_write_header_desc()
Ddma_iproc_pax_v2.c69 r->prot = 0x0; in rm_write_header_desc()
/Zephyr-latest/soc/mediatek/mt8xxx/
Dmtk_adsp_load.py239 prot=mmap.PROT_WRITE | mmap.PROT_READ,