Lines Matching refs:bit

33 				    uint8_t bit, enum arm_soc_state_t state)  in beetle_set_clock()  argument
41 base[0] |= (1 << bit); in beetle_set_clock()
44 base[2] |= (1 << bit); in beetle_set_clock()
47 base[4] |= (1 << bit); in beetle_set_clock()
56 static inline void beetle_ahb_set_clock_on(uint8_t bit, in beetle_ahb_set_clock_on() argument
60 bit, state); in beetle_ahb_set_clock_on()
63 static inline void beetle_ahb_set_clock_off(uint8_t bit, in beetle_ahb_set_clock_off() argument
67 bit, state); in beetle_ahb_set_clock_off()
70 static inline void beetle_apb_set_clock_on(uint8_t bit, in beetle_apb_set_clock_on() argument
74 bit, state); in beetle_apb_set_clock_on()
77 static inline void beetle_apb_set_clock_off(uint8_t bit, in beetle_apb_set_clock_off() argument
81 bit, state); in beetle_apb_set_clock_off()
90 uint8_t bit = 0U; in beetle_clock_control_on() local
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()
114 uint8_t bit = 0U; in beetle_clock_control_off() local
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()
122 bit = (beetle_cc->device - _BEETLE_APB_BASE) >> 12; in beetle_clock_control_off()
123 beetle_apb_set_clock_off(bit, beetle_cc->state); in beetle_clock_control_off()