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

Function bcm_get_alpfreq

freebsd/mips/broadcom/bcm_pmu.c:208–214  ·  view source on GitHub ↗

ALP clock frequency (in Hz) */

Source from the content-addressed store, hash-verified

206
207/** ALP clock frequency (in Hz) */
208uint64_t
209bcm_get_alpfreq(struct bcm_platform *bp) {
210 if (!bcm_has_pmu(bp))
211 return (BHND_PMU_ALP_CLOCK);
212
213 return (bhnd_pmu_alp_clock(bcm_get_pmu(bp)));
214}
215
216/** ILP clock frequency (in Hz) */
217uint64_t

Callers 1

bcm_get_uart_clkcfgFunction · 0.85

Calls 2

bcm_has_pmuFunction · 0.85
bcm_get_pmuFunction · 0.85

Tested by

no test coverage detected