Lines Matching refs:steps
117 * @steps: Number of "packets" to read/write
128 int steps;
252 static int anfc_pkt_len_config(unsigned int len, unsigned int *steps,
266 if (steps)
267 *steps = nb;
341 PKT_STEPS(chip->ecc.steps),
388 for (step = 0; step < chip->ecc.steps; step++) {
459 PKT_STEPS(chip->ecc.steps),
584 ret = anfc_pkt_len_config(nfc_op->len, &nfc_op->steps,
604 PKT_STEPS(nfc_op->steps);
617 unsigned int dwords = (nfc_op->len / 4) / nfc_op->steps;
623 for (i = 0; i < nfc_op->steps; i++) {
1060 ecc->steps = mtd->writesize / ecc->size;
1064 anand->ecc_total = DIV_ROUND_UP(anand->ecc_bits * ecc->steps, 8);