| /components/net/lwip/lwip-2.0.3/src/apps/httpd/ |
| A D | fs.c | 123 int read; in fs_read_async() local 141 read = file->len - file->index; in fs_read_async() 142 if(read > count) { in fs_read_async() 143 read = count; in fs_read_async() 146 MEMCPY(buffer, (file->data + file->index), read); in fs_read_async() 147 file->index += read; in fs_read_async() 149 return(read); in fs_read_async()
|
| /components/net/lwip/lwip-2.1.2/src/apps/http/ |
| A D | fs.c | 118 int read; in fs_read_async() local 136 read = file->len - file->index; in fs_read_async() 137 if (read > count) { in fs_read_async() 138 read = count; in fs_read_async() 141 MEMCPY(buffer, (file->data + file->index), read); in fs_read_async() 142 file->index += read; in fs_read_async() 144 return (read); in fs_read_async()
|
| /components/fal/samples/porting/ |
| A D | fal_flash_sfud_port.c | 24 static int read(long offset, rt_uint8_t *buf, rt_size_t size); 35 .ops = {init, read, write, erase}, 63 static int read(long offset, rt_uint8_t *buf, rt_size_t size) in read() function
|
| A D | fal_norflash_port.c | 21 static int read( long offset, uint8_t* buf, size_t size ); 47 static int read( long offset, uint8_t* buf, size_t size ) in read() function 129 read( cur_addr - FLASH_START_ADDR, read_sector_buf, FLASH_SECTOR_SIZE ); in write() 144 read( cur_addr - FLASH_START_ADDR, read_sector_buf, FLASH_SECTOR_SIZE ); in write() 194 .ops = { init, read, write, erase },
|
| A D | README.md | 15 - `static int read(long offset, rt_uint8_t *buf, rt_size_t size)`:读取操作 43 …f2_onchip_flash = { "stm32_onchip", 0x08000000, 1024*1024, 128*1024, {init, read, write, erase} };` 49 - {init, read, write, erase} }:Flash 的操作函数。 如果没有 init 初始化过程,第一个操作函数位置可以置空。 154 static int read( long offset, uint8_t* buf, size_t size ) 197 read( cur_addr - FLASH_START_ADDR, read_sector_buf, FLASH_SECTOR_SIZE ); 222 read( cur_addr - FLASH_START_ADDR, read_sector_buf, FLASH_SECTOR_SIZE );
|
| A D | fal_flash_stm32f2_port.c | 123 static int read(long offset, rt_uint8_t *buf, rt_size_t size) in read() function 195 .ops = {init, read, write, erase},
|
| /components/libc/compilers/dlib/ |
| A D | syscall_read.c | 48 return read(STDIN_FILENO, buf, len); /* return the length of the data read */ in __read() 59 size = read(handle, buf, len); in __read()
|
| /components/net/lwip/lwip-2.0.3/src/apps/tftp/ |
| A D | tftp_port.c | 57 ctx.read = (int (*)(void *, void *, int)) read; in tftp_server()
|
| /components/net/lwip/lwip-2.1.2/src/apps/tftp/ |
| A D | tftp_port.c | 57 ctx.read = (int (*)(void *, void *, int)) read; in tftp_server()
|
| /components/drivers/pci/host/ |
| A D | pci-host-generic.c | 21 .read = rt_pci_bus_read_config_uxx, 43 .read = rt_pci_bus_read_config_uxx,
|
| /components/libc/compilers/armlibc/ |
| A D | syscalls.c | 162 size = read(STDIN_FILENO, buf, len); in _sys_read() 175 size = read(fh, buf, len); in _sys_read() 384 if (read(STDIN_FILENO, &ch, 1) == 1) in fgetc()
|
| /components/drivers/phy/ |
| A D | phy.c | 24 return phy->bus->ops->read(phy->bus, phy->addr, msg->reg, &(msg->value), 4); in phy_device_read() 65 device->read = phy_device_read; in rt_hw_phy_register() 107 if( bus && bus->read ) in rt_phy_read() 108 return bus->read(bus, phydev->addr, devad, regnum); in rt_phy_read() 334 phy_reg = bus->read(bus, addr, devad, RT_MII_PHYSID1); in get_phy_id() 341 phy_reg = bus->read(bus, addr, devad, RT_MII_PHYSID2); in get_phy_id()
|
| /components/drivers/block/ |
| A D | blk.c | 54 res = disk->ops->read(disk, sector, buffer, sector_count); in blk_read() 86 return disk->ops->read(disk, sector, buffer, sector_count); in blk_parallel_read() 213 .read = blk_read, 222 .read = blk_parallel_read, 300 disk->parent.read = blk_parallel_read; in rt_hw_blk_disk_register() 305 disk->parent.read = blk_read; in rt_hw_blk_disk_register()
|
| /components/drivers/mtd/ |
| A D | mtd_nor.c | 81 dev->read = _mtd_read; in rt_mtd_nor_register_device() 102 return device->ops->read(device, offset, data, length); in rt_mtd_nor_read()
|
| A D | mtd_nand.c | 85 dev->read = _mtd_read; in rt_mtd_nand_register_device() 415 FINSH_FUNCTION_EXPORT_ALIAS(mtd_nandid, nand_id, read ID - nandid(name)); 416 FINSH_FUNCTION_EXPORT_ALIAS(mtd_nand_read, nand_read, read page in nand - nand_read(name, block, pa… 417 FINSH_FUNCTION_EXPORT_ALIAS(mtd_nand_readoob, nand_readoob, read spare data in nand - nand_readoob(…
|
| /components/fal/docs/ |
| A D | fal_api_en.md | 59 | buf | Buffer to store the data to be read | 60 | size | The size of the data to be read | 61 | return | Return the actual read data size | 135 … After POSIX is turned on, the partition can also be operated through the open/read/write function.
|
| /components/drivers/include/drivers/ |
| A D | phy.h | 103 int (*read)(struct rt_phy_device *phydev, int addr, int devad, int reg); member 162 rt_size_t (*read)(void *bus, rt_uint32_t addr, rt_uint32_t reg, void *data, rt_uint32_t size); member 212 rt_phy_status (*read)(rt_phy_t *phy, rt_uint32_t reg, rt_uint32_t *data); member
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/apps/ |
| A D | tftp_server.h | 76 int (*read)(void* handle, void* buf, int bytes); member
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/apps/ |
| A D | tftp_server.h | 76 int (*read)(void* handle, void* buf, int bytes); member
|
| /components/drivers/misc/ |
| A D | rt_random.c | 88 random_dev.read = random_read; in random_device_init() 179 urandom_dev.read = random_uread; in urandom_device_init()
|
| /components/drivers/block/partitions/ |
| A D | dfs.c | 29 res = disk->ops->read(disk, 0, sector, 1); in dfs_partition()
|
| /components/libc/posix/io/mman/ |
| A D | mman.c | 53 read_bytes = read(fd, mem, length); in mmap()
|
| /components/fal/inc/ |
| A D | fal_def.h | 44 int (*read)(long offset, rt_uint8_t *buf, rt_size_t size); member
|
| /components/utilities/var_export/ |
| A D | var_export.c | 33 #pragma section("VarExpTab$a", read) 37 #pragma section("VarExpTab$z", read)
|
| /components/drivers/spi/ |
| A D | dev_spi.c | 78 device->read = _spi_bus_device_read; in rt_spi_bus_device_init() 158 device->read = _spidev_device_read; in rt_spidev_device_init()
|