Searched refs:ctrlreg1 (Results 1 – 1 of 1) sorted by relevance
224 u32 ctrlreg1; in spear_smi_read_sr() local229 ctrlreg1 = readl(dev->io_base + SMI_CR1); in spear_smi_read_sr()231 writel(ctrlreg1 & ~(SW_MODE | WB_MODE), dev->io_base + SMI_CR1); in spear_smi_read_sr()248 writel(ctrlreg1, dev->io_base + SMI_CR1); in spear_smi_read_sr()382 u32 ctrlreg1; in spear_smi_write_enable() local387 ctrlreg1 = readl(dev->io_base + SMI_CR1); in spear_smi_write_enable()389 writel(ctrlreg1 & ~SW_MODE, dev->io_base + SMI_CR1); in spear_smi_write_enable()398 writel(ctrlreg1, dev->io_base + SMI_CR1); in spear_smi_write_enable()447 u32 ctrlreg1 = 0; in spear_smi_erase_sector() local460 ctrlreg1 = readl(dev->io_base + SMI_CR1); in spear_smi_erase_sector()[all …]