Searched refs:clk_gate (Results 1 – 2 of 2) sorted by relevance
55 uint32_t clk_gate = (uint32_t)sub_system; in aspeed_clock_control_on() local59 if (clk_gate >= ASPEED_CLK_GRP_2_OFFSET) { in aspeed_clock_control_on()63 if (clk_gate >= ASPEED_CLK_GRP_1_OFFSET) { in aspeed_clock_control_on()64 clk_gate -= ASPEED_CLK_GRP_1_OFFSET; in aspeed_clock_control_on()68 syscon_write_reg(syscon, addr, BIT(clk_gate)); in aspeed_clock_control_on()76 uint32_t clk_gate = (uint32_t)sub_system; in aspeed_clock_control_off() local80 if (clk_gate >= ASPEED_CLK_GRP_2_OFFSET) { in aspeed_clock_control_off()84 if (clk_gate >= ASPEED_CLK_GRP_1_OFFSET) { in aspeed_clock_control_off()85 clk_gate -= ASPEED_CLK_GRP_1_OFFSET; in aspeed_clock_control_off()89 syscon_write_reg(syscon, addr, BIT(clk_gate)); in aspeed_clock_control_off()
20 clock_ip_name_t clk_gate; in flexspi_clock_set_freq() local27 clk_gate = kCLOCK_Flexspi1; in flexspi_clock_set_freq()32 clk_gate = kCLOCK_Flexspi2; in flexspi_clock_set_freq()54 CLOCK_DisableClock(clk_gate); in flexspi_clock_set_freq()58 CLOCK_EnableClock(clk_gate); in flexspi_clock_set_freq()