Home
last modified time | relevance | path

Searched refs:sc_regions (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/cfi/
H A Dcfi_core.c391 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()
H A Dcfi_dev.c98 for (r = 0; r < sc->sc_regions; r++) { in cfi_block_start()
104 if (r == sc->sc_regions) in cfi_block_start()
H A Dcfi_var.h62 u_int sc_regions; /* Erase regions. */ member
H A Dcfi_disk.c110 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()