Lines Matching refs:acc_control_offs
1029 u16 acc_control_offs = brcmnand_cs_offset(ctrl, host->cs, in brcmnand_get_sector_size_1k() local
1035 return (nand_readreg(ctrl, acc_control_offs) >> shift) & 0x1; in brcmnand_get_sector_size_1k()
1042 u16 acc_control_offs = brcmnand_cs_offset(ctrl, host->cs, in brcmnand_set_sector_size_1k() local
1049 tmp = nand_readreg(ctrl, acc_control_offs); in brcmnand_set_sector_size_1k()
1052 nand_writereg(ctrl, acc_control_offs, tmp); in brcmnand_set_sector_size_1k()
2526 u16 acc_control_offs = brcmnand_cs_offset(ctrl, host->cs, in brcmnand_set_cfg() local
2601 tmp = nand_readreg(ctrl, acc_control_offs); in brcmnand_set_cfg()
2608 nand_writereg(ctrl, acc_control_offs, tmp); in brcmnand_set_cfg()
2894 u16 acc_control_offs = brcmnand_cs_offset(ctrl, host->cs, in brcmnand_save_restore_cs_config() local
2904 nand_writereg(ctrl, acc_control_offs, host->hwcfg.acc_control); in brcmnand_save_restore_cs_config()
2912 host->hwcfg.acc_control = nand_readreg(ctrl, acc_control_offs); in brcmnand_save_restore_cs_config()