Home | History | Annotate | Download | only in flash

Lines Matching refs:flash_io

1 /*	$NetBSD: flash_io.c,v 1.7 2025/01/08 11:39:50 andvar Exp $	*/
35 __KERNEL_RCSID(0, "$NetBSD: flash_io.c,v 1.7 2025/01/08 11:39:50 andvar Exp $");
47 #include <dev/flash/flash_io.h>
56 void flash_io_read(struct flash_io *, struct buf *);
57 void flash_io_write(struct flash_io *, struct buf *);
58 void flash_io_done(struct flash_io *, struct buf *, int);
59 int flash_io_cache_write(struct flash_io *, flash_addr_t, struct buf *);
60 void flash_io_cache_sync(struct flash_io *);
75 flash_io_getblock(struct flash_io *fio, struct buf *bp)
99 flash_sync_thread_init(struct flash_io *fio, device_t dev,
138 flash_sync_thread_destroy(struct flash_io *fio)
158 flash_io_submit(struct flash_io *fio, struct buf *bp)
185 flash_io_cache_write(struct flash_io *fio, flash_addr_t block, struct buf *bp)
229 flash_io_cache_sync(struct flash_io *fio)
279 struct flash_io *fio = arg;
310 flash_io_read(struct flash_io *fio, struct buf *bp)
327 flash_io_write(struct flash_io *fio, struct buf *bp)
349 flash_io_done(struct flash_io *fio, struct buf *bp, int error)