Home
last modified time | relevance | path

Searched refs:pktnum (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Darasan_nfc.c327 u32 reg_val, i, pktsize, pktnum; in arasan_nand_read_page() local
339 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 …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Dcxd2841er.c1451 u8 pktnum[2]; in cxd2841er_read_ber_i() local
1462 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()