Searched refs:gate_refcounts (Results 1 – 5 of 5) sorted by relevance
461 if (priv->gate_refcounts[id] == 0U) { in _clk_stm32_enable_core()475 priv->gate_refcounts[id]++; in _clk_stm32_enable_core()477 if (priv->gate_refcounts[id] == UINT8_MAX) { in _clk_stm32_enable_core()509 if ((priv->gate_refcounts[id] == 1U) && _stm32_clk_is_flags(priv, id, CLK_IS_CRITICAL)) { in _clk_stm32_disable_core()513 if (priv->gate_refcounts[id] == 0U) { in _clk_stm32_disable_core()523 if (--priv->gate_refcounts[id] > 0U) { in _clk_stm32_disable_core()552 return priv->gate_refcounts[id]; in _clk_stm32_is_enabled()
889 static unsigned int gate_refcounts[NB_GATES]; variable1407 if (gate_refcounts[i] == 0U) { in __stm32mp1_clk_enable()1411 gate_refcounts[i]++; in __stm32mp1_clk_enable()1412 if (gate_refcounts[i] == UINT_MAX) { in __stm32mp1_clk_enable()1451 if (gate_refcounts[i] == 0U) { in __stm32mp1_clk_disable()1455 gate_refcounts[i]--; in __stm32mp1_clk_disable()1457 if (gate_refcounts[i] == 0U) { in __stm32mp1_clk_disable()
76 uint8_t *gate_refcounts; member
2743 .gate_refcounts = refcounts_mp2,
2275 .gate_refcounts = refcounts_mp13,