Home
last modified time | relevance | path

Searched refs:uci (Results 1 – 2 of 2) sorted by relevance

/drivers/mtd/
Dnftlmount.c311 struct nftl_uci1 uci; in NFTL_formatblock() local
317 8, &retlen, (char *)&uci) < 0) in NFTL_formatblock()
320 erase_mark = le16_to_cpu ((uci.EraseMark | uci.EraseMark1)); in NFTL_formatblock()
323 uci.EraseMark = cpu_to_le16(ERASE_MARK); in NFTL_formatblock()
324 uci.EraseMark1 = cpu_to_le16(ERASE_MARK); in NFTL_formatblock()
325 uci.WearInfo = cpu_to_le32(0); in NFTL_formatblock()
342 nb_erases = le32_to_cpu(uci.WearInfo); in NFTL_formatblock()
355 uci.WearInfo = le32_to_cpu(nb_erases); in NFTL_formatblock()
357 8, 8, &retlen, (char *)&uci) < 0) in NFTL_formatblock()
559 struct nftl_uci2 uci; in get_fold_mark() local
[all …]
Dinftlmount.c375 struct inftl_unittail uci; in INFTL_formatblock() local
413 uci.EraseMark = cpu_to_le16(ERASE_MARK); in INFTL_formatblock()
414 uci.EraseMark1 = cpu_to_le16(ERASE_MARK); in INFTL_formatblock()
415 uci.Reserved[0] = 0; in INFTL_formatblock()
416 uci.Reserved[1] = 0; in INFTL_formatblock()
417 uci.Reserved[2] = 0; in INFTL_formatblock()
418 uci.Reserved[3] = 0; in INFTL_formatblock()
420 if (inftl_write_oob(mtd, instr->addr + 8, 8, &retlen, (char *)&uci) < 0) in INFTL_formatblock()