/u-boot/tools/ |
H A D | sunxi-spl-image-builder.c | 117 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/block/ |
H A D | rkmtd.c | 261 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 D | nand-controller.c | 680 for (i = 0; i < chip->ecc.steps; i++) { 715 for (i = 0; i < chip->ecc.steps; i++) {
|
/u-boot/drivers/mtd/nand/raw/ |
H A D | atmel_nand.c | 913 nand->ecc.steps = 1;
|
H A D | cortina_nand.c | 601 for (i = 0, eccsteps = chip->ecc.steps; eccsteps; 693 for (i = 0, n = 0, eccsteps = chip->ecc.steps; eccsteps;
|
H A D | davinci_nand.c | 430 int eccsteps = chip->ecc.steps;
|
H A D | denali.c | 293 int ecc_steps = chip->ecc.steps; 343 *uncor_ecc_flags = GENMASK(chip->ecc.steps - 1, 0); 618 int ecc_steps = chip->ecc.steps; 675 int ecc_steps = chip->ecc.steps; 806 int ecc_steps = chip->ecc.steps; 1322 /* chip->ecc.steps is set by nand_scan_tail(); not available here */
|
H A D | fsl_elbc_nand.c | 760 nand->ecc.steps = 1; 796 nand->ecc.steps = 4;
|
H A D | fsl_ifc_nand.c | 291 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 D | lpc32xx_nand_slc.c | 435 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 D | meson_nand.c | 320 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 D | mt7621_nand.c | 234 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 D | mxc_nand.c | 401 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 D | nand_base.c | 401 * This function performs the generic NAND bad block marking steps (i.e., bad 1788 int steps, size, ret; local 1790 for (steps = chip->ecc.steps; steps > 0; steps--) { 1845 int eccsteps = chip->ecc.steps; 1860 eccsteps = chip->ecc.steps; 2004 int eccsteps = chip->ecc.steps; 2029 eccsteps = chip->ecc.steps; 2566 int ret, i, len, pos, sndcmd = 0, steps = chip->ecc.steps; local 2818 int steps, size, ret; local [all...] |
H A D | octeontx_nand.c | 462 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 D | omap_gpmc.c | 713 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 D | rockchip_nfc.c | 455 for (i = 0; i < ecc->steps; i++) { 496 rk_nfc_buf_to_oob_ptr(chip, ecc->steps - 1), 569 for (i = 0; i < ecc->steps; i++) { 571 oob = chip->oob_poi + (ecc->steps - 1) * NFC_SYS_DATA_SIZE; 586 ecc->steps * oob_step, 589 rk_nfc_xfer_start(nfc, NFC_WRITE, ecc->steps, dma_data, 595 dma_unmap_single(dma_oob, ecc->steps * oob_step, 639 for (i = 0; i < ecc->steps; i++) { 648 memcpy(rk_nfc_buf_to_oob_ptr(chip, ecc->steps - 1), 695 ecc->steps * oob_ste [all...] |
H A D | stm32_fmc2_nand.c | 517 int eccsteps = chip->ecc.steps;
|
H A D | sunxi_nand.c | 915 int offset = ((ecc->bytes + 4) * ecc->steps); 996 int offset = ((ecc->bytes + 4) * ecc->steps); 1022 for (i = 0; i < ecc->steps; i++) { 1088 for (i = 0; i < ecc->steps; i++) { 1152 for (i = 0; i < ecc->steps; i++) { 1186 for (i = 0; i < ecc->steps; i++) {
|
H A D | zynq_nand.c | 592 for (eccsteps = chip->ecc.steps; (eccsteps - 1); eccsteps--) { 644 int eccsteps = chip->ecc.steps; 685 for (eccsteps = chip->ecc.steps; (eccsteps - 1); eccsteps--) { 722 eccsteps = chip->ecc.steps; 749 int eccsteps = chip->ecc.steps; 763 eccsteps = chip->ecc.steps;
|
/u-boot/drivers/mtd/nand/raw/brcmnand/ |
H A D | brcmnand.c | 1866 for (i = 0; i < chip->ecc.steps; i++) {
|
/u-boot/drivers/phy/ |
H A D | phy-zynqmp.c | 183 * @steps: number of steps of SSC (Spread Spectrum Clock) 189 u32 steps; member in struct:xpsgtr_ssc 325 /* SSC steps [7:0] */ 327 STEPS_0_MASK, ssc->steps & STEPS_0_MASK); 329 /* SSC steps [10:8] */ 332 (ssc->steps >> STEP_SIZE_SHIFT) & STEPS_1_MASK);
|
/u-boot/include/linux/mtd/ |
H A D | rawnand.h | 550 * @steps: number of ECC steps per page 601 int steps; member in struct:nand_ecc_ctrl
|
/u-boot/lib/efi_selftest/ |
H A D | efi_selftest.c | 205 * 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
|