Home
last modified time | relevance | path

Searched refs:clock_reg (Results 1 – 2 of 2) sorted by relevance

/drivers/video/vermilion/
Dcr_pll.c83 void __iomem *clock_reg = mch_regs_base + CRVML_REG_CLOCK; in crvml_sys_restore() local
85 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() local
95 saved_clock = ioread32(clock_reg); in crvml_sys_save()
127 void __iomem *clock_reg = mch_regs_base + CRVML_REG_CLOCK; in crvml_set_clock() local
136 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()
/drivers/ide/
Dpdc202xx_old.c140 unsigned long clock_reg = hwif->extra_base + 0x01; in pdc_old_enable_66MHz_clock() local
141 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() local
149 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()