Home
last modified time | relevance | path

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

/drivers/mtd/
A Daltera_qspi.c259 u32 sector_start, sector_end; in altera_qspi_lock() local
266 sector_start = ofs / mtd->erasesize; in altera_qspi_lock()
269 if (sector_start >= num_sectors / 2) { in altera_qspi_lock()
270 sr_bp = fls(num_sectors - 1 - sector_start) + 1; in altera_qspi_lock()
/drivers/mtd/nand/raw/
A Dfsl_ifc_nand.c291 int sector_start = bufnum * chip->ecc.steps; in fsl_ifc_run_command() local
292 int sector_end = sector_start + chip->ecc.steps - 1; in fsl_ifc_run_command()
296 eccstat = ifc_in32(&eccstat_regs[sector_start / 4]); in fsl_ifc_run_command()
298 for (i = sector_start; i <= sector_end; i++) { in fsl_ifc_run_command()
299 if ((i != sector_start) && !(i % 4)) in fsl_ifc_run_command()

Completed in 8 milliseconds