Lines Matching full:steps
117 * @steps: Number of "packets" to read/write
128 int steps; member
252 static int anfc_pkt_len_config(unsigned int len, unsigned int *steps, in anfc_pkt_len_config() argument
266 if (steps) in anfc_pkt_len_config()
267 *steps = nb; in anfc_pkt_len_config()
310 PKT_STEPS(chip->ecc.steps), in anfc_read_page_hw_ecc()
357 for (step = 0; step < chip->ecc.steps; step++) { in anfc_read_page_hw_ecc()
415 PKT_STEPS(chip->ecc.steps), in anfc_write_page_hw_ecc()
517 ret = anfc_pkt_len_config(nfc_op->len, &nfc_op->steps, in anfc_parse_instructions()
537 PKT_STEPS(nfc_op->steps); in anfc_parse_instructions()
550 unsigned int dwords = (nfc_op->len / 4) / nfc_op->steps; in anfc_rw_pio_op()
556 for (i = 0; i < nfc_op->steps; i++) { in anfc_rw_pio_op()
985 ecc->steps = mtd->writesize / ecc->size; in anfc_init_hw_ecc_controller()
989 anand->ecc_total = DIV_ROUND_UP(anand->ecc_bits * ecc->steps, 8); in anfc_init_hw_ecc_controller()