Searched refs:gate_cpt (Results 1 – 2 of 2) sorted by relevance
94 assert(!priv->gate_cpt[gate_id]); in stm32_gate_set_init_state()101 uint8_t *gate_cpt = priv->gate_cpt; in stm32_gate_disable() local103 assert(gate_cpt[gate_id] > 0); in stm32_gate_disable()104 if (gate_cpt[gate_id] == 1) in stm32_gate_disable()106 gate_cpt[gate_id]--; in stm32_gate_disable()112 uint8_t *gate_cpt = priv->gate_cpt; in stm32_gate_enable() local114 assert(gate_cpt[gate_id] < 0xFF); in stm32_gate_enable()115 if (gate_cpt[gate_id] == 0) in stm32_gate_enable()117 gate_cpt[gate_id]++; in stm32_gate_enable()543 priv->gate_cpt = calloc(priv->nb_gates, sizeof(*priv->gate_cpt)); in clk_stm32_init()[all …]
45 uint8_t *gate_cpt; member