Lines Matching refs:hwcfg

190 	struct brcmnand_cfg	hwcfg;  member
711 acc_control |= host->hwcfg.ecc_level in brcmnand_set_ecc_enabled()
897 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_create_layout()
1002 struct brcmnand_cfg *p = &host->hwcfg; in brcmstb_choose_ecc_layout()
1360 host->hwcfg.sector_size_1k = in brcmnand_cmdfunc()
1409 if (host->hwcfg.sector_size_1k) in brcmnand_cmdfunc()
1411 host->hwcfg.sector_size_1k); in brcmnand_cmdfunc()
1635 host->hwcfg.sector_size_1k); in brcmnand_read_by_pio()
1905 host->hwcfg.sector_size_1k); in brcmnand_write()
2111 struct brcmnand_cfg *cfg = &host->hwcfg; in brcmnand_setup_dev()
2330 chip->ecc.size = host->hwcfg.sector_size_1k ? 1024 : 512; in brcmnand_init_cs()
2367 nand_writereg(ctrl, cfg_offs, host->hwcfg.config); in brcmnand_save_restore_cs_config()
2370 host->hwcfg.config_ext); in brcmnand_save_restore_cs_config()
2371 nand_writereg(ctrl, acc_control_offs, host->hwcfg.acc_control); in brcmnand_save_restore_cs_config()
2372 nand_writereg(ctrl, t1_offs, host->hwcfg.timing_1); in brcmnand_save_restore_cs_config()
2373 nand_writereg(ctrl, t2_offs, host->hwcfg.timing_2); in brcmnand_save_restore_cs_config()
2375 host->hwcfg.config = nand_readreg(ctrl, cfg_offs); in brcmnand_save_restore_cs_config()
2377 host->hwcfg.config_ext = in brcmnand_save_restore_cs_config()
2379 host->hwcfg.acc_control = nand_readreg(ctrl, acc_control_offs); in brcmnand_save_restore_cs_config()
2380 host->hwcfg.timing_1 = nand_readreg(ctrl, t1_offs); in brcmnand_save_restore_cs_config()
2381 host->hwcfg.timing_2 = nand_readreg(ctrl, t2_offs); in brcmnand_save_restore_cs_config()