Searched refs:sc_wrofs (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/dev/cfi/ |
H A D | cfi_core.c | 629 cfi_write(sc, sc->sc_wrofs, CFI_INTEL_LBS); in cfi_write_block() 630 cfi_write(sc, sc->sc_wrofs, CFI_INTEL_UB); in cfi_write_block() 631 cfi_write(sc, sc->sc_wrofs, CFI_BCS_READ_ARRAY); in cfi_write_block() 649 cfi_write(sc, sc->sc_wrofs, CFI_BCS_BLOCK_ERASE); in cfi_write_block() 650 cfi_write(sc, sc->sc_wrofs, CFI_BCS_CONFIRM); in cfi_write_block() 660 cfi_amd_write(sc, sc->sc_wrofs, AMD_ADDR_START, in cfi_write_block() 662 cfi_amd_write(sc, sc->sc_wrofs, in cfi_write_block() 663 sc->sc_wrofs >> (ffs(minsz) - 1), in cfi_write_block() 666 if (cfi_check_erase(sc, sc->sc_wrofs, in cfi_write_block() 682 error = cfi_wait_ready(sc, sc->sc_wrofs, start, in cfi_write_block() [all …]
|
H A D | cfi_dev.c | 109 sc->sc_wrofs = ofs - (ofs - rofs) % sc->sc_wrbufsz; in cfi_block_start() 114 val = cfi_read_raw(sc, sc->sc_wrofs + r); in cfi_block_start() 147 sc->sc_wrofs = 0; in cfi_block_finish() 241 top = sc->sc_wrofs + sc->sc_wrbufsz; in cfi_devwrite() 242 if (ofs < sc->sc_wrofs || ofs >= top) in cfi_devwrite() 253 top = sc->sc_wrofs + sc->sc_wrbufsz; in cfi_devwrite() 254 error = uiomove(sc->sc_wrbuf + ofs - sc->sc_wrofs, in cfi_devwrite()
|
H A D | cfi_disk.c | 235 top = sc->sc_wrofs + sc->sc_wrbufsz; in cfi_disk_write() 236 if (bp->bio_offset < sc->sc_wrofs || in cfi_disk_write() 250 top = sc->sc_wrofs + sc->sc_wrbufsz; in cfi_disk_write() 252 sc->sc_wrbuf + bp->bio_offset - sc->sc_wrofs, in cfi_disk_write()
|
H A D | cfi_var.h | 79 u_int sc_wrofs; member
|