Lines Matching refs:gate
395 const struct stm32mp1_clk_gate *gate; member
707 .gate = stm32mp1_clk_gate,
728 const struct stm32mp1_clk_gate *gate = priv->data->gate; in stm32mp1_clk_get_id() local
732 if (gate[i].index == id) in stm32mp1_clk_get_id()
747 const struct stm32mp1_clk_gate *gate = priv->data->gate; in stm32mp1_clk_get_sel() local
749 if (gate[i].sel > _PARENT_SEL_NB) { in stm32mp1_clk_get_sel()
755 return gate[i].sel; in stm32mp1_clk_get_sel()
761 const struct stm32mp1_clk_gate *gate = priv->data->gate; in stm32mp1_clk_get_fixed_parent() local
763 if (gate[i].fixed == _UNKNOWN_ID) in stm32mp1_clk_get_fixed_parent()
766 return gate[i].fixed; in stm32mp1_clk_get_fixed_parent()
1049 const struct stm32mp1_clk_gate *gate = priv->data->gate; in stm32mp1_clk_enable() local
1055 if (gate[i].set_clr) in stm32mp1_clk_enable()
1056 writel(BIT(gate[i].bit), priv->base + gate[i].offset); in stm32mp1_clk_enable()
1058 setbits_le32(priv->base + gate[i].offset, BIT(gate[i].bit)); in stm32mp1_clk_enable()
1068 const struct stm32mp1_clk_gate *gate = priv->data->gate; in stm32mp1_clk_disable() local
1074 if (gate[i].set_clr) in stm32mp1_clk_disable()
1075 writel(BIT(gate[i].bit), in stm32mp1_clk_disable()
1076 priv->base + gate[i].offset in stm32mp1_clk_disable()
1079 clrbits_le32(priv->base + gate[i].offset, BIT(gate[i].bit)); in stm32mp1_clk_disable()
1746 if (!priv->data->gate || !priv->data->sel || in stm32mp1_clk_probe()