Lines Matching refs:cfg_offs
2523 u16 cfg_offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_CFG); in brcmnand_set_cfg() local
2590 if (cfg_offs == cfg_ext_offs) { in brcmnand_set_cfg()
2593 nand_writereg(ctrl, cfg_offs, tmp); in brcmnand_set_cfg()
2595 nand_writereg(ctrl, cfg_offs, tmp); in brcmnand_set_cfg()
2834 u16 cfg_offs; in brcmnand_init_cs() local
2872 cfg_offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_CFG); in brcmnand_init_cs()
2873 nand_writereg(ctrl, cfg_offs, in brcmnand_init_cs()
2874 nand_readreg(ctrl, cfg_offs) & ~CFG_BUS_WIDTH); in brcmnand_init_cs()
2891 u16 cfg_offs = brcmnand_cs_offset(ctrl, host->cs, BRCMNAND_CS_CFG); in brcmnand_save_restore_cs_config() local
2900 nand_writereg(ctrl, cfg_offs, host->hwcfg.config); in brcmnand_save_restore_cs_config()
2901 if (cfg_offs != cfg_ext_offs) in brcmnand_save_restore_cs_config()
2908 host->hwcfg.config = nand_readreg(ctrl, cfg_offs); in brcmnand_save_restore_cs_config()
2909 if (cfg_offs != cfg_ext_offs) in brcmnand_save_restore_cs_config()