Searched refs:clock_reg (Results 1 – 2 of 2) sorted by relevance
83 void __iomem *clock_reg = mch_regs_base + CRVML_REG_CLOCK; in crvml_sys_restore() local85 iowrite32(saved_clock, clock_reg); in crvml_sys_restore()86 ioread32(clock_reg); in crvml_sys_restore()93 void __iomem *clock_reg = mch_regs_base + CRVML_REG_CLOCK; in crvml_sys_save() local95 saved_clock = ioread32(clock_reg); in crvml_sys_save()127 void __iomem *clock_reg = mch_regs_base + CRVML_REG_CLOCK; in crvml_set_clock() local136 clock_val = ioread32(clock_reg) & ~CRVML_CLOCK_MASK; in crvml_set_clock()138 iowrite32(clock_val, clock_reg); in crvml_set_clock()139 ioread32(clock_reg); in crvml_set_clock()
140 unsigned long clock_reg = hwif->extra_base + 0x01; in pdc_old_enable_66MHz_clock() local141 u8 clock = inb(clock_reg); in pdc_old_enable_66MHz_clock()143 outb(clock | (hwif->channel ? 0x08 : 0x02), clock_reg); in pdc_old_enable_66MHz_clock()148 unsigned long clock_reg = hwif->extra_base + 0x01; in pdc_old_disable_66MHz_clock() local149 u8 clock = inb(clock_reg); in pdc_old_disable_66MHz_clock()151 outb(clock & ~(hwif->channel ? 0x08 : 0x02), clock_reg); in pdc_old_disable_66MHz_clock()