Lines Matching +full:40 +full:- +full:bit
1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2016-2017 Micron Technology, Inc.
21 #define MICRON_CFG_CR BIT(0)
24 * As per datasheet, die selection is done by the 6th bit of Die
51 return -ERANGE; in micron_8_ooblayout_ecc()
53 region->offset = mtd->oobsize / 2; in micron_8_ooblayout_ecc()
54 region->length = mtd->oobsize / 2; in micron_8_ooblayout_ecc()
63 return -ERANGE; in micron_8_ooblayout_free()
66 region->offset = 2; in micron_8_ooblayout_free()
67 region->length = (mtd->oobsize / 2) - 2; in micron_8_ooblayout_free()
81 spinand->scratchbuf); in micron_select_target()
84 return -EINVAL; in micron_select_target()
86 *spinand->scratchbuf = MICRON_SELECT_DIE(target); in micron_select_target()
88 return spi_mem_exec_op(spinand->spimem, &op); in micron_select_target()
99 return -EBADMSG; in micron_8_ecc_get_status()
114 return -EINVAL; in micron_8_ecc_get_status()
121 NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 2, 1, 1),
132 NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 2, 1, 1),
177 NAND_MEMORG(1, 4096, 256, 64, 2048, 40, 1, 1, 1),
188 NAND_MEMORG(1, 4096, 256, 64, 2048, 40, 1, 1, 1),
199 NAND_MEMORG(1, 4096, 256, 64, 2048, 40, 1, 1, 2),
211 NAND_MEMORG(1, 4096, 256, 64, 2048, 40, 1, 1, 2),
225 * M70A device series enable Continuous Read feature at Power-up, in micron_spinand_init()
226 * which is not supported. Disable this bit to avoid any possible in micron_spinand_init()
229 if (spinand->flags & SPINAND_HAS_CR_FEAT_BIT) in micron_spinand_init()