Searched refs:steps (Results 1 - 24 of 24) sorted by relevance

/u-boot/drivers/mtd/nand/raw/
H A Drockchip_nfc.c456 for (i = 0; i < ecc->steps; i++) {
497 rk_nfc_buf_to_oob_ptr(chip, ecc->steps - 1),
570 for (i = 0; i < ecc->steps; i++) {
572 oob = chip->oob_poi + (ecc->steps - 1) * NFC_SYS_DATA_SIZE;
587 ecc->steps * oob_step,
590 rk_nfc_xfer_start(nfc, NFC_WRITE, ecc->steps, dma_data,
596 dma_unmap_single(dma_oob, ecc->steps * oob_step,
640 for (i = 0; i < ecc->steps; i++) {
649 memcpy(rk_nfc_buf_to_oob_ptr(chip, ecc->steps - 1),
696 ecc->steps * oob_ste
[all...]
H A Dmxc_nand.c401 for (i = 0; i < chip->ecc.steps; i++) {
427 for (i = 0; i < chip->ecc.steps; i++) {
449 int steps, size; local
455 for (n = 0, steps = chip->ecc.steps; steps > 0; n++, steps--) {
493 int eccsteps = chip->ecc.steps;
537 eccsteps = chip->ecc.steps;
556 int i, len, status, steps local
586 int steps, size; local
[all...]
H A Dmt7621_nand.c234 return nand->oob_poi + nand->ecc.steps * NFI_FDM_SIZE +
338 FIELD_GET(SEC_CNTR, val) >= nand->ecc.steps,
685 nand->ecc.steps = mtd->writesize / nand->ecc.size;
687 avail_ecc_bytes = mtd->oobsize / nand->ecc.steps - NFI_FDM_SIZE;
769 for (i = 0; i < nand->ecc.steps; i++) {
818 nfi_write16(nfc, NFI_CON, FIELD_PREP(CON_NFI_SEC, nand->ecc.steps) |
821 for (i = 0; i < nand->ecc.steps; i++) {
875 nfi_write16(nfc, NFI_CON, FIELD_PREP(CON_NFI_SEC, nand->ecc.steps) |
878 for (i = 0; i < nand->ecc.steps; i++) {
923 for (i = 0; i < nand->ecc.steps;
[all...]
H A Dmeson_nand.c320 for (i = 0; i < nand->ecc.steps; i++) {
341 for (i = 0; i < nand->ecc.steps; i++) {
363 for (i = 0, count = 0; i < nand->ecc.steps; i++, count += (2 + nand->ecc.bytes)) {
376 for (i = 0, count = 0; i < nand->ecc.steps; i++, count += (2 + nand->ecc.bytes)) {
390 for (i = 0; i < nand->ecc.steps; i++) {
557 info_len = nand->ecc.steps * PER_INFO_BYTE;
601 memset(meson_chip->info_buf, 0, chip->ecc.steps * PER_INFO_BYTE);
617 neccpages = raw ? 1 : nand->ecc.steps;
638 info_len = nand->ecc.steps * PER_INFO_BYTE;
718 for (i = 0; i < chip->ecc.steps ;
[all...]
H A Dnand_base.c402 * This function performs the generic NAND bad block marking steps (i.e., bad
1789 int steps, size, ret; local
1791 for (steps = chip->ecc.steps; steps > 0; steps--) {
1846 int eccsteps = chip->ecc.steps;
1861 eccsteps = chip->ecc.steps;
2005 int eccsteps = chip->ecc.steps;
2030 eccsteps = chip->ecc.steps;
2567 int ret, i, len, pos, sndcmd = 0, steps = chip->ecc.steps; local
2819 int steps, size, ret; local
[all...]
H A Dzynq_nand.c593 for (eccsteps = chip->ecc.steps; (eccsteps - 1); eccsteps--) {
645 int eccsteps = chip->ecc.steps;
686 for (eccsteps = chip->ecc.steps; (eccsteps - 1); eccsteps--) {
723 eccsteps = chip->ecc.steps;
750 int eccsteps = chip->ecc.steps;
764 eccsteps = chip->ecc.steps;
H A Domap_gpmc.c713 int eccsteps = chip->ecc.steps;
749 eccsteps = chip->ecc.steps;
911 nand->ecc.steps = eccsteps;
954 nand->ecc.steps = eccsteps;
988 nand->ecc.steps = eccsteps;
H A Dlpc32xx_nand_slc.c435 lpc32xx_dma_read_buf(mtd, p, chip->ecc.size * chip->ecc.steps);
472 lpc32xx_dma_write_buf(mtd, p, chip->ecc.size * chip->ecc.steps);
H A Docteontx_nand.c462 layout->eccbytes = nand->ecc.steps * nand->ecc.bytes;
1605 int eccsteps = chip->ecc.steps;
1651 int eccsteps = chip->ecc.steps;
1790 debug("%s: steps ds: %d, strength ds: %d\n", __func__,
1858 debug("%s: start steps: %d, size: %d, bytes: %d\n",
1859 __func__, ecc->steps, ecc->size, ecc->bytes);
1864 int nsteps = ecc->steps ? ecc->steps : 1;
1871 ecc->steps = nsteps;
1880 * no subpage ops, but set subpage-shift to match ecc->steps
[all...]
H A Ddenali.c294 int ecc_steps = chip->ecc.steps;
344 *uncor_ecc_flags = GENMASK(chip->ecc.steps - 1, 0);
619 int ecc_steps = chip->ecc.steps;
676 int ecc_steps = chip->ecc.steps;
807 int ecc_steps = chip->ecc.steps;
1323 /* chip->ecc.steps is set by nand_scan_tail(); not available here */
H A Dsunxi_nand.c916 int offset = ((ecc->bytes + 4) * ecc->steps);
997 int offset = ((ecc->bytes + 4) * ecc->steps);
1023 for (i = 0; i < ecc->steps; i++) {
1089 for (i = 0; i < ecc->steps; i++) {
1153 for (i = 0; i < ecc->steps; i++) {
1187 for (i = 0; i < ecc->steps; i++) {
H A Dfsl_ifc_nand.c291 int sector_start = bufnum * chip->ecc.steps;
292 int sector_end = sector_start + chip->ecc.steps - 1;
719 for (i = 0; i < chip->ecc.steps; i++) {
H A Dfsl_elbc_nand.c760 nand->ecc.steps = 1;
796 nand->ecc.steps = 4;
H A Ddavinci_nand.c430 int eccsteps = chip->ecc.steps;
H A Dcortina_nand.c602 for (i = 0, eccsteps = chip->ecc.steps; eccsteps;
694 for (i = 0, n = 0, eccsteps = chip->ecc.steps; eccsteps;
H A Dstm32_fmc2_nand.c518 int eccsteps = chip->ecc.steps;
H A Datmel_nand.c913 nand->ecc.steps = 1;
/u-boot/lib/efi_selftest/
H A Defi_selftest.c205 * Execute test steps of one phase.
209 * @steps steps to execute (mask with bits from EFI_ST_...)
210 * failures returns EFI_ST_SUCCESS if all test steps succeeded
213 unsigned int steps, unsigned int *failures)
226 if (steps & EFI_ST_SETUP)
228 if (steps & EFI_ST_EXECUTE && setup_status[i] == EFI_ST_SUCCESS)
230 if (steps & EFI_ST_TEARDOWN)
212 efi_st_do_tests(const u16 *testname, unsigned int phase, unsigned int steps, unsigned int *failures) argument
/u-boot/tools/
H A Dsunxi-spl-image-builder.c117 int steps = info->usable_page_size / info->ecc_step_size; local
159 offs = steps * (info->ecc_step_size + eccbytes + 4);
168 offs = info->page_size + (steps * (eccbytes + 4));
177 for (i = 0; i < steps; i++) {
/u-boot/drivers/phy/
H A Dphy-zynqmp.c184 * @steps: number of steps of SSC (Spread Spectrum Clock)
190 u32 steps; member in struct:xpsgtr_ssc
326 /* SSC steps [7:0] */
328 STEPS_0_MASK, ssc->steps & STEPS_0_MASK);
330 /* SSC steps [10:8] */
333 (ssc->steps >> STEP_SIZE_SHIFT) & STEPS_1_MASK);
/u-boot/drivers/block/
H A Drkmtd.c261 p_spare = (u32 *)&plat->oobbuf[(ecc->steps - 1) * NFC_SYS_DATA_SIZE];
300 p_spare = (u32 *)&plat->oobbuf[(ecc->steps - 1) * NFC_SYS_DATA_SIZE];
/u-boot/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c680 for (i = 0; i < chip->ecc.steps; i++) {
715 for (i = 0; i < chip->ecc.steps; i++) {
/u-boot/include/linux/mtd/
H A Drawnand.h550 * @steps: number of ECC steps per page
601 int steps; member in struct:nand_ecc_ctrl
/u-boot/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c1867 for (i = 0; i < chip->ecc.steps; i++) {

Completed in 309 milliseconds