Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/clock_control/
Dclock_control_ast10x0.c55 uint32_t clk_gate = (uint32_t)sub_system; in aspeed_clock_control_on() local
59 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() local
80 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()
/Zephyr-Core-3.6.0/soc/arm/nxp_imx/rt/
Dflexspi_rt11xx.c20 clock_ip_name_t clk_gate; in flexspi_clock_set_freq() local
27 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()