Lines Matching refs:lfs_config
163 // Create an emulating block device using the geometry in lfs_config
164 int lfs_emubd_create(const struct lfs_config *cfg,
168 int lfs_emubd_destroy(const struct lfs_config *cfg);
171 int lfs_emubd_read(const struct lfs_config *cfg, lfs_block_t block,
177 int lfs_emubd_prog(const struct lfs_config *cfg, lfs_block_t block,
184 int lfs_emubd_erase(const struct lfs_config *cfg, lfs_block_t block);
187 int lfs_emubd_sync(const struct lfs_config *cfg);
193 int lfs_emubd_crc(const struct lfs_config *cfg,
197 int lfs_emubd_bdcrc(const struct lfs_config *cfg, uint32_t *crc);
200 lfs_emubd_sio_t lfs_emubd_readed(const struct lfs_config *cfg);
203 lfs_emubd_sio_t lfs_emubd_proged(const struct lfs_config *cfg);
206 lfs_emubd_sio_t lfs_emubd_erased(const struct lfs_config *cfg);
209 int lfs_emubd_setreaded(const struct lfs_config *cfg, lfs_emubd_io_t readed);
212 int lfs_emubd_setproged(const struct lfs_config *cfg, lfs_emubd_io_t proged);
215 int lfs_emubd_seterased(const struct lfs_config *cfg, lfs_emubd_io_t erased);
218 lfs_emubd_swear_t lfs_emubd_wear(const struct lfs_config *cfg,
222 int lfs_emubd_setwear(const struct lfs_config *cfg,
227 const struct lfs_config *cfg);
230 int lfs_emubd_setpowercycles(const struct lfs_config *cfg,
234 int lfs_emubd_copy(const struct lfs_config *cfg, lfs_emubd_t *copy);