Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 174) sorted by relevance

1234567

/components/net/lwip/lwip-2.0.3/src/apps/httpd/
A Dfs.c123 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 Dfs.c118 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 Dfal_flash_sfud_port.c24 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 Dfal_norflash_port.c21 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 DREADME.md15 - `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 Dfal_flash_stm32f2_port.c123 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 Dsyscall_read.c48 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 Dtftp_port.c57 ctx.read = (int (*)(void *, void *, int)) read; in tftp_server()
/components/net/lwip/lwip-2.1.2/src/apps/tftp/
A Dtftp_port.c57 ctx.read = (int (*)(void *, void *, int)) read; in tftp_server()
/components/drivers/pci/host/
A Dpci-host-generic.c21 .read = rt_pci_bus_read_config_uxx,
43 .read = rt_pci_bus_read_config_uxx,
/components/libc/compilers/armlibc/
A Dsyscalls.c162 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 Dphy.c24 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 Dblk.c54 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 Dmtd_nor.c81 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 Dmtd_nand.c85 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 Dfal_api_en.md59 | 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 Dphy.h103 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 Dtftp_server.h76 int (*read)(void* handle, void* buf, int bytes); member
/components/net/lwip/lwip-2.1.2/src/include/lwip/apps/
A Dtftp_server.h76 int (*read)(void* handle, void* buf, int bytes); member
/components/drivers/misc/
A Drt_random.c88 random_dev.read = random_read; in random_device_init()
179 urandom_dev.read = random_uread; in urandom_device_init()
/components/drivers/block/partitions/
A Ddfs.c29 res = disk->ops->read(disk, 0, sector, 1); in dfs_partition()
/components/libc/posix/io/mman/
A Dmman.c53 read_bytes = read(fd, mem, length); in mmap()
/components/fal/inc/
A Dfal_def.h44 int (*read)(long offset, rt_uint8_t *buf, rt_size_t size); member
/components/utilities/var_export/
A Dvar_export.c33 #pragma section("VarExpTab$a", read)
37 #pragma section("VarExpTab$z", read)
/components/drivers/spi/
A Ddev_spi.c78 device->read = _spi_bus_device_read; in rt_spi_bus_device_init()
158 device->read = _spidev_device_read; in rt_spidev_device_init()

Completed in 28 milliseconds

1234567