Lines Matching full:oob

28  *	1024 * n data + m Bytes oob
30 * First byte of oob(spare).
83 #define NFC_SYS_DATA_SIZE (4) /* 4 bytes sys data in oob pre 1024 data.*/
537 * The first four bytes of OOB are reserved for the in rk_nfc_write_page_raw()
540 * in OOB also need to be written back. in rk_nfc_write_page_raw()
549 * The OOB data layout on the NFC is: in rk_nfc_write_page_raw()
601 u8 *oob; in rk_nfc_write_page_hwecc() local
612 * by the boot ROM and the first 32 bits of OOB need to link to in rk_nfc_write_page_hwecc()
614 * OOB data from the MTD framework, because this page address in rk_nfc_write_page_hwecc()
616 * so we shift all OOB data including the BBM with 4 byte positions. in rk_nfc_write_page_hwecc()
617 * As a consequence the OOB size available to the MTD framework is in rk_nfc_write_page_hwecc()
640 oob = chip->oob_poi + (i - 1) * NFC_SYS_DATA_SIZE; in rk_nfc_write_page_hwecc()
641 reg = oob[0] | oob[1] << 8 | oob[2] << 16 | in rk_nfc_write_page_hwecc()
642 oob[3] << 24; in rk_nfc_write_page_hwecc()
721 * The first four bytes of OOB are reserved for the in rk_nfc_read_page_raw()
764 u8 *oob; in rk_nfc_read_page_hwecc() local
815 oob = chip->oob_poi + (i - 1) * NFC_SYS_DATA_SIZE; in rk_nfc_read_page_hwecc()
820 *oob++ = (u8)tmp; in rk_nfc_read_page_hwecc()
821 *oob++ = (u8)(tmp >> 8); in rk_nfc_read_page_hwecc()
822 *oob++ = (u8)(tmp >> 16); in rk_nfc_read_page_hwecc()
823 *oob++ = (u8)(tmp >> 24); in rk_nfc_read_page_hwecc()
937 * The beginning of the OOB area stores the reserved data for the NFC, in rk_nfc_ooblayout_free()
984 * blocks. The first 4 OOB bytes are reserved for sys data. in rk_nfc_ecc_init()