/* If mapping regs failed, skip non-pll clocks. System will boot anyhow */ if (!base) return ERR_PTR(-ENXIO);
/* FIXME:"i" and "g" are variable clocks with non-integer dividers (e.g. 2/3) * and the constraint that always g <= i. To get the rz platform started, * let them run at fixed current speed and implement the details later.
*/ if (strcmp(name, "i") == 0)
val = (readl(base + CPG_FRQCR) >> 8) & 3; elseif (strcmp(name, "g") == 0)
val = readl(base + CPG_FRQCR2) & 3; else return ERR_PTR(-EINVAL);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.