Home
last modified time | relevance | path

Searched refs:hwlock (Results 1 – 14 of 14) sorted by relevance

/linux/Documentation/devicetree/bindings/hwlock/
H A Dhwlock.txt1 Generic hwlock bindings
4 Generic bindings that are common to all the hwlock platform specific driver
7 Please also look through the individual platform specific hwlock binding
11 hwlock providers:
15 - #hwlock-cells: Specifies the number of cells needed to represent a
18 hwlock users:
21 Consumers that require specific hwlock(s) should specify them using the
22 property "hwlocks", and an optional "hwlock-names" property.
25 - hwlocks: List of phandle to a hwlock provider node and an
26 associated hwlock args specifier as indicated by
[all …]
/linux/drivers/hwspinlock/
H A Dhwspinlock_internal.h65 static inline int hwlock_to_id(struct hwspinlock *hwlock) in hwlock_to_id() argument
67 int local_id = hwlock - &hwlock->bank->lock[0]; in hwlock_to_id()
69 return hwlock->bank->base_id + local_id; in hwlock_to_id()
H A Dsun6i_hwspinlock.c94 struct hwspinlock *hwlock; in sun6i_hwspinlock_probe() local
165 hwlock = &priv->bank->lock[i]; in sun6i_hwspinlock_probe()
166 hwlock->priv = io_base + SPINLOCK_LOCK_REGN + sizeof(u32) * i; in sun6i_hwspinlock_probe()
/linux/drivers/pinctrl/stm32/
H A Dpinctrl-stm32.c176 struct hwspinlock *hwlock; member
610 if (pctl->hwlock) { in stm32_gpio_domain_activate()
611 ret = hwspin_lock_timeout_in_atomic(pctl->hwlock, in stm32_gpio_domain_activate()
621 if (pctl->hwlock) in stm32_gpio_domain_activate()
622 hwspin_unlock_in_atomic(pctl->hwlock); in stm32_gpio_domain_activate()
947 if (pctl->hwlock) { in stm32_pmx_set_mode()
948 err = hwspin_lock_timeout_in_atomic(pctl->hwlock, in stm32_pmx_set_mode()
966 if (pctl->hwlock) in stm32_pmx_set_mode()
967 hwspin_unlock_in_atomic(pctl->hwlock); in stm32_pmx_set_mode()
1090 if (pctl->hwlock) { in stm32_pconf_set_driving()
[all …]
/linux/drivers/irqchip/
H A Dirq-stm32mp-exti.c73 struct hwspinlock *hwlock; member
371 struct hwspinlock *hwlock = chip_data->host_data->hwlock; in stm32mp_exti_set_type() local
378 if (hwlock) { in stm32mp_exti_set_type()
379 err = hwspin_lock_timeout_in_atomic(hwlock, HWSPNLCK_TIMEOUT); in stm32mp_exti_set_type()
395 if (hwlock) in stm32mp_exti_set_type()
396 hwspin_unlock_in_atomic(hwlock); in stm32mp_exti_set_type()
644 host_data->hwlock = devm_hwspin_lock_request_specific(dev, ret); in stm32mp_exti_probe()
645 if (!host_data->hwlock) { in stm32mp_exti_probe()
/linux/drivers/base/regmap/
H A Dregmap.c398 hwspin_lock_timeout(map->hwlock, UINT_MAX); in regmap_lock_hwlock()
405 hwspin_lock_timeout_irq(map->hwlock, UINT_MAX); in regmap_lock_hwlock_irq()
413 hwspin_lock_timeout_irqsave(map->hwlock, UINT_MAX, in regmap_lock_hwlock_irqsave()
422 hwspin_unlock(map->hwlock); in regmap_unlock_hwlock()
429 hwspin_unlock_irq(map->hwlock); in regmap_unlock_hwlock_irq()
436 hwspin_unlock_irqrestore(map->hwlock, &map->spinlock_flags); in regmap_unlock_hwlock_irqrestore()
714 map->hwlock = hwspin_lock_request_specific(config->hwlock_id); in __regmap_init()
715 if (!map->hwlock) { in __regmap_init()
1172 if (map->hwlock) in __regmap_init()
1173 hwspin_lock_free(map->hwlock); in __regmap_init()
[all …]
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-sdx65.dtsi388 tcsr_mutex: hwlock@1f40000 {
391 #hwlock-cells = <1>;
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62a-main.dtsi807 #hwlock-cells = <1>;
H A Dk3-am62-main.dtsi864 #hwlock-cells = <1>;
/linux/arch/arm64/boot/dts/qcom/
H A Dsc8280xp.dtsi2849 tcsr_mutex: hwlock@1f40000 {
2852 #hwlock-cells = <1>;
H A Dmonaco.dtsi2740 tcsr_mutex: hwlock@1f40000 {
2743 #hwlock-cells = <1>;
H A Dsm8650.dtsi4179 tcsr_mutex: hwlock@1f40000 {
4183 #hwlock-cells = <1>;
H A Dglymur.dtsi3800 tcsr_mutex: hwlock@1f40000 {
3804 #hwlock-cells = <1>;
/linux/
H A DMAINTAINERS918 F: Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
11514 F: Documentation/devicetree/bindings/hwlock/