Home
last modified time | relevance | path

Searched refs:beetle_cc (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/clock_control/
Dbeetle_clock_control.c87 struct arm_clock_control_t *beetle_cc = in beetle_clock_control_on() local
92 switch (beetle_cc->bus) { in beetle_clock_control_on()
94 bit = (beetle_cc->device - _BEETLE_AHB_BASE) >> 12; in beetle_clock_control_on()
95 beetle_ahb_set_clock_on(bit, beetle_cc->state); in beetle_clock_control_on()
98 bit = (beetle_cc->device - _BEETLE_APB_BASE) >> 12; in beetle_clock_control_on()
99 beetle_apb_set_clock_on(bit, beetle_cc->state); in beetle_clock_control_on()
111 struct arm_clock_control_t *beetle_cc = in beetle_clock_control_off() local
116 switch (beetle_cc->bus) { in beetle_clock_control_off()
118 bit = (beetle_cc->device - _BEETLE_AHB_BASE) >> 12; in beetle_clock_control_off()
119 beetle_ahb_set_clock_off(bit, beetle_cc->state); in beetle_clock_control_off()
[all …]