Lines Matching defs:steps
130 * @steps: Number of "packets" to read/write
142 int steps;
281 static int anfc_pkt_len_config(unsigned int len, unsigned int *steps,
295 if (steps)
296 *steps = nb;
405 PKT_STEPS(chip->ecc.steps),
452 for (step = 0; step < chip->ecc.steps; step++) {
523 PKT_STEPS(chip->ecc.steps),
649 ret = anfc_pkt_len_config(nfc_op->len, &nfc_op->steps,
669 PKT_STEPS(nfc_op->steps);
682 unsigned int dwords = (nfc_op->len / 4) / nfc_op->steps;
688 for (i = 0; i < nfc_op->steps; i++) {
1166 ecc->steps = mtd->writesize / ecc->size;
1170 anand->ecc_total = DIV_ROUND_UP(anand->ecc_bits * ecc->steps, 8);