MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bcm_get_ilpfreq

Function bcm_get_ilpfreq

freebsd/mips/broadcom/bcm_pmu.c:217–223  ·  view source on GitHub ↗

ILP clock frequency (in Hz) */

Source from the content-addressed store, hash-verified

215
216/** ILP clock frequency (in Hz) */
217uint64_t
218bcm_get_ilpfreq(struct bcm_platform *bp) {
219 if (!bcm_has_pmu(bp))
220 return (BHND_PMU_ILP_CLOCK);
221
222 return (bhnd_pmu_ilp_clock(bcm_get_pmu(bp)));
223}
224
225/** CPU clock frequency (in Hz) */
226uint64_t

Callers

nothing calls this directly

Calls 2

bcm_has_pmuFunction · 0.85
bcm_get_pmuFunction · 0.85

Tested by

no test coverage detected