Lines Matching refs:hwcfg

315 	struct brcmnand_cfg	hwcfg;  member
995 acc_control |= host->hwcfg.ecc_level in brcmnand_set_ecc_enabled()
1177 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_hamming_ooblayout_ecc()
1195 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_hamming_ooblayout_free()
1235 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_bch_ooblayout_ecc()
1253 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_bch_ooblayout_free_lp()
1279 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_bch_ooblayout_free_sp()
1309 struct brcmnand_cfg *p = &host->hwcfg; in brcmstb_choose_ecc_layout()
1770 host->hwcfg.sector_size_1k = in brcmnand_cmdfunc()
1806 if (host->hwcfg.sector_size_1k) in brcmnand_cmdfunc()
1808 host->hwcfg.sector_size_1k); in brcmnand_cmdfunc()
1905 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_edu_trans()
2136 host->hwcfg.sector_size_1k); in brcmnand_read_by_pio()
2405 host->hwcfg.sector_size_1k); in brcmnand_write()
2616 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_setup_dev()
2762 chip->ecc.size = host->hwcfg.sector_size_1k ? 1024 : 512; in brcmnand_attach_chip()
2770 if (is_hamming_ecc(host->ctrl, &host->hwcfg)) { in brcmnand_attach_chip()
2856 nand_writereg(ctrl, cfg_offs, host->hwcfg.config); in brcmnand_save_restore_cs_config()
2859 host->hwcfg.config_ext); in brcmnand_save_restore_cs_config()
2860 nand_writereg(ctrl, acc_control_offs, host->hwcfg.acc_control); in brcmnand_save_restore_cs_config()
2861 nand_writereg(ctrl, t1_offs, host->hwcfg.timing_1); in brcmnand_save_restore_cs_config()
2862 nand_writereg(ctrl, t2_offs, host->hwcfg.timing_2); in brcmnand_save_restore_cs_config()
2864 host->hwcfg.config = nand_readreg(ctrl, cfg_offs); in brcmnand_save_restore_cs_config()
2866 host->hwcfg.config_ext = in brcmnand_save_restore_cs_config()
2868 host->hwcfg.acc_control = nand_readreg(ctrl, acc_control_offs); in brcmnand_save_restore_cs_config()
2869 host->hwcfg.timing_1 = nand_readreg(ctrl, t1_offs); in brcmnand_save_restore_cs_config()
2870 host->hwcfg.timing_2 = nand_readreg(ctrl, t2_offs); in brcmnand_save_restore_cs_config()