Searched refs:DOC_LAYOUT_OOB_SIZE (Results 1 – 2 of 2) sorted by relevance
/drivers/mtd/devices/ |
D | docg3.h | 49 #define DOC_LAYOUT_OOB_SIZE 16 macro 52 (DOC_LAYOUT_PAGE_SIZE + DOC_LAYOUT_OOB_SIZE) 314 u8 oob_write_buf[DOC_LAYOUT_OOB_SIZE];
|
D | docg3.c | 882 if (ooblen % DOC_LAYOUT_OOB_SIZE) in doc_read_oob() 897 nboob = min_t(size_t, ooblen, (size_t)DOC_LAYOUT_OOB_SIZE); in doc_read_oob() 916 doc_read_page_getbytes(docg3, DOC_LAYOUT_OOB_SIZE - nboob, in doc_read_oob() 922 if (nboob >= DOC_LAYOUT_OOB_SIZE) { in doc_read_oob() 1301 doc_write_page_putbytes(docg3, DOC_LAYOUT_OOB_SIZE, oob); in doc_write_page() 1378 if (ooblen != DOC_LAYOUT_OOB_SIZE) in doc_backup_oob() 1390 memcpy(docg3->oob_write_buf, ops->oobbuf, DOC_LAYOUT_OOB_SIZE); in doc_backup_oob() 1391 ops->oobretlen = DOC_LAYOUT_OOB_SIZE; in doc_backup_oob() 1419 u8 oob[DOC_LAYOUT_OOB_SIZE]; in doc_write_oob() 1471 memcpy(oob, docg3->oob_write_buf, DOC_LAYOUT_OOB_SIZE); in doc_write_oob() [all …]
|