Searched refs:arrlen (Results 1 – 1 of 1) sorted by relevance
4905 static int nand_id_has_period(u8 *id_data, int arrlen, int period) in nand_id_has_period() argument4909 for (j = i + period; j < arrlen; j += period) in nand_id_has_period()4923 static int nand_id_len(u8 *id_data, int arrlen) in nand_id_len() argument4928 for (last_nonzero = arrlen - 1; last_nonzero >= 0; last_nonzero--) in nand_id_len()4937 for (period = 1; period < arrlen; period++) in nand_id_len()4938 if (nand_id_has_period(id_data, arrlen, period)) in nand_id_len()4942 if (period < arrlen) in nand_id_len()4946 if (last_nonzero < arrlen - 1) in nand_id_len()4950 return arrlen; in nand_id_len()