Home
last modified time | relevance | path

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

/freebsd/sys/dev/cfi/
H A Dcfi_core.c294 uint64_t mtoexp, ttoexp; in cfi_attach() local
317 ttoexp = cfi_read_qry(sc, CFI_QRY_TTO_ERASE); in cfi_attach()
319 if (ttoexp == 0) { in cfi_attach()
321 ttoexp = 16; in cfi_attach()
323 if (ttoexp > 41) { in cfi_attach()
324 device_printf(dev, "insane timeout: 2^%jdms\n", ttoexp); in cfi_attach()
329 ttoexp + 4); in cfi_attach()
332 if (ttoexp + mtoexp > 41) { in cfi_attach()
334 ttoexp + mtoexp); in cfi_attach()
337 sc->sc_typical_timeouts[CFI_TIMEOUT_ERASE] = SBT_1MS * (1ULL << ttoexp); in cfi_attach()
[all …]