Searched refs:pktnum (Results 1 – 2 of 2) sorted by relevance
327 u32 reg_val, i, pktsize, pktnum; in arasan_nand_read_page() local339 pktnum = size/pktsize + 1; in arasan_nand_read_page()341 pktnum = size/pktsize; in arasan_nand_read_page()368 while (rdcount < pktnum) { in arasan_nand_read_page()382 if (pktnum == rdcount) { in arasan_nand_read_page()401 if (rdcount >= pktnum) in arasan_nand_read_page()516 pktnum = size/pktsize + 1; in arasan_nand_write_page_hwecc()518 pktnum = size/pktsize; in arasan_nand_write_page_hwecc()536 while (rdcount < pktnum) { in arasan_nand_write_page_hwecc()551 if (pktnum == rdcount) { in arasan_nand_write_page_hwecc()[all …]
1451 u8 pktnum[2]; in cxd2841er_read_ber_i() local1462 cxd2841er_read_regs(priv, I2C_SLVT, 0x5B, pktnum, sizeof(pktnum)); in cxd2841er_read_ber_i()1466 if (!pktnum[0] && !pktnum[1]) { in cxd2841er_read_ber_i()1474 *bit_count = ((((u32)pktnum[0] << 8) | pktnum[1]) * 204 * 8); in cxd2841er_read_ber_i()