Home
last modified time | relevance | path

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

/lk-master/platform/stm32f7xx/
A Dflash.c46 static int stm32_flash_ioctl(struct bdev *, int request, void *argp);
213 static int stm32_flash_ioctl(struct bdev *bdev, int request, void *argp) { in stm32_flash_ioctl() argument
214 LTRACEF("dev %p, request %d, argp %p\n", bdev, request, argp); in stm32_flash_ioctl()
221 if (argp) in stm32_flash_ioctl()
222 *(void **)argp = (void *)FLASHAXI_BASE; in stm32_flash_ioctl()
A Dqspi.c55 static int spiflash_ioctl(struct bdev *device, int request, void *argp);
441 static int spiflash_ioctl(struct bdev *device, int request, void *argp) { in spiflash_ioctl() argument
450 if (argp) in spiflash_ioctl()
451 *(void **)argp = (void *)QSPI_BASE; in spiflash_ioctl()
457 if (argp) in spiflash_ioctl()
458 *(void **)argp = (void *)qspi_is_linear(); in spiflash_ioctl()
/lk-master/platform/stm32f4xx/
A Dflash.c50 static int stmflash_ioctl(struct bdev *, int request, void *argp);
159 static int stmflash_ioctl(struct bdev *bdev, int request, void *argp) { in stmflash_ioctl() argument
160 LTRACEF("dev %p, request %d, argp %p\n",bdev, request, argp); in stmflash_ioctl()
/lk-master/lib/fs/spifs/
A Dspifs.c1133 static status_t spifs_ioctl_get_file_addr(filecookie *cookie, void **argp) { in spifs_ioctl_get_file_addr() argument
1134 LTRACEF("cookie %p, argp %p\n", cookie, argp); in spifs_ioctl_get_file_addr()
1136 if (unlikely(!argp)) { in spifs_ioctl_get_file_addr()
1155 *argp = result_addr; in spifs_ioctl_get_file_addr()
1160 static status_t spifs_ioctl_is_linear(filecookie *cookie, void **argp) { in spifs_ioctl_is_linear() argument
1161 LTRACEF("cookie %p, argp %p\n", cookie, argp); in spifs_ioctl_is_linear()
1163 if (unlikely(!argp)) { in spifs_ioctl_is_linear()
1172 status_t result = bio_ioctl(dev, BIO_IOCTL_IS_MAPPED, argp); in spifs_ioctl_is_linear()
1181 LTRACEF("request %d, argp %p\n", request, argp); in spifs_file_ioctl()
1185 return spifs_ioctl_get_file_addr(cookie, (void **)argp); in spifs_file_ioctl()
[all …]
/lk-master/lib/bio/include/lib/
A Dbio.h54 int (*ioctl)(struct bdev *, int request, void *argp);
66 int bio_ioctl(bdev_t *dev, int request, void *argp);
/lk-master/platform/zynq/
A Dspiflash.c60 static int spiflash_ioctl(struct bdev *, int request, void *argp);
388 static int spiflash_ioctl(struct bdev *bdev, int request, void *argp) { in spiflash_ioctl() argument
389 LTRACEF("dev %p, request %d, argp %p\n", bdev, request, argp); in spiflash_ioctl()
398 if (argp) in spiflash_ioctl()
399 *(void **)argp = (void *)QSPI_LINEAR_BASE; in spiflash_ioctl()
/lk-master/lib/fs/
A Dfs.c234 status_t fs_file_ioctl(filehandle *handle, int request, void *argp) { in fs_file_ioctl() argument
235 LTRACEF("filehandle %p, request %d, argp, %p\n", handle, request, argp); in fs_file_ioctl()
242 return handle->mount->api->file_ioctl(handle->cookie, request, argp); in fs_file_ioctl()
/lk-master/external/lib/lwip/api/
A Dsockets.c2281 lwip_ioctl(int s, long cmd, void *argp) argument
2297 if (!argp) {
2306 *((u16_t*)argp) = (u16_t)recv_avail;
2317 *((u16_t*)argp) += buflen;
2320 …WIP_DEBUGF(SOCKETS_DEBUG, ("lwip_ioctl(%d, FIONREAD, %p) = %"U16_F"\n", s, argp, *((u16_t*)argp)));
2327 if (argp && *(u32_t*)argp) {
2336 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_ioctl(%d, UNIMPL: 0x%lx, %p)\n", s, cmd, argp));
/lk-master/lib/fs/include/lib/
A Dfs.h51 status_t fs_file_ioctl(filehandle *handle, int request, void *argp) __NONNULL((1)) __NONNULL((3));
/lk-master/lib/bio/
A Dbio.c427 int bio_ioctl(bdev_t *dev, int request, void *argp) { in bio_ioctl() argument
428 LTRACEF("dev '%s', request %08x, argp %p\n", dev->name, request, argp); in bio_ioctl()
433 return dev->ioctl(dev, request, argp); in bio_ioctl()
/lk-master/external/lib/lwip/include/lwip/
A Dsockets.h342 int lwip_ioctl(int s, long cmd, void *argp);

Completed in 28 milliseconds