Home
last modified time | relevance | path

Searched refs:clk_enabled (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-sunxi.c22 int clk_enabled; member
50 gmac->clk_enabled = 1; in sun7i_gmac_init()
65 if (gmac->clk_enabled) { in sun7i_gmac_exit()
67 gmac->clk_enabled = 0; in sun7i_gmac_exit()
83 if (gmac->clk_enabled) { in sun7i_fix_speed()
85 gmac->clk_enabled = 0; in sun7i_fix_speed()
92 gmac->clk_enabled = 1; in sun7i_fix_speed()
Ddwmac-rk.c68 bool clk_enabled; member
1497 bsp_priv->clk_enabled = false; in rk_gmac_clk_init()
1549 if (!bsp_priv->clk_enabled) { in gmac_clk_enable()
1564 bsp_priv->clk_enabled = true; in gmac_clk_enable()
1567 if (bsp_priv->clk_enabled) { in gmac_clk_enable()
1576 bsp_priv->clk_enabled = false; in gmac_clk_enable()
/drivers/mmc/core/
Dpwrseq_simple.c27 bool clk_enabled; member
65 if (!IS_ERR(pwrseq->ext_clk) && !pwrseq->clk_enabled) { in mmc_pwrseq_simple_pre_power_on()
67 pwrseq->clk_enabled = true; in mmc_pwrseq_simple_pre_power_on()
93 if (!IS_ERR(pwrseq->ext_clk) && pwrseq->clk_enabled) { in mmc_pwrseq_simple_power_off()
95 pwrseq->clk_enabled = false; in mmc_pwrseq_simple_power_off()
/drivers/pwm/
Dpwm-clk.c33 bool clk_enabled; member
50 pcchip->clk_enabled = false; in pwm_clk_apply()
57 pcchip->clk_enabled = true; in pwm_clk_apply()
121 if (pcchip->clk_enabled) in pwm_clk_remove()
/drivers/gpu/drm/ingenic/
Dingenic-ipu.c61 bool clk_enabled; member
344 if (!ipu->clk_enabled) { in ingenic_ipu_plane_atomic_update()
351 ipu->clk_enabled = true; in ingenic_ipu_plane_atomic_update()
665 if (ipu->clk_enabled) { in ingenic_ipu_plane_atomic_disable()
667 ipu->clk_enabled = false; in ingenic_ipu_plane_atomic_disable()
/drivers/mmc/host/
Domap.c255 static void mmc_omap_release_slot(struct mmc_omap_slot *slot, int clk_enabled) in mmc_omap_release_slot() argument
263 if (clk_enabled) in mmc_omap_release_slot()
1158 int clk_enabled, init_stream; in mmc_omap_set_ios() local
1167 clk_enabled = 0; in mmc_omap_set_ios()
1180 clk_enabled = 1; in mmc_omap_set_ios()
1218 mmc_omap_release_slot(slot, clk_enabled); in mmc_omap_set_ios()
Dsdhci-tegra.c270 bool clk_enabled; in tegra210_sdhci_writew() local
280 clk_enabled = tegra_sdhci_configure_card_clk(host, 0); in tegra210_sdhci_writew()
287 tegra_sdhci_configure_card_clk(host, clk_enabled); in tegra210_sdhci_writew()
/drivers/video/fbdev/
Damba-clcd.c77 if (fb->clk_enabled) { in clcdfb_disable()
78 fb->clk_enabled = false; in clcdfb_disable()
88 if (!fb->clk_enabled) { in clcdfb_enable()
89 fb->clk_enabled = true; in clcdfb_enable()
/drivers/net/ethernet/broadcom/
Dbgmac.h490 bool (*clk_enabled)(struct bgmac *bgmac); member
543 return bgmac->clk_enabled(bgmac); in bgmac_clk_enabled()
Dbgmac-platform.c234 bgmac->clk_enabled = platform_bgmac_clk_enabled; in bgmac_probe()
Dbgmac-bcma.c307 bgmac->clk_enabled = bcma_bgmac_clk_enabled; in bgmac_probe()