Home
last modified time | relevance | path

Searched refs:sm_oob (Results 1 – 4 of 4) sorted by relevance

/drivers/mtd/nand/
Dsm_common.h13 struct sm_oob { struct
42 static inline int sm_sector_valid(struct sm_oob *oob) in sm_sector_valid() argument
47 static inline int sm_block_valid(struct sm_oob *oob) in sm_block_valid()
52 static inline int sm_block_erased(struct sm_oob *oob) in sm_block_erased()
Dsm_common.c105 struct sm_oob oob; in sm_block_markbad()
Dr852.c438 struct sm_oob *oob = (struct sm_oob *)ecc_code; in r852_ecc_calculate()
/drivers/mtd/
Dsm_ftl.c151 static int sm_read_lba(struct sm_oob *oob) in sm_read_lba()
177 static void sm_write_lba(struct sm_oob *oob, uint16_t lba) in sm_write_lba()
220 static int sm_correct_sector(uint8_t *buffer, struct sm_oob *oob) in sm_correct_sector()
239 uint8_t *buffer, struct sm_oob *oob) in sm_read_sector()
243 struct sm_oob tmp_oob; in sm_read_sector()
321 uint8_t *buffer, struct sm_oob *oob) in sm_write_sector()
370 struct sm_oob oob; in sm_write_block()
431 struct sm_oob oob; in sm_mark_block_bad()
514 struct sm_oob oob; in sm_check_block()
669 struct sm_oob oob; in sm_read_cis()
[all …]