Home
last modified time | relevance | path

Searched refs:sc_erasesize (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/flash/
H A Dmx25l.c86 unsigned int sc_erasesize; member
305 if (count % sc->sc_erasesize != 0 || offset % sc->sc_erasesize != 0) in mx25l_write()
314 if (((offset) % sc->sc_erasesize) == 0) { in mx25l_write()
497 sc->sc_erasesize = 4 * 1024; in mx25l_attach()
499 sc->sc_erasesize = 32 * 1024; in mx25l_attach()
501 sc->sc_erasesize = ident->sectorsize; in mx25l_attach()
522 sc->sc_disk->d_stripesize = sc->sc_erasesize; in mx25l_attach()
539 sc->sc_erasesize / 1024); in mx25l_attach()
H A Dw25n.c75 unsigned int sc_erasesize; member
430 sc->sc_erasesize = ident->erasesize; in w25n_attach()
443 sc->sc_disk->d_stripesize = sc->sc_erasesize; in w25n_attach()