Searched refs:fio_dev (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/sys/dev/flash/ |
H A D | flash_io.c | 106 fio->fio_dev = dev; in flash_sync_thread_init() 206 error = fio->fio_if->read(fio->fio_dev, in flash_io_cache_write() 250 error = fio->fio_if->erase(fio->fio_dev, &ei); in flash_io_cache_sync() 253 aprint_error_dev(fio->fio_dev, "cannot erase flash flash!\n"); in flash_io_cache_sync() 260 error = fio->fio_if->write(fio->fio_dev, in flash_io_cache_sync() 264 aprint_error_dev(fio->fio_dev, "can't sync write cache: %d\n", error); in flash_io_cache_sync() 298 aprint_error_dev(fio->fio_dev, in flash_sync_thread() 320 error = fio->fio_if->read(fio->fio_dev, offset, bp->b_resid, in flash_io_read()
|
H A D | flash_io.h | 5 device_t fio_dev; member
|