Searched refs:npstates (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/sys/powerpc/cpufreq/
H A Dpmcr.c44 static int npstates; variable
52 /* If this fails, npstates will remain 0, and any attachment will bail. */
56 npstates = OF_getencprop(node, "ibm,pstate-ids", pstate_ids,
58 if (npstates < 0) {
59 npstates = 0;
64 sizeof(pstate_freqs)) != npstates) {
65 npstates = 0;
68 npstates /= sizeof(cell_t);
140 if (npstates == 0)
168 if (*count < npstates)
[all...]
/freebsd-12-stable/sys/x86/cpufreq/
H A Dpowernow.c563 decode_pst(struct pn_softc *sc, uint8_t *p, int npstates) argument
571 for (n = 0, i = 0; i < npstates; ++i) {

Completed in 111 milliseconds