Lines Matching refs:steps
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()
341 PKT_STEPS(chip->ecc.steps), in anfc_read_page_hw_ecc()
388 for (step = 0; step < chip->ecc.steps; step++) { in anfc_read_page_hw_ecc()
458 PKT_STEPS(chip->ecc.steps), in anfc_write_page_hw_ecc()
572 ret = anfc_pkt_len_config(nfc_op->len, &nfc_op->steps, in anfc_parse_instructions()
592 PKT_STEPS(nfc_op->steps); in anfc_parse_instructions()
605 unsigned int dwords = (nfc_op->len / 4) / nfc_op->steps; in anfc_rw_pio_op()
611 for (i = 0; i < nfc_op->steps; i++) { in anfc_rw_pio_op()
1048 ecc->steps = mtd->writesize / ecc->size; in anfc_init_hw_ecc_controller()
1052 anand->ecc_total = DIV_ROUND_UP(anand->ecc_bits * ecc->steps, 8); in anfc_init_hw_ecc_controller()