Searched refs:sc_regions (Results 1 – 4 of 4) sorted by relevance
391 sc->sc_regions = cfi_read_qry(sc, CFI_QRY_NREGIONS); in cfi_attach()392 sc->sc_region = malloc(sc->sc_regions * sizeof(struct cfi_region), in cfi_attach()394 for (r = 0; r < sc->sc_regions; r++) { in cfi_attach()410 for (r = 0; r < sc->sc_regions; r++) { in cfi_attach()413 (r == sc->sc_regions - 1) ? "]\n" : ","); in cfi_attach()656 for (i = 1; i < sc->sc_regions; i++) { in cfi_write_block()
98 for (r = 0; r < sc->sc_regions; r++) { in cfi_block_start()104 if (r == sc->sc_regions) in cfi_block_start()
62 u_int sc_regions; /* Erase regions. */ member
110 if (sc->parent->sc_regions) { in cfi_disk_attach()118 sc->parent->sc_region[sc->parent->sc_regions-1].r_blksz; in cfi_disk_attach()