Home
last modified time | relevance | path

Searched refs:clk_enabled (Results 1 – 10 of 10) 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.c48 bool clk_enabled; member
1206 bsp_priv->clk_enabled = false; in rk_gmac_clk_init()
1277 if (!bsp_priv->clk_enabled) { in gmac_clk_enable()
1312 bsp_priv->clk_enabled = true; in gmac_clk_enable()
1315 if (bsp_priv->clk_enabled) { in gmac_clk_enable()
1337 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/gpu/drm/ingenic/
Dingenic-ipu.c55 bool clk_enabled; member
303 if (!ipu->clk_enabled) { in ingenic_ipu_plane_atomic_update()
310 ipu->clk_enabled = true; in ingenic_ipu_plane_atomic_update()
618 if (ipu->clk_enabled) { in ingenic_ipu_plane_atomic_disable()
620 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.c266 bool clk_enabled; in tegra210_sdhci_writew() local
276 clk_enabled = tegra_sdhci_configure_card_clk(host, 0); in tegra210_sdhci_writew()
283 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.h492 bool (*clk_enabled)(struct bgmac *bgmac); member
545 return bgmac->clk_enabled(bgmac); in bgmac_clk_enabled()
Dbgmac-platform.c234 bgmac->clk_enabled = platform_bgmac_clk_enabled; in bgmac_probe()
Dbgmac-bcma.c295 bgmac->clk_enabled = bcma_bgmac_clk_enabled; in bgmac_probe()