Home
last modified time | relevance | path

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

/linux-4.1.27/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.c44 struct sm_oob oob; in sm_block_markbad()
Dr852.c438 struct sm_oob *oob = (struct sm_oob *)ecc_code; in r852_ecc_calculate()
/linux-4.1.27/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()
219 static int sm_correct_sector(uint8_t *buffer, struct sm_oob *oob) in sm_correct_sector()
238 uint8_t *buffer, struct sm_oob *oob) in sm_read_sector()
242 struct sm_oob tmp_oob; in sm_read_sector()
320 uint8_t *buffer, struct sm_oob *oob) in sm_write_sector()
369 struct sm_oob oob; in sm_write_block()
430 struct sm_oob oob; in sm_mark_block_bad()
513 struct sm_oob oob; in sm_check_block()
668 struct sm_oob oob; in sm_read_cis()
[all …]