Home
last modified time | relevance | path

Searched refs:ecc_mode (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/edac/
H A Di82443bxgx_edac.c237 u32 nbxcfg, ecc_mode; in i82443bxgx_edacmc_probe1() local
286 ecc_mode = ((nbxcfg >> I82443BXGX_NBXCFG_OFFSET_DRAM_INTEGRITY) & in i82443bxgx_edacmc_probe1()
289 mci->scrub_mode = (ecc_mode == I82443BXGX_NBXCFG_INTEGRITY_SCRUB) in i82443bxgx_edacmc_probe1()
292 switch (ecc_mode) { in i82443bxgx_edacmc_probe1()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dvf610_nfc.c165 u32 ecc_mode; member
319 static inline void vf610_nfc_ecc_mode(struct vf610_nfc *nfc, int ecc_mode) in vf610_nfc_ecc_mode() argument
323 CONFIG_ECC_MODE_SHIFT, ecc_mode); in vf610_nfc_ecc_mode()
569 vf610_nfc_ecc_mode(nfc, nfc->ecc_mode); in vf610_nfc_read_page()
626 vf610_nfc_ecc_mode(nfc, nfc->ecc_mode); in vf610_nfc_write_page()
779 nfc->ecc_mode = ECC_60_BYTE; in vf610_nfc_attach_chip()
782 nfc->ecc_mode = ECC_45_BYTE; in vf610_nfc_attach_chip()
H A Dqcom_nandc.c2473 int ecc_mode = 1; in qcom_nand_attach_chip() local
2494 ecc_mode = 1; in qcom_nand_attach_chip()
2514 ecc_mode = 0; in qcom_nand_attach_chip()
2609 | ecc_mode << ECC_MODE in qcom_nand_attach_chip()
/OK3568_Linux_fs/u-boot/drivers/ddr/fsl/
H A Doptions.c885 popts->ecc_mode = 0; /* 0 = disabled, 1 = enabled */ in populate_memctl_options()
889 popts->ecc_mode = 1; in populate_memctl_options()
891 popts->ecc_mode = 1; in populate_memctl_options()
894 popts->ecc_init_using_memctl = popts->ecc_mode ? 1 : 0; in populate_memctl_options()
H A Dinteractive.c538 CTRL_OPTIONS(ecc_mode), in fsl_ddr_options_edit()
828 CTRL_OPTIONS(ecc_mode), in print_memctl_options()
H A Dctrl_regs.c788 ecc_en = popts->ecc_mode; in set_ddr_sdram_cfg()
/OK3568_Linux_fs/u-boot/board/freescale/c29xpcie/
H A Dddr.c89 popts->ecc_mode = 0; in fsl_ddr_board_options()
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dvf610_nfc.c340 static inline void vf610_nfc_ecc_mode(struct mtd_info *mtd, int ecc_mode) in vf610_nfc_ecc_mode() argument
344 CONFIG_ECC_MODE_SHIFT, ecc_mode); in vf610_nfc_ecc_mode()
H A Dnand_base.c4576 int ret, ecc_mode = -1, ecc_strength, ecc_step; in nand_dt_init() local
4590 ecc_mode = NAND_ECC_NONE; in nand_dt_init()
4592 ecc_mode = NAND_ECC_SOFT; in nand_dt_init()
4594 ecc_mode = NAND_ECC_HW; in nand_dt_init()
4596 ecc_mode = NAND_ECC_HW_SYNDROME; in nand_dt_init()
4598 ecc_mode = NAND_ECC_HW_OOB_FIRST; in nand_dt_init()
4600 ecc_mode = NAND_ECC_SOFT_BCH; in nand_dt_init()
4613 if (ecc_mode >= 0) in nand_dt_init()
4614 chip->ecc.mode = ecc_mode; in nand_dt_init()
/OK3568_Linux_fs/u-boot/include/
H A Dfsl_ddr_sdram.h350 unsigned int ecc_mode; /* Use ECC? */ member