Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/clk/mmp/
Dclk-mmp2.c55 static DEFINE_SPINLOCK(clk_lock);
189 ARRAY_SIZE(uart_factor_tbl), &clk_lock); in mmp2_clk_init()
194 apbc_base + APBC_TWSI0, 10, 0, &clk_lock); in mmp2_clk_init()
198 apbc_base + APBC_TWSI1, 10, 0, &clk_lock); in mmp2_clk_init()
202 apbc_base + APBC_TWSI2, 10, 0, &clk_lock); in mmp2_clk_init()
206 apbc_base + APBC_TWSI3, 10, 0, &clk_lock); in mmp2_clk_init()
210 apbc_base + APBC_TWSI4, 10, 0, &clk_lock); in mmp2_clk_init()
214 apbc_base + APBC_TWSI5, 10, 0, &clk_lock); in mmp2_clk_init()
218 apbc_base + APBC_GPIO, 10, 0, &clk_lock); in mmp2_clk_init()
222 apbc_base + APBC_KPC, 10, 0, &clk_lock); in mmp2_clk_init()
[all …]
Dclk-pxa168.c48 static DEFINE_SPINLOCK(clk_lock);
160 ARRAY_SIZE(uart_factor_tbl), &clk_lock); in pxa168_clk_init()
165 apbc_base + APBC_TWSI0, 10, 0, &clk_lock); in pxa168_clk_init()
169 apbc_base + APBC_TWSI1, 10, 0, &clk_lock); in pxa168_clk_init()
173 apbc_base + APBC_GPIO, 10, 0, &clk_lock); in pxa168_clk_init()
177 apbc_base + APBC_KPC, 10, 0, &clk_lock); in pxa168_clk_init()
181 apbc_base + APBC_RTC, 10, 0, &clk_lock); in pxa168_clk_init()
185 apbc_base + APBC_PWM0, 10, 0, &clk_lock); in pxa168_clk_init()
189 apbc_base + APBC_PWM1, 10, 0, &clk_lock); in pxa168_clk_init()
193 apbc_base + APBC_PWM2, 10, 0, &clk_lock); in pxa168_clk_init()
[all …]
Dclk-pxa910.c46 static DEFINE_SPINLOCK(clk_lock);
165 ARRAY_SIZE(uart_factor_tbl), &clk_lock); in pxa910_clk_init()
170 apbc_base + APBC_TWSI0, 10, 0, &clk_lock); in pxa910_clk_init()
174 apbcp_base + APBCP_TWSI1, 10, 0, &clk_lock); in pxa910_clk_init()
178 apbc_base + APBC_GPIO, 10, 0, &clk_lock); in pxa910_clk_init()
182 apbc_base + APBC_KPC, 10, 0, &clk_lock); in pxa910_clk_init()
186 apbc_base + APBC_RTC, 10, 0, &clk_lock); in pxa910_clk_init()
190 apbc_base + APBC_PWM0, 10, 0, &clk_lock); in pxa910_clk_init()
194 apbc_base + APBC_PWM1, 10, 0, &clk_lock); in pxa910_clk_init()
198 apbc_base + APBC_PWM2, 10, 0, &clk_lock); in pxa910_clk_init()
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-clk.c22 static DEFINE_MUTEX(clk_lock);
56 mutex_lock(&clk_lock); in v4l2_clk_get()
67 mutex_unlock(&clk_lock); in v4l2_clk_get()
86 mutex_lock(&clk_lock); in v4l2_clk_put()
92 mutex_unlock(&clk_lock); in v4l2_clk_put()
101 mutex_lock(&clk_lock); in v4l2_clk_lock_driver()
111 mutex_unlock(&clk_lock); in v4l2_clk_lock_driver()
249 mutex_lock(&clk_lock); in v4l2_clk_register()
251 mutex_unlock(&clk_lock); in v4l2_clk_register()
256 mutex_unlock(&clk_lock); in v4l2_clk_register()
[all …]
/kernel/linux/linux-5.10/arch/m68k/coldfire/
Dclk.c23 static DEFINE_SPINLOCK(clk_lock);
93 spin_lock_irqsave(&clk_lock, flags); in clk_enable()
96 spin_unlock_irqrestore(&clk_lock, flags); in clk_enable()
109 spin_lock_irqsave(&clk_lock, flags); in clk_disable()
112 spin_unlock_irqrestore(&clk_lock, flags); in clk_disable()
/kernel/linux/linux-5.10/sound/soc/samsung/
Ds3c24xx_uda134x.c23 struct mutex clk_lock; member
57 mutex_lock(&priv->clk_lock); in s3c24xx_uda134x_startup()
87 mutex_unlock(&priv->clk_lock); in s3c24xx_uda134x_startup()
107 mutex_lock(&priv->clk_lock); in s3c24xx_uda134x_shutdown()
115 mutex_unlock(&priv->clk_lock); in s3c24xx_uda134x_shutdown()
235 mutex_init(&priv->clk_lock); in s3c24xx_uda134x_probe()
/kernel/linux/linux-5.10/drivers/clk/zte/
Dclk.h66 .lock = &clk_lock, \
105 .lock = &clk_lock, \
130 .lock = &clk_lock, \
150 .lock = &clk_lock, \
Dclk-zx296718.c92 static DEFINE_SPINLOCK(clk_lock);
/kernel/linux/linux-5.10/drivers/iio/adc/
Daspeed_adc.c55 spinlock_t clk_lock; member
193 spin_lock_init(&data->clk_lock); in aspeed_adc_probe()
199 17, 15, 0, &data->clk_lock); in aspeed_adc_probe()
211 0, 10, 0, &data->clk_lock); in aspeed_adc_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm/mach-ep93xx/
Dclock.c242 static DEFINE_SPINLOCK(clk_lock);
270 spin_lock_irqsave(&clk_lock, flags); in clk_enable()
272 spin_unlock_irqrestore(&clk_lock, flags); in clk_enable()
304 spin_lock_irqsave(&clk_lock, flags); in clk_disable()
306 spin_unlock_irqrestore(&clk_lock, flags); in clk_disable()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/clk/
Dclk-xgene.c29 static DEFINE_SPINLOCK(clk_lock);
184 0, reg, 0, pll_type, &clk_lock, in xgene_pllclk_init()
412 flags, &clk_lock); in xgene_pmdclk_init()
723 of_clk_get_parent_name(np, 0), &parameters, &clk_lock); in xgene_devclk_init()
/kernel/linux/linux-5.10/include/linux/mfd/arizona/
Dcore.h143 struct mutex clk_lock; member
/kernel/linux/linux-5.10/drivers/mfd/
Darizona-core.c41 mutex_lock(&arizona->clk_lock); in arizona_clk32k_enable()
73 mutex_unlock(&arizona->clk_lock); in arizona_clk32k_enable()
81 mutex_lock(&arizona->clk_lock); in arizona_clk32k_disable()
102 mutex_unlock(&arizona->clk_lock); in arizona_clk32k_disable()
995 mutex_init(&arizona->clk_lock); in arizona_dev_init()
/kernel/linux/linux-5.10/drivers/mmc/host/
Domap.c164 spinlock_t clk_lock; /* for changing enabled state */ member
186 spin_lock_irqsave(&host->clk_lock, flags); in mmc_omap_fclk_enable()
194 spin_unlock_irqrestore(&host->clk_lock, flags); in mmc_omap_fclk_enable()
1360 spin_lock_init(&host->clk_lock); in mmc_omap_probe()