Lines Matching refs:cfg_offs
2482 u16 cfg_offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_CFG); in brcmnand_set_cfg() local
2549 if (cfg_offs == cfg_ext_offs) { in brcmnand_set_cfg()
2552 nand_writereg(ctrl, cfg_offs, tmp); in brcmnand_set_cfg()
2554 nand_writereg(ctrl, cfg_offs, tmp); in brcmnand_set_cfg()
2790 u16 cfg_offs; in brcmnand_init_cs() local
2828 cfg_offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_CFG); in brcmnand_init_cs()
2829 nand_writereg(ctrl, cfg_offs, in brcmnand_init_cs()
2830 nand_readreg(ctrl, cfg_offs) & ~CFG_BUS_WIDTH); in brcmnand_init_cs()
2847 u16 cfg_offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_CFG); in brcmnand_save_restore_cs_config() local
2856 nand_writereg(ctrl, cfg_offs, host->hwcfg.config); in brcmnand_save_restore_cs_config()
2857 if (cfg_offs != cfg_ext_offs) in brcmnand_save_restore_cs_config()
2864 host->hwcfg.config = nand_readreg(ctrl, cfg_offs); in brcmnand_save_restore_cs_config()
2865 if (cfg_offs != cfg_ext_offs) in brcmnand_save_restore_cs_config()