Lines Matching refs:steps
142 int steps; member
281 static int anfc_pkt_len_config(unsigned int len, unsigned int *steps, in anfc_pkt_len_config() argument
295 if (steps) in anfc_pkt_len_config()
296 *steps = nb; in anfc_pkt_len_config()
405 PKT_STEPS(chip->ecc.steps), in anfc_read_page_hw_ecc()
452 for (step = 0; step < chip->ecc.steps; step++) { in anfc_read_page_hw_ecc()
522 PKT_STEPS(chip->ecc.steps), in anfc_write_page_hw_ecc()
637 ret = anfc_pkt_len_config(nfc_op->len, &nfc_op->steps, in anfc_parse_instructions()
657 PKT_STEPS(nfc_op->steps); in anfc_parse_instructions()
670 unsigned int dwords = (nfc_op->len / 4) / nfc_op->steps; in anfc_rw_pio_op()
676 for (i = 0; i < nfc_op->steps; i++) { in anfc_rw_pio_op()
1169 ecc->steps = mtd->writesize / ecc->size; in anfc_init_hw_ecc_controller()
1173 anand->ecc_total = DIV_ROUND_UP(anand->ecc_bits * ecc->steps, 8); in anfc_init_hw_ecc_controller()