Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dfsmc_nand.c263 u_int ecc_tmp; in fsmc_read_hwecc() local
280 ecc[0] = (u_char) (ecc_tmp >> 0); in fsmc_read_hwecc()
281 ecc[1] = (u_char) (ecc_tmp >> 8); in fsmc_read_hwecc()
282 ecc[2] = (u_char) (ecc_tmp >> 16); in fsmc_read_hwecc()
283 ecc[3] = (u_char) (ecc_tmp >> 24); in fsmc_read_hwecc()
286 ecc[4] = (u_char) (ecc_tmp >> 0); in fsmc_read_hwecc()
287 ecc[5] = (u_char) (ecc_tmp >> 8); in fsmc_read_hwecc()
292 ecc[8] = (u_char) (ecc_tmp >> 0); in fsmc_read_hwecc()
293 ecc[9] = (u_char) (ecc_tmp >> 8); in fsmc_read_hwecc()
303 ecc[0] = (u_char) (ecc_tmp >> 0); in fsmc_read_hwecc()
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Dfsmc_nand.c395 u32 ecc_tmp; in fsmc_read_hwecc_ecc4() local
411 ecc[0] = ecc_tmp; in fsmc_read_hwecc_ecc4()
412 ecc[1] = ecc_tmp >> 8; in fsmc_read_hwecc_ecc4()
413 ecc[2] = ecc_tmp >> 16; in fsmc_read_hwecc_ecc4()
417 ecc[4] = ecc_tmp; in fsmc_read_hwecc_ecc4()
418 ecc[5] = ecc_tmp >> 8; in fsmc_read_hwecc_ecc4()
423 ecc[8] = ecc_tmp; in fsmc_read_hwecc_ecc4()
424 ecc[9] = ecc_tmp >> 8; in fsmc_read_hwecc_ecc4()
443 u32 ecc_tmp; in fsmc_read_hwecc_ecc1() local
446 ecc[0] = ecc_tmp; in fsmc_read_hwecc_ecc1()
[all …]