Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/clk/versatile/
Dclk-icst.c74 static int vco_get(struct clk_icst *icst, struct icst_vco *vco) in vco_get() argument
79 ret = regmap_read(icst->map, icst->vcoreg_off, &val); in vco_get()
91 if (icst->ctype == ICST_INTEGRATOR_AP_CM) { in vco_get()
106 if (icst->ctype == ICST_INTEGRATOR_AP_SYS) { in vco_get()
121 if (icst->ctype == ICST_INTEGRATOR_AP_PCI) { in vco_get()
138 if (icst->ctype == ICST_INTEGRATOR_CP_CM_CORE) { in vco_get()
145 if (icst->ctype == ICST_INTEGRATOR_CP_CM_MEM) { in vco_get()
163 static int vco_set(struct clk_icst *icst, struct icst_vco vco) in vco_set() argument
170 switch (icst->ctype) { in vco_set()
217 ret = regmap_write(icst->map, icst->lockreg_off, VERSATILE_LOCK_VAL); in vco_set()
[all …]
DMakefile3 obj-$(CONFIG_ICST) += icst.o clk-icst.o clk-versatile.o