Searched refs:clock_reg (Results 1 – 4 of 4) sorted by relevance
69 void __iomem *clock_reg = mch_regs_base + CRVML_REG_CLOCK; in crvml_sys_restore() local71 iowrite32(saved_clock, clock_reg); in crvml_sys_restore()72 ioread32(clock_reg); in crvml_sys_restore()79 void __iomem *clock_reg = mch_regs_base + CRVML_REG_CLOCK; in crvml_sys_save() local81 saved_clock = ioread32(clock_reg); in crvml_sys_save()113 void __iomem *clock_reg = mch_regs_base + CRVML_REG_CLOCK; in crvml_set_clock() local122 clock_val = ioread32(clock_reg) & ~CRVML_CLOCK_MASK; in crvml_set_clock()124 iowrite32(clock_val, clock_reg); in crvml_set_clock()125 ioread32(clock_reg); in crvml_set_clock()
128 unsigned long clock_reg = hwif->extra_base + 0x01; in pdc_old_enable_66MHz_clock() local129 u8 clock = inb(clock_reg); in pdc_old_enable_66MHz_clock()131 outb(clock | (hwif->channel ? 0x08 : 0x02), clock_reg); in pdc_old_enable_66MHz_clock()136 unsigned long clock_reg = hwif->extra_base + 0x01; in pdc_old_disable_66MHz_clock() local137 u8 clock = inb(clock_reg); in pdc_old_disable_66MHz_clock()139 outb(clock & ~(hwif->channel ? 0x08 : 0x02), clock_reg); in pdc_old_disable_66MHz_clock()
266 u32 clock_reg; member420 msg.data32 = port->clock_reg; in hss_config()1289 &port->clock_reg); in hss_hdlc_ioctl()1292 port->clock_reg = CLK42X_SPEED_2048KHZ; in hss_hdlc_ioctl()1353 port->clock_reg = CLK42X_SPEED_2048KHZ; in hss_init_one()
944 u32 clock_reg[] = { in request_even_slower_clocks() local957 for (i = 0; i < ARRAY_SIZE(clock_reg); i++) { in request_even_slower_clocks()961 val = readl(prcmu_base + clock_reg[i]); in request_even_slower_clocks()977 writel(val, prcmu_base + clock_reg[i]); in request_even_slower_clocks()