Lines Matching refs:cfg_offs
2404 u16 cfg_offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_CFG); in brcmnand_set_cfg() local
2471 if (cfg_offs == cfg_ext_offs) { in brcmnand_set_cfg()
2474 nand_writereg(ctrl, cfg_offs, tmp); in brcmnand_set_cfg()
2476 nand_writereg(ctrl, cfg_offs, tmp); in brcmnand_set_cfg()
2705 u16 cfg_offs; in brcmnand_init_cs() local
2750 cfg_offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_CFG); in brcmnand_init_cs()
2751 nand_writereg(ctrl, cfg_offs, in brcmnand_init_cs()
2752 nand_readreg(ctrl, cfg_offs) & ~CFG_BUS_WIDTH); in brcmnand_init_cs()
2769 u16 cfg_offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_CFG); in brcmnand_save_restore_cs_config() local
2778 nand_writereg(ctrl, cfg_offs, host->hwcfg.config); in brcmnand_save_restore_cs_config()
2779 if (cfg_offs != cfg_ext_offs) in brcmnand_save_restore_cs_config()
2786 host->hwcfg.config = nand_readreg(ctrl, cfg_offs); in brcmnand_save_restore_cs_config()
2787 if (cfg_offs != cfg_ext_offs) in brcmnand_save_restore_cs_config()