Lines Matching refs:s_impls
19 static ff_diskio_impl_t * s_impls[FF_VOLUMES] = { NULL }; variable
32 if (!s_impls[i]) { in ff_diskio_get_drive()
44 if (s_impls[pdrv]) { in ff_diskio_register()
45 ff_diskio_impl_t* im = s_impls[pdrv]; in ff_diskio_register()
46 s_impls[pdrv] = NULL; in ff_diskio_register()
57 s_impls[pdrv] = impl; in ff_diskio_register()
62 return s_impls[pdrv]->init(pdrv); in ff_disk_initialize()
66 return s_impls[pdrv]->status(pdrv); in ff_disk_status()
70 return s_impls[pdrv]->read(pdrv, buff, sector, count); in ff_disk_read()
74 return s_impls[pdrv]->write(pdrv, buff, sector, count); in ff_disk_write()
78 return s_impls[pdrv]->ioctl(pdrv, cmd, buff); in ff_disk_ioctl()