Searched refs:erasesize (Results 1 – 1 of 1) sorted by relevance
75 uint32_t erasesize; member112 uint32_t erasesize; member478 sc->erasesize = finfo->erasesize; in flex_spi_identify()564 uint32_t sector_base = rounddown2(offset, sc->erasesize); in flex_spi_write()567 if (size_in_sector + offset > sector_base + sc->erasesize) in flex_spi_write()568 size_in_sector = sector_base + sc->erasesize - offset; in flex_spi_write()571 ret = flex_spi_read(sc, sector_base, sc->buf, sc->erasesize); in flex_spi_write()595 for (ptr = 0; ptr < sc->erasesize; ptr += 32) { in flex_spi_write()783 sc->buf = malloc(sc->erasesize, SECTOR_BUFFER, M_WAITOK); in flex_spi_attach()800 sc->disk->d_stripesize = sc->erasesize; in flex_spi_attach()