Lines Matching refs:nand_readreg
592 static inline u32 nand_readreg(struct brcmnand_controller *ctrl, u32 offs) in nand_readreg() function
613 ctrl->nand_version = nand_readreg(ctrl, 0) & 0xffff; in brcmnand_revision_init()
739 return nand_readreg(ctrl, offs); in brcmnand_read_reg()
958 u32 acc_control = nand_readreg(ctrl, offs); in brcmnand_set_ecc_enabled()
995 return (nand_readreg(ctrl, acc_control_offs) >> shift) & 0x1; in brcmnand_get_sector_size_1k()
1009 tmp = nand_readreg(ctrl, acc_control_offs); in brcmnand_set_sector_size_1k()
1375 return nand_readreg(ctrl, reg_offs) >> (24 - ((offs & 0x03) << 3)); in oob_reg_read()
2482 tmp = nand_readreg(ctrl, acc_control_offs); in brcmnand_set_cfg()
2648 tmp = nand_readreg(ctrl, offs); in brcmnand_setup_dev()
2752 nand_readreg(ctrl, cfg_offs) & ~CFG_BUS_WIDTH); in brcmnand_init_cs()
2786 host->hwcfg.config = nand_readreg(ctrl, cfg_offs); in brcmnand_save_restore_cs_config()
2789 nand_readreg(ctrl, cfg_ext_offs); in brcmnand_save_restore_cs_config()
2790 host->hwcfg.acc_control = nand_readreg(ctrl, acc_control_offs); in brcmnand_save_restore_cs_config()
2791 host->hwcfg.timing_1 = nand_readreg(ctrl, t1_offs); in brcmnand_save_restore_cs_config()
2792 host->hwcfg.timing_2 = nand_readreg(ctrl, t2_offs); in brcmnand_save_restore_cs_config()