Searched refs:GD32_CLOCK_ID_OFFSET (Results 1 – 1 of 1) sorted by relevance
20 #define GD32_CLOCK_ID_OFFSET(id) (((id) >> 6U) & 0xFFU) macro76 sys_set_bit(config->base + GD32_CLOCK_ID_OFFSET(id), in clock_control_gd32_on()88 sys_clear_bit(config->base + GD32_CLOCK_ID_OFFSET(id), in clock_control_gd32_off()105 switch (GD32_CLOCK_ID_OFFSET(id)) { in clock_control_gd32_get_rate()193 if (sys_test_bit(config->base + GD32_CLOCK_ID_OFFSET(id), in clock_control_gd32_get_status()