Lines Matching refs:sc_wrofs
565 cfi_write(sc, sc->sc_wrofs, CFI_INTEL_LBS);
566 cfi_write(sc, sc->sc_wrofs, CFI_INTEL_UB);
567 cfi_write(sc, sc->sc_wrofs, CFI_BCS_READ_ARRAY);
585 cfi_write(sc, sc->sc_wrofs, CFI_BCS_BLOCK_ERASE);
586 cfi_write(sc, sc->sc_wrofs, CFI_BCS_CONFIRM);
590 cfi_amd_write(sc, sc->sc_wrofs, AMD_ADDR_START,
592 cfi_amd_write(sc, sc->sc_wrofs, 0, CFI_AMD_BLOCK_ERASE);
600 error = cfi_wait_ready(sc, sc->sc_wrofs, start,
621 cfi_write(sc, sc->sc_wrofs + i,
627 st = cfi_read(sc, sc->sc_wrofs + i);
630 cfi_write(sc, sc->sc_wrofs + i,
635 sc->sc_handle, sc->sc_wrofs + i,
640 sc->sc_handle, sc->sc_wrofs + i,
645 sc->sc_handle, sc->sc_wrofs + i,
650 cfi_write(sc, sc->sc_wrofs + i,
655 error = cfi_wait_ready(sc, sc->sc_wrofs + i,
700 cfi_write(sc, sc->sc_wrofs + i, CFI_BCS_PROGRAM);
710 sc->sc_wrofs + i, *(ptr.x8 + i));
714 sc->sc_wrofs + i, *(ptr.x16 + i / 2));
718 sc->sc_wrofs + i, *(ptr.x32 + i / 4));
724 error = cfi_wait_ready(sc, sc->sc_wrofs, start,
739 cfi_write(sc, sc->sc_wrofs, CFI_INTEL_LBS);
740 cfi_write(sc, sc->sc_wrofs, CFI_INTEL_LB);
741 cfi_write(sc, sc->sc_wrofs, CFI_BCS_READ_ARRAY);