Searched refs:gck (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/drivers/clk/at91/ |
D | clk-generated.c | 38 static int clk_generated_set(struct clk_generated *gck, int status) in clk_generated_set() argument 43 spin_lock_irqsave(gck->lock, flags); in clk_generated_set() 44 regmap_write(gck->regmap, gck->layout->offset, in clk_generated_set() 45 (gck->id & gck->layout->pid_mask)); in clk_generated_set() 46 regmap_update_bits(gck->regmap, gck->layout->offset, in clk_generated_set() 47 AT91_PMC_PCR_GCKDIV_MASK | gck->layout->gckcss_mask | in clk_generated_set() 48 gck->layout->cmd | enable, in clk_generated_set() 49 field_prep(gck->layout->gckcss_mask, gck->parent_id) | in clk_generated_set() 50 gck->layout->cmd | in clk_generated_set() 51 FIELD_PREP(AT91_PMC_PCR_GCKDIV_MASK, gck->gckdiv) | in clk_generated_set() [all …]
|
/linux-5.19.10/drivers/clk/ |
D | clk-lan966x.c | 69 struct lan966x_gck *gck = to_lan966x_gck(hw); in lan966x_gck_enable() local 70 u32 val = readl(gck->reg); in lan966x_gck_enable() 73 writel(val, gck->reg); in lan966x_gck_enable() 80 struct lan966x_gck *gck = to_lan966x_gck(hw); in lan966x_gck_disable() local 81 u32 val = readl(gck->reg); in lan966x_gck_disable() 84 writel(val, gck->reg); in lan966x_gck_disable() 91 struct lan966x_gck *gck = to_lan966x_gck(hw); in lan966x_gck_set_rate() local 92 u32 div, val = readl(gck->reg); in lan966x_gck_set_rate() 101 writel(val, gck->reg); in lan966x_gck_set_rate() 125 struct lan966x_gck *gck = to_lan966x_gck(hw); in lan966x_gck_recalc_rate() local [all …]
|
/linux-5.19.10/drivers/mmc/host/ |
D | sdhci-of-at91.c | 47 struct clk *gck; member 181 gck_rate = clk_get_rate(priv->gck); in sdhci_at91_set_clks_presets() 227 clk_prepare_enable(priv->gck); in sdhci_at91_set_clks_presets() 261 clk_disable_unprepare(priv->gck); in sdhci_at91_runtime_suspend() 296 ret = clk_prepare_enable(priv->gck); in sdhci_at91_runtime_resume() 352 priv->gck = devm_clk_get(&pdev->dev, "multclk"); in sdhci_at91_probe() 353 if (IS_ERR(priv->gck)) { in sdhci_at91_probe() 355 ret = PTR_ERR(priv->gck); in sdhci_at91_probe() 438 clk_disable_unprepare(priv->gck); in sdhci_at91_probe() 451 struct clk *gck = priv->gck; in sdhci_at91_remove() local [all …]
|
/linux-5.19.10/Documentation/devicetree/bindings/clock/ |
D | microchip,lan966x-gck.yaml | 4 $id: http://devicetree.org/schemas/clock/microchip,lan966x-gck.yaml# 19 const: microchip,lan966x-gck 54 compatible = "microchip,lan966x-gck";
|
/linux-5.19.10/Documentation/devicetree/bindings/media/ |
D | atmel,isc.yaml | 38 - const: gck 102 clock-names = "hclock", "iscck", "gck";
|
/linux-5.19.10/Documentation/devicetree/bindings/mmc/ |
D | sdhci-atmel.txt | 17 gck configuration set by previous components.
|
/linux-5.19.10/arch/arm/boot/dts/ |
D | lan966x.dtsi | 64 compatible = "microchip,lan966x-gck";
|
D | sama5d2.dtsi | 244 clock-names = "hclock", "iscck", "gck";
|