Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 13 of 13) 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.c14 int mprotect(void *addr, size_t len, int prot) in mprotect() argument
18 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/dts/arm/ti/
Dcc2340r5.dtsi40 ti,wr-er-prot-sect0-31 = <0xffffffff>;
41 ti,wr-er-prot-sect32-255 = <0xffffffff>;
42 ti,wr-er-prot-ccfg-sect = <0>;
43 ti,wr-er-prot-fcfg-sect = <0>;
44 ti,wr-er-prot-engr-sect = <0>;
/Zephyr-latest/tests/kernel/common/src/
Dbyteorder.c650 uint8_t prot[9] = { 0 }; in ZTEST() local
657 sys_put_le(prot, host, sizeof(prot)); in ZTEST()
659 zassert_mem_equal(prot, exp, sizeof(exp), "sys_put_le() failed"); in ZTEST()
665 uint8_t prot[9] = { 0 }; in ZTEST() local
672 sys_put_be(prot, host, sizeof(prot)); in ZTEST()
674 zassert_mem_equal(prot, exp, sizeof(exp), "sys_put_be() failed"); in ZTEST()
679 uint8_t prot[9] = { 0x87, 0x14, 0xa5, 0xb4, 0xc3, 0xd2, 0xe1, 0xf0, 0xba }; in ZTEST() local
687 sys_get_le(host, prot, sizeof(host)); in ZTEST()
694 uint8_t prot[9] = { 0x87, 0x15, 0xa5, 0xb4, 0xc3, 0xd2, 0xe1, 0xf0, 0xba }; in ZTEST() local
702 sys_get_be(host, prot, sizeof(host)); in ZTEST()
/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.py332 prot=mmap.PROT_WRITE | mmap.PROT_READ,