Home
last modified time | relevance | path

Searched refs:ecc_en (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Ddenali_spl.c101 int denali_send_pipeline_cmd(int page, int ecc_en, int access_type) in denali_send_pipeline_cmd() argument
106 writel(ecc_en, denali_flash_reg + ECC_ENABLE); in denali_send_pipeline_cmd()
/openbmc/linux/drivers/edac/
H A Damd64_edac.c3601 u8 ecc_en = 0; in dct_ecc_enabled() local
3606 ecc_en = !!(value & NBCFG_ECC_ENABLE); in dct_ecc_enabled()
3613 edac_dbg(3, "Node %d: DRAM ECC %s.\n", nid, (ecc_en ? "enabled" : "disabled")); in dct_ecc_enabled()
3615 if (!ecc_en || !nb_mce_en) in dct_ecc_enabled()
3624 bool ecc_en = false; in umc_ecc_enabled() local
3633 ecc_en = true; in umc_ecc_enabled()
3638 edac_dbg(3, "Node %d: DRAM ECC %s.\n", pvt->mc_node_id, (ecc_en ? "enabled" : "disabled")); in umc_ecc_enabled()
3640 return ecc_en; in umc_ecc_enabled()
3646 u8 i, ecc_en = 1, cpk_en = 1, dev_x4 = 1, dev_x16 = 1; in umc_determine_edac_ctl_cap() local
3650 ecc_en &= !!(pvt->umc[i].umc_cap_hi & UMC_ECC_ENABLED); in umc_determine_edac_ctl_cap()
[all …]
/openbmc/u-boot/drivers/ddr/fsl/
H A Dctrl_regs.c788 unsigned int ecc_en; /* ECC enable. */ in set_ddr_sdram_cfg() local
809 ecc_en = popts->ecc_mode; in set_ddr_sdram_cfg()
811 ecc_en = 0; in set_ddr_sdram_cfg()
846 acc_ecc_en = (dbw != 0 && ecc_en == 1) ? 1 : 0; in set_ddr_sdram_cfg()
851 | ((ecc_en & 0x1) << 29) in set_ddr_sdram_cfg()