Searched refs:sc_wrofs (Results 1 - 4 of 4) sorted by relevance
/freebsd-10.2-release/sys/dev/cfi/ |
H A D | cfi_dev.c | 108 sc->sc_wrofs = ofs - (ofs - rofs) % sc->sc_wrbufsz; 113 val = cfi_read_raw(sc, sc->sc_wrofs + r); 146 sc->sc_wrofs = 0; 240 top = sc->sc_wrofs + sc->sc_wrbufsz; 241 if (ofs < sc->sc_wrofs || ofs >= top) 252 top = sc->sc_wrofs + sc->sc_wrbufsz; 253 error = uiomove(sc->sc_wrbuf + ofs - sc->sc_wrofs,
|
H A D | cfi_core.c | 565 cfi_write(sc, sc->sc_wrofs, CFI_INTEL_LBS); 566 cfi_write(sc, sc->sc_wrofs, CFI_INTEL_UB); 567 cfi_write(sc, sc->sc_wrofs, CFI_BCS_READ_ARRAY); 585 cfi_write(sc, sc->sc_wrofs, CFI_BCS_BLOCK_ERASE); 586 cfi_write(sc, sc->sc_wrofs, CFI_BCS_CONFIRM); 590 cfi_amd_write(sc, sc->sc_wrofs, AMD_ADDR_START, 592 cfi_amd_write(sc, sc->sc_wrofs, 0, CFI_AMD_BLOCK_ERASE); 600 error = cfi_wait_ready(sc, sc->sc_wrofs, start, 621 cfi_write(sc, sc->sc_wrofs + i, 627 st = cfi_read(sc, sc->sc_wrofs [all...] |
H A D | cfi_var.h | 79 u_int sc_wrofs; member in struct:cfi_softc
|
H A D | cfi_disk.c | 236 top = sc->sc_wrofs + sc->sc_wrbufsz; 237 if (bp->bio_offset < sc->sc_wrofs || 251 top = sc->sc_wrofs + sc->sc_wrbufsz; 253 sc->sc_wrbuf + bp->bio_offset - sc->sc_wrofs,
|
Completed in 205 milliseconds