Lines Matching refs:hwcfg
189 struct brcmnand_cfg hwcfg; member
657 acc_control |= host->hwcfg.ecc_level in brcmnand_set_ecc_enabled()
788 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_create_layout()
891 struct brcmnand_cfg *p = &host->hwcfg; in brcmstb_choose_ecc_layout()
1202 host->hwcfg.sector_size_1k = in brcmnand_cmdfunc()
1237 if (host->hwcfg.sector_size_1k) in brcmnand_cmdfunc()
1239 host->hwcfg.sector_size_1k); in brcmnand_cmdfunc()
1460 host->hwcfg.sector_size_1k); in brcmnand_read_by_pio()
1643 host->hwcfg.sector_size_1k); in brcmnand_write()
1844 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_setup_dev()
2017 chip->ecc.size = host->hwcfg.sector_size_1k ? 1024 : 512; in brcmnand_init_cs()
2044 nand_writereg(ctrl, cfg_offs, host->hwcfg.config); in brcmnand_save_restore_cs_config()
2047 host->hwcfg.config_ext); in brcmnand_save_restore_cs_config()
2048 nand_writereg(ctrl, acc_control_offs, host->hwcfg.acc_control); in brcmnand_save_restore_cs_config()
2049 nand_writereg(ctrl, t1_offs, host->hwcfg.timing_1); in brcmnand_save_restore_cs_config()
2050 nand_writereg(ctrl, t2_offs, host->hwcfg.timing_2); in brcmnand_save_restore_cs_config()
2052 host->hwcfg.config = nand_readreg(ctrl, cfg_offs); in brcmnand_save_restore_cs_config()
2054 host->hwcfg.config_ext = in brcmnand_save_restore_cs_config()
2056 host->hwcfg.acc_control = nand_readreg(ctrl, acc_control_offs); in brcmnand_save_restore_cs_config()
2057 host->hwcfg.timing_1 = nand_readreg(ctrl, t1_offs); in brcmnand_save_restore_cs_config()
2058 host->hwcfg.timing_2 = nand_readreg(ctrl, t2_offs); in brcmnand_save_restore_cs_config()