Home
last modified time | relevance | path

Searched refs:NB_DATA (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Ddiskonchip.c117 /* The sector bytes are packed into NB_DATA 10 bit words */
118 #define NB_DATA (((SECTOR_SIZE + 1) * 8 + 6) / 10) macro
186 if (pos >= NB_DATA && pos < 1019) in doc_ecc_decode()
188 if (pos < NB_DATA) { in doc_ecc_decode()
190 pos = 10 * (NB_DATA - 1 - pos) - 6; in doc_ecc_decode()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Ddiskonchip.c117 /* The sector bytes are packed into NB_DATA 10 bit words */
118 #define NB_DATA (((SECTOR_SIZE + 1) * 8 + 6) / 10) macro
186 if (pos >= NB_DATA && pos < 1019) in doc_ecc_decode()
188 if (pos < NB_DATA) { in doc_ecc_decode()
190 pos = 10 * (NB_DATA - 1 - pos) - 6; in doc_ecc_decode()

Completed in 5 milliseconds