Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/nand/raw/
Dsm_common.h10 struct sm_oob { struct
39 static inline int sm_sector_valid(struct sm_oob *oob) in sm_sector_valid() argument
44 static inline int sm_block_valid(struct sm_oob *oob) in sm_block_valid()
49 static inline int sm_block_erased(struct sm_oob *oob) in sm_block_erased()
Dsm_common.c103 struct sm_oob oob; in sm_block_markbad()
Dr852.c434 struct sm_oob *oob = (struct sm_oob *)ecc_code; in r852_ecc_calculate()
/Linux-v5.4/drivers/mtd/
Dsm_ftl.c148 static int sm_read_lba(struct sm_oob *oob) in sm_read_lba()
174 static void sm_write_lba(struct sm_oob *oob, uint16_t lba) in sm_write_lba()
217 static int sm_correct_sector(uint8_t *buffer, struct sm_oob *oob) in sm_correct_sector()
240 uint8_t *buffer, struct sm_oob *oob) in sm_read_sector()
244 struct sm_oob tmp_oob; in sm_read_sector()
322 uint8_t *buffer, struct sm_oob *oob) in sm_write_sector()
371 struct sm_oob oob; in sm_write_block()
434 struct sm_oob oob; in sm_mark_block_bad()
499 struct sm_oob oob; in sm_check_block()
654 struct sm_oob oob; in sm_read_cis()
[all …]