Lines Matching defs:hwcfg
316 struct brcmnand_cfg hwcfg;
1020 acc_control |= host->hwcfg.ecc_level << ctrl->ecc_level_shift;
1256 struct brcmnand_cfg *cfg = &host->hwcfg;
1274 struct brcmnand_cfg *cfg = &host->hwcfg;
1314 struct brcmnand_cfg *cfg = &host->hwcfg;
1332 struct brcmnand_cfg *cfg = &host->hwcfg;
1358 struct brcmnand_cfg *cfg = &host->hwcfg;
1388 struct brcmnand_cfg *p = &host->hwcfg;
1836 struct brcmnand_cfg *cfg = &host->hwcfg;
2067 host->hwcfg.sector_size_1k);
2338 host->hwcfg.sector_size_1k);
2680 struct brcmnand_cfg *cfg = &host->hwcfg;
2845 chip->ecc.size = host->hwcfg.sector_size_1k ? 1024 : 512;
2853 if (is_hamming_ecc(host->ctrl, &host->hwcfg)) {
2934 nand_writereg(ctrl, cfg_offs, host->hwcfg.config);
2937 host->hwcfg.config_ext);
2938 nand_writereg(ctrl, acc_control_offs, host->hwcfg.acc_control);
2939 nand_writereg(ctrl, t1_offs, host->hwcfg.timing_1);
2940 nand_writereg(ctrl, t2_offs, host->hwcfg.timing_2);
2942 host->hwcfg.config = nand_readreg(ctrl, cfg_offs);
2944 host->hwcfg.config_ext =
2946 host->hwcfg.acc_control = nand_readreg(ctrl, acc_control_offs);
2947 host->hwcfg.timing_1 = nand_readreg(ctrl, t1_offs);
2948 host->hwcfg.timing_2 = nand_readreg(ctrl, t2_offs);