Lines Matching refs:byte_cnt
241 uint32_t byte_cnt, in nand_read_data() argument
255 write_reg(nand, NAND_BC, byte_cnt); in nand_read_data()
262 if (byte_cnt == 0 || in nand_read_data()
263 (byte_cnt != 0 && main_spare == 0 && col_add <= 255)) { in nand_read_data()
320 if (byte_cnt == 0) in nand_read_data()
331 if (byte_cnt == 0) in nand_read_data()
335 memcpy(data, (void *)sram_addr_calc, byte_cnt); in nand_read_data()
347 uint32_t byte_cnt = U(0); in nand_read() local
388 byte_cnt = size; in nand_read()
390 byte_cnt = nand->page_size - col_off; in nand_read()
398 byte_cnt, out, MAIN, nand); in nand_read()
409 byte_cnt = size; in nand_read()
412 byte_cnt = nand->page_size; in nand_read()
428 src_addr += byte_cnt; in nand_read()
429 out += byte_cnt; in nand_read()
430 size -= byte_cnt; in nand_read()