Lines Matching refs:nand_readreg
608 static inline u32 nand_readreg(struct brcmnand_controller *ctrl, u32 offs) in nand_readreg() function
634 ctrl->nand_version = nand_readreg(ctrl, 0) & 0xffff; in brcmnand_revision_init()
760 return nand_readreg(ctrl, offs); in brcmnand_read_reg()
990 u32 acc_control = nand_readreg(ctrl, offs); in brcmnand_set_ecc_enabled()
1027 return (nand_readreg(ctrl, acc_control_offs) >> shift) & 0x1; in brcmnand_get_sector_size_1k()
1041 tmp = nand_readreg(ctrl, acc_control_offs); in brcmnand_set_sector_size_1k()
1407 return nand_readreg(ctrl, reg_offs) >> (24 - ((offs & 0x03) << 3)); in oob_reg_read()
2560 tmp = nand_readreg(ctrl, acc_control_offs); in brcmnand_set_cfg()
2726 tmp = nand_readreg(ctrl, offs); in brcmnand_setup_dev()
2830 nand_readreg(ctrl, cfg_offs) & ~CFG_BUS_WIDTH); in brcmnand_init_cs()
2864 host->hwcfg.config = nand_readreg(ctrl, cfg_offs); in brcmnand_save_restore_cs_config()
2867 nand_readreg(ctrl, cfg_ext_offs); in brcmnand_save_restore_cs_config()
2868 host->hwcfg.acc_control = nand_readreg(ctrl, acc_control_offs); in brcmnand_save_restore_cs_config()
2869 host->hwcfg.timing_1 = nand_readreg(ctrl, t1_offs); in brcmnand_save_restore_cs_config()
2870 host->hwcfg.timing_2 = nand_readreg(ctrl, t2_offs); in brcmnand_save_restore_cs_config()