Home
last modified time | relevance | path

Searched refs:buff (Results 1 – 5 of 5) sorted by relevance

/fatfs-2.7.6/
Dzfs_diskio.c69 DRESULT disk_read(BYTE pdrv, BYTE *buff, DWORD sector, UINT count) in disk_read() argument
73 if (disk_access_read(pdrv_str[pdrv], buff, sector, count) != 0) { in disk_read()
84 DRESULT disk_write(BYTE pdrv, const BYTE *buff, DWORD sector, UINT count) in disk_write() argument
88 if(disk_access_write(pdrv_str[pdrv], buff, sector, count) != 0) { in disk_write()
99 DRESULT disk_ioctl(BYTE pdrv, BYTE cmd, void *buff) in disk_ioctl() argument
109 DISK_IOCTL_CTRL_SYNC, buff) != 0) { in disk_ioctl()
116 DISK_IOCTL_GET_SECTOR_COUNT, buff) != 0) { in disk_ioctl()
129 *(uint16_t *)buff = (uint16_t)sector_size; in disk_ioctl()
137 DISK_IOCTL_GET_ERASE_BLOCK_SZ, buff) != 0) { in disk_ioctl()
Ddiskio.c101 BYTE *buff, /* Data buffer to store read data */ in disk_read() argument
113 result = RAM_disk_read(buff, sector, count); in disk_read()
122 result = MMC_disk_read(buff, sector, count); in disk_read()
131 result = USB_disk_read(buff, sector, count); in disk_read()
151 const BYTE *buff, /* Data to be written */ in disk_write() argument
163 result = RAM_disk_write(buff, sector, count); in disk_write()
172 result = MMC_disk_write(buff, sector, count); in disk_write()
181 result = USB_disk_write(buff, sector, count); in disk_write()
201 void *buff /* Buffer to send/receive control data */ in disk_ioctl() argument
Dff.c3212 BYTE* buff, /* Output buffer */ argument
3222 *buff++ = (BYTE)seed;
3852 void* buff, /* Data buffer to store the read data */ argument
3863 BYTE *rbuff = (BYTE*)buff;
3952 const void* buff, /* Data to be written */ argument
3962 const BYTE *wbuff = (const BYTE*)buff;
4268 TCHAR* buff, /* Pointer to the directory path */ argument
4277 TCHAR *tp = buff;
4289 buff[0] = 0; /* Set null string to get current volume */ local
4290 res = mount_volume((const TCHAR**)&buff, &fs, 0); /* Get current volume */
[all …]
/fatfs-2.7.6/include/
Ddiskio.h31 DRESULT disk_read (BYTE pdrv, BYTE* buff, LBA_t sector, UINT count);
32 DRESULT disk_write (BYTE pdrv, const BYTE* buff, LBA_t sector, UINT count);
33 DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* buff);
Dff.h307 FRESULT f_read (FIL* fp, void* buff, UINT btr, UINT* br); /* Read data from the file */
308 FRESULT f_write (FIL* fp, const void* buff, UINT btw, UINT* bw); /* Write data to the file */
325 FRESULT f_getcwd (TCHAR* buff, UINT len); /* Get current directory */
338 TCHAR* f_gets (TCHAR* buff, int len, FIL* fp); /* Get a string from the file */