Home
last modified time | relevance | path

Searched refs:clk_lock (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v6.6/arch/m68k/coldfire/
Dclk.c23 static DEFINE_SPINLOCK(clk_lock);
83 spin_lock_irqsave(&clk_lock, flags); in clk_enable()
86 spin_unlock_irqrestore(&clk_lock, flags); in clk_enable()
99 spin_lock_irqsave(&clk_lock, flags); in clk_disable()
102 spin_unlock_irqrestore(&clk_lock, flags); in clk_disable()
/Linux-v6.6/drivers/clk/
Dclk-k210.c331 spinlock_t clk_lock; member
443 spin_lock_irqsave(&ksc->clk_lock, flags); in k210_pll_enable()
447 spin_unlock_irqrestore(&ksc->clk_lock, flags); in k210_pll_enable()
464 spin_lock_irqsave(&ksc->clk_lock, flags); in k210_pll_disable()
472 spin_unlock_irqrestore(&ksc->clk_lock, flags); in k210_pll_disable()
514 spin_lock_irqsave(&ksc->clk_lock, flags); in k210_pll2_set_parent()
521 spin_unlock_irqrestore(&ksc->clk_lock, flags); in k210_pll2_set_parent()
603 spin_lock_irqsave(&ksc->clk_lock, flags); in k210_aclk_set_parent()
607 spin_unlock_irqrestore(&ksc->clk_lock, flags); in k210_aclk_set_parent()
685 spin_lock_irqsave(&ksc->clk_lock, flags); in k210_clk_enable()
[all …]
Dclk-xgene.c29 static DEFINE_SPINLOCK(clk_lock);
184 0, reg, 0, pll_type, &clk_lock, in xgene_pllclk_init()
411 flags, &clk_lock); in xgene_pmdclk_init()
722 of_clk_get_parent_name(np, 0), &parameters, &clk_lock); in xgene_devclk_init()
/Linux-v6.6/sound/firewire/bebob/
Dbebob_maudio.c83 unsigned int clk_lock; member
173 unsigned int clk_lock) in avc_maudio_set_special_clk() argument
196 buf[9] = 0xff & clk_lock; /* lock these settings */ in avc_maudio_set_special_clk()
216 params->clk_lock = buf[9]; in avc_maudio_set_special_clk()
391 params->clk_lock); in special_clk_ctl_put()
503 params->clk_lock); in special_dig_in_iface_ctl_set()
571 id, params->clk_lock); in special_dig_out_iface_ctl_set()
/Linux-v6.6/arch/arm/mach-ep93xx/
Dclock.c28 static DEFINE_SPINLOCK(clk_lock);
148 psc->lock = &clk_lock; in ep93xx_clk_register_gate()
344 psc->lock = &clk_lock; in clk_hw_register_ddiv()
452 psc->lock = &clk_lock; in clk_hw_register_div()
528 &clk_lock); in ep93xx_dma_clock_init()
622 &clk_lock); in ep93xx_clock_init()
/Linux-v6.6/drivers/clk/sunxi/
Dclk-sunxi.c21 static DEFINE_SPINLOCK(clk_lock);
568 return sunxi_factors_register(node, data, &clk_lock, reg); in sunxi_factors_clk_setup()
676 0, &clk_lock); in sunxi_mux_clk_setup()
800 data->table, &clk_lock); in sunxi_divider_clk_setup()
1042 gate->lock = &clk_lock; in sunxi_divs_clk_setup()
1069 divider->lock = &clk_lock; in sunxi_divs_clk_setup()
/Linux-v6.6/drivers/iio/adc/
Daspeed_adc.c113 spinlock_t clk_lock; member
506 spin_lock_init(&data->clk_lock); in aspeed_adc_probe()
529 &data->clk_lock); in aspeed_adc_probe()
547 &data->clk_lock); in aspeed_adc_probe()
/Linux-v6.6/drivers/clk/mediatek/
Dclk-mt8135.c535 .clk_lock = &mt8135_clk_lock,
544 .clk_lock = &mt8135_clk_lock,
Dclk-mt7622.c502 .clk_lock = &mt7622_clk_lock,
511 .clk_lock = &mt7622_clk_lock,
Dclk-mt8173-pericfg.c102 .clk_lock = &mt8173_clk_lock,
Dclk-mt8516.c654 .clk_lock = &mt8516_clk_lock,
660 .clk_lock = &mt8516_clk_lock,
Dclk-mtk.c525 mcd->clk_lock, clk_data); in __mtk_clk_simple_probe()
535 base, mcd->clk_lock, clk_data); in __mtk_clk_simple_probe()
544 base, mcd->clk_lock, clk_data); in __mtk_clk_simple_probe()
Dclk-mt7986-infracfg.c165 .clk_lock = &mt7986_clk_lock,
Dclk-mt7981-infracfg.c189 .clk_lock = &mt7981_clk_lock,
Dclk-mt8167.c872 .clk_lock = &mt8167_clk_lock,
878 .clk_lock = &mt8167_clk_lock,
Dclk-mt7986-topckgen.c298 .clk_lock = &mt7986_clk_lock,
Dclk-mt8365.c778 .clk_lock = &mt8365_clk_lock,
794 .clk_lock = &mt8365_clk_lock,
Dclk-mt8183.c867 .clk_lock = &mt8183_clk_lock,
886 .clk_lock = &mt8183_clk_lock,
Dclk-mt2712.c964 .clk_lock = &mt2712_clk_lock,
970 .clk_lock = &mt2712_clk_lock,
Dclk-mt7981-topckgen.c404 .clk_lock = &mt7981_clk_lock,
Dclk-mtk.h235 spinlock_t *clk_lock; member
Dclk-mt6795-topckgen.c535 .clk_lock = &mt6795_top_clk_lock,
/Linux-v6.6/drivers/mfd/
Darizona-core.c40 mutex_lock(&arizona->clk_lock); in arizona_clk32k_enable()
72 mutex_unlock(&arizona->clk_lock); in arizona_clk32k_enable()
80 mutex_lock(&arizona->clk_lock); in arizona_clk32k_disable()
101 mutex_unlock(&arizona->clk_lock); in arizona_clk32k_disable()
945 mutex_init(&arizona->clk_lock); in arizona_dev_init()
/Linux-v6.6/include/linux/mfd/arizona/
Dcore.h143 struct mutex clk_lock; member
/Linux-v6.6/drivers/net/ethernet/broadcom/asp2/
Dbcmasp.c1006 spin_lock_irqsave(&priv->clk_lock, flags); in bcmasp_core_clock_set()
1008 spin_unlock_irqrestore(&priv->clk_lock, flags); in bcmasp_core_clock_set()
1024 spin_lock_irqsave(&priv->clk_lock, flags); in bcmasp_core_clock_set_intf()
1037 spin_unlock_irqrestore(&priv->clk_lock, flags); in bcmasp_core_clock_set_intf()
1259 spin_lock_init(&priv->clk_lock); in bcmasp_probe()

12