Home
last modified time | relevance | path

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

/linux-2.6.39/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.c42 struct sm_oob oob; in sm_block_markbad()
Dr852.c457 struct sm_oob *oob = (struct sm_oob *)ecc_code; in r852_ecc_calculate()
/linux-2.6.39/drivers/mtd/
Dsm_ftl.c154 static int sm_read_lba(struct sm_oob *oob) in sm_read_lba()
180 static void sm_write_lba(struct sm_oob *oob, uint16_t lba) in sm_write_lba()
222 static int sm_correct_sector(uint8_t *buffer, struct sm_oob *oob) in sm_correct_sector()
241 uint8_t *buffer, struct sm_oob *oob) in sm_read_sector()
245 struct sm_oob tmp_oob; in sm_read_sector()
323 uint8_t *buffer, struct sm_oob *oob) in sm_write_sector()
373 struct sm_oob oob; in sm_write_block()
434 struct sm_oob oob; in sm_mark_block_bad()
517 struct sm_oob oob; in sm_check_block()
672 struct sm_oob oob; in sm_read_cis()
[all …]