Lines Matching refs:cfg_offs
1715 u16 cfg_offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_CFG); in brcmnand_set_cfg() local
1782 if (cfg_offs == cfg_ext_offs) { in brcmnand_set_cfg()
1785 nand_writereg(ctrl, cfg_offs, tmp); in brcmnand_set_cfg()
1787 nand_writereg(ctrl, cfg_offs, tmp); in brcmnand_set_cfg()
1948 u16 cfg_offs; in brcmnand_init_cs() local
1996 cfg_offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_CFG); in brcmnand_init_cs()
1997 nand_writereg(ctrl, cfg_offs, in brcmnand_init_cs()
1998 nand_readreg(ctrl, cfg_offs) & ~CFG_BUS_WIDTH); in brcmnand_init_cs()
2035 u16 cfg_offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_CFG); in brcmnand_save_restore_cs_config() local
2044 nand_writereg(ctrl, cfg_offs, host->hwcfg.config); in brcmnand_save_restore_cs_config()
2045 if (cfg_offs != cfg_ext_offs) in brcmnand_save_restore_cs_config()
2052 host->hwcfg.config = nand_readreg(ctrl, cfg_offs); in brcmnand_save_restore_cs_config()
2053 if (cfg_offs != cfg_ext_offs) in brcmnand_save_restore_cs_config()