Lines Matching refs:cf
1399 bcm2835_cpufreq_set(device_t dev, const struct cf_setting *cf)
1408 if (cf == NULL || cf->freq < 0)
1414 rate_hz = (uint32_t)MHZ2HZ(cf->freq);
1494 bcm2835_cpufreq_get(device_t dev, struct cf_setting *cf)
1499 if (cf == NULL)
1503 memset(cf, CPUFREQ_VAL_UNKNOWN, sizeof(*cf));
1504 cf->dev = NULL;
1517 cf->freq = HZ2MHZ(arm_freq);
1519 cf->volts = CPUFREQ_VAL_UNKNOWN;
1521 cf->power = CPUFREQ_VAL_UNKNOWN;
1523 cf->lat = TRANSITION_LATENCY;
1525 cf->dev = dev;