Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/hisilicon/
H A Dclk-hi3660-stub.c54 static void __iomem *freq_reg; variable
66 stub_clk->rate = readl(freq_reg + (stub_clk->id << 2)) * MHZ; in hi3660_stub_clk_recalc_rate()
145 freq_reg = devm_ioremap(dev, res->start, resource_size(res)); in hi3660_stub_clk_probe()
146 if (!freq_reg) in hi3660_stub_clk_probe()
149 freq_reg += HI3660_STUB_CLOCK_DATA; in hi3660_stub_clk_probe()
/openbmc/qemu/hw/mips/
H A Dloongson3_virt.c161 struct kvm_one_reg freq_reg = { in get_cpu_freq_hz() local
167 ret = kvm_vcpu_ioctl(first_cpu, KVM_GET_ONE_REG, &freq_reg); in get_cpu_freq_hz()