Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/video/fbdev/vermilion/
Dcr_pll.c69 void __iomem *clock_reg = mch_regs_base + CRVML_REG_CLOCK; in crvml_sys_restore() local
71 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() local
81 saved_clock = ioread32(clock_reg); in crvml_sys_save()
113 void __iomem *clock_reg = mch_regs_base + CRVML_REG_CLOCK; in crvml_set_clock() local
122 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()
/Linux-v5.4/drivers/ide/
Dpdc202xx_old.c128 unsigned long clock_reg = hwif->extra_base + 0x01; in pdc_old_enable_66MHz_clock() local
129 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() local
137 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()
/Linux-v5.4/drivers/net/wan/
Dixp4xx_hss.c266 u32 clock_reg; member
420 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()
/Linux-v5.4/drivers/mfd/
Ddb8500-prcmu.c944 u32 clock_reg[] = { in request_even_slower_clocks() local
957 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()