Lines Matching refs:nand_readreg
637 static inline u32 nand_readreg(struct brcmnand_controller *ctrl, u32 offs) in nand_readreg() function
663 ctrl->nand_version = nand_readreg(ctrl, 0) & 0xffff; in brcmnand_revision_init()
795 return nand_readreg(ctrl, offs); in brcmnand_read_reg()
998 u32 acc_control = nand_readreg(ctrl, offs); in brcmnand_set_ecc_enabled()
1035 return (nand_readreg(ctrl, acc_control_offs) >> shift) & 0x1; in brcmnand_get_sector_size_1k()
1049 tmp = nand_readreg(ctrl, acc_control_offs); in brcmnand_set_sector_size_1k()
1423 return nand_readreg(ctrl, reg_offs) >> (24 - ((offs & 0x03) << 3)); in oob_reg_read()
2601 tmp = nand_readreg(ctrl, acc_control_offs); in brcmnand_set_cfg()
2770 tmp = nand_readreg(ctrl, offs); in brcmnand_setup_dev()
2874 nand_readreg(ctrl, cfg_offs) & ~CFG_BUS_WIDTH); in brcmnand_init_cs()
2908 host->hwcfg.config = nand_readreg(ctrl, cfg_offs); in brcmnand_save_restore_cs_config()
2911 nand_readreg(ctrl, cfg_ext_offs); in brcmnand_save_restore_cs_config()
2912 host->hwcfg.acc_control = nand_readreg(ctrl, acc_control_offs); in brcmnand_save_restore_cs_config()
2913 host->hwcfg.timing_1 = nand_readreg(ctrl, t1_offs); in brcmnand_save_restore_cs_config()
2914 host->hwcfg.timing_2 = nand_readreg(ctrl, t2_offs); in brcmnand_save_restore_cs_config()