Lines Matching refs:clock_encoding
34 uint32_t *clock_encoding) in get_clock_encoding() argument
43 *clock_encoding = MAKE_PCC_REGADDR(DEV_BASE(dev), clock_name); in get_clock_encoding()
52 *clock_encoding = cfg->clocks[clock_name]; in get_clock_encoding()
60 uint32_t clock_encoding; in mcux_pcc_on() local
63 ret = get_clock_encoding(dev, sub_system, &clock_encoding); in mcux_pcc_on()
68 CLOCK_EnableClock(clock_encoding); in mcux_pcc_on()
76 uint32_t clock_encoding; in mcux_pcc_off() local
79 ret = get_clock_encoding(dev, sub_system, &clock_encoding); in mcux_pcc_off()
84 CLOCK_DisableClock(clock_encoding); in mcux_pcc_off()
93 uint32_t clock_encoding; in mcux_pcc_get_rate() local
96 ret = get_clock_encoding(dev, sub_system, &clock_encoding); in mcux_pcc_get_rate()
101 *rate = CLOCK_GetIpFreq(clock_encoding); in mcux_pcc_get_rate()