Lines Matching refs:nand_pmecc_header
22 static uint32_t nand_pmecc_header[52]; variable
122 for (pos = 0; pos < ARRAY_SIZE(nand_pmecc_header); pos++) in atmel_verify_header()
126 if (pos == ARRAY_SIZE(nand_pmecc_header)) { in atmel_verify_header()
127 ints += ARRAY_SIZE(nand_pmecc_header); in atmel_verify_header()
128 size -= sizeof(nand_pmecc_header); in atmel_verify_header()
191 for (pos = 0; pos < ARRAY_SIZE(nand_pmecc_header); pos++) in atmel_print_header()
195 if (pos == ARRAY_SIZE(nand_pmecc_header)) { in atmel_print_header()
215 for (cnt = 0; cnt < ARRAY_SIZE(nand_pmecc_header); cnt++) in atmel_set_header()
219 if (cnt == ARRAY_SIZE(nand_pmecc_header)) { in atmel_set_header()
220 pos += ARRAY_SIZE(nand_pmecc_header); in atmel_set_header()
221 size -= sizeof(nand_pmecc_header); in atmel_set_header()
315 for (pos = 0; pos < ARRAY_SIZE(nand_pmecc_header); pos++) in atmel_vrec_header()
316 nand_pmecc_header[pos] = tmp; in atmel_vrec_header()
320 tparams->header_size = sizeof(nand_pmecc_header); in atmel_vrec_header()
321 tparams->hdr = nand_pmecc_header; in atmel_vrec_header()