Searched refs:pmecc_sector_size (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/mtd/nand/
H A Datmel_nand.c134 u16 pmecc_sector_size; member in struct:atmel_nand_host
497 table_size = host->pmecc_sector_size == 512 ? pmecc_get_alpha_to()
758 int sector_size = host->pmecc_sector_size; pmecc_err_location()
812 sector_size = host->pmecc_sector_size; pmecc_correct_data()
826 pos = sector_num * host->pmecc_sector_size + byte_pos; pmecc_correct_data()
871 buf_pos = buf + i * host->pmecc_sector_size; pmecc_correction()
1021 if (host->pmecc_sector_size == 512) atmel_pmecc_core_init()
1023 else if (host->pmecc_sector_size == 1024) atmel_pmecc_core_init()
1094 if (host->pmecc_sector_size == 0) { pmecc_choose_ecc()
1097 host->pmecc_sector_size = 1024; pmecc_choose_ecc()
1099 host->pmecc_sector_size = 512; pmecc_choose_ecc()
1175 sector_size != host->pmecc_sector_size) atmel_pmecc_nand_init_params()
1179 sector_size = host->pmecc_sector_size; atmel_pmecc_nand_init_params()
1566 host->pmecc_sector_size = (u16)val; atmel_of_init_port()

Completed in 47 milliseconds