Searched refs:use_ecc (Results 1 – 2 of 2) sorted by relevance
132 int use_ecc; member173 int use_ecc; /* use HW ECC ? */ member284 info->oob_size = (info->use_ecc) ? 40 : 64; in pxa3xx_set_datasize()287 info->oob_size = (info->use_ecc) ? 8 : 16; in pxa3xx_set_datasize()304 ndcr |= info->use_ecc ? NDCR_ECC_EN : 0; in pxa3xx_nand_start()506 info->use_ecc = 0; in prepare_command_pool()517 info->use_ecc = 1; in prepare_command_pool()701 switch (info->use_ecc) { in pxa3xx_nand_read_page_hwecc()
718 uint8_t *buf, int page, bool use_ecc) in read_page() argument766 if (likely(use_ecc == true)) { in read_page()901 const uint8_t *buf, bool use_ecc) in write_page() argument928 if (likely(use_ecc == true)) { in write_page()