Home
last modified time | relevance | path

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

/openbmc/linux/drivers/edac/
H A Di82443bxgx_edac.c236 u32 nbxcfg, ecc_mode; in i82443bxgx_edacmc_probe1() local
285 ecc_mode = ((nbxcfg >> I82443BXGX_NBXCFG_OFFSET_DRAM_INTEGRITY) & in i82443bxgx_edacmc_probe1()
288 mci->scrub_mode = (ecc_mode == I82443BXGX_NBXCFG_INTEGRITY_SCRUB) in i82443bxgx_edacmc_probe1()
291 switch (ecc_mode) { in i82443bxgx_edacmc_probe1()
/openbmc/linux/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.c2373 int ecc_mode = 1; in qcom_nand_attach_chip() local
2394 ecc_mode = 1; in qcom_nand_attach_chip()
2414 ecc_mode = 0; in qcom_nand_attach_chip()
2522 | ecc_mode << ECC_MODE in qcom_nand_attach_chip()
/openbmc/u-boot/drivers/ddr/fsl/
H A Doptions.c889 popts->ecc_mode = 0; /* 0 = disabled, 1 = enabled */ in populate_memctl_options()
893 popts->ecc_mode = 1; in populate_memctl_options()
895 popts->ecc_mode = 1; in populate_memctl_options()
898 popts->ecc_init_using_memctl = popts->ecc_mode ? 1 : 0; in populate_memctl_options()
H A Dinteractive.c545 CTRL_OPTIONS(ecc_mode), in fsl_ddr_options_edit()
840 CTRL_OPTIONS(ecc_mode), in print_memctl_options()
H A Dctrl_regs.c809 ecc_en = popts->ecc_mode; in set_ddr_sdram_cfg()
/openbmc/u-boot/board/freescale/c29xpcie/
H A Dddr.c88 popts->ecc_mode = 0; in fsl_ddr_board_options()
/openbmc/u-boot/include/
H A Dfsl_ddr_sdram.h350 unsigned int ecc_mode; /* Use ECC? */ member
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dvf610_nfc.c339 static inline void vf610_nfc_ecc_mode(struct mtd_info *mtd, int ecc_mode) in vf610_nfc_ecc_mode() argument
343 CONFIG_ECC_MODE_SHIFT, ecc_mode); in vf610_nfc_ecc_mode()
H A Dnand_base.c3885 int ret, ecc_mode = -1, ecc_strength, ecc_step; in nand_dt_init() local
3899 ecc_mode = NAND_ECC_NONE; in nand_dt_init()
3901 ecc_mode = NAND_ECC_SOFT; in nand_dt_init()
3903 ecc_mode = NAND_ECC_HW; in nand_dt_init()
3905 ecc_mode = NAND_ECC_HW_SYNDROME; in nand_dt_init()
3907 ecc_mode = NAND_ECC_HW_OOB_FIRST; in nand_dt_init()
3909 ecc_mode = NAND_ECC_SOFT_BCH; in nand_dt_init()
3922 if (ecc_mode >= 0) in nand_dt_init()
3923 chip->ecc.mode = ecc_mode; in nand_dt_init()