Home
last modified time | relevance | path

Searched +full:stm32 +full:- +full:hwspinlock (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/hwlock/
Dst,stm32-hwspinlock.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/hwlock/st,stm32-hwspinlock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 Hardware Spinlock bindings
10 - Benjamin Gaignard <benjamin.gaignard@st.com>
11 - Fabien Dessenne <fabien.dessenne@st.com>
14 "#hwlock-cells":
18 const: st,stm32-hwspinlock
26 clock-names:
[all …]
/Linux-v5.10/drivers/hwspinlock/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
3 # Generic HWSPINLOCK framework
6 menuconfig HWSPINLOCK config
9 if HWSPINLOCK
51 tristate "STM32 Hardware Spinlock device"
54 Say y here to support the STM32 Hardware Spinlock device.
68 endif # HWSPINLOCK
Dstm32_hwspinlock.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/hwspinlock.h>
28 static int stm32_hwspinlock_trylock(struct hwspinlock *lock) in stm32_hwspinlock_trylock()
30 void __iomem *lock_addr = lock->priv; in stm32_hwspinlock_trylock()
39 static void stm32_hwspinlock_unlock(struct hwspinlock *lock) in stm32_hwspinlock_unlock()
41 void __iomem *lock_addr = lock->priv; in stm32_hwspinlock_unlock()
46 static void stm32_hwspinlock_relax(struct hwspinlock *lock) in stm32_hwspinlock_relax()
68 array_size = STM32_MUTEX_NUM_LOCKS * sizeof(struct hwspinlock); in stm32_hwspinlock_probe()
69 hw = devm_kzalloc(&pdev->dev, sizeof(*hw) + array_size, GFP_KERNEL); in stm32_hwspinlock_probe()
71 return -ENOMEM; in stm32_hwspinlock_probe()
[all …]
/Linux-v5.10/drivers/irqchip/
Dirq-stm32-exti.c1 // SPDX-License-Identifier: GPL-2.0
5 * Author: Maxime Coquelin <mcoquelin.stm32@gmail.com>
10 #include <linux/hwspinlock.h>
23 #include <dt-bindings/interrupt-controller/arm-gic.h>
68 struct hwspinlock *hwlock;
224 if (!drv_data->desc_irqs) in stm32_exti_get_desc()
227 for (i = 0; i < drv_data->irq_nr; i++) { in stm32_exti_get_desc()
228 desc = &drv_data->desc_irqs[i]; in stm32_exti_get_desc()
229 if (desc->exti == hwirq) in stm32_exti_get_desc()
238 struct stm32_exti_chip_data *chip_data = gc->private; in stm32_exti_pending()
[all …]
/Linux-v5.10/drivers/pinctrl/stm32/
Dpinctrl-stm32.c1 // SPDX-License-Identifier: GPL-2.0
5 * Author: Maxime Coquelin <mcoquelin.stm32@gmail.com>
11 #include <linux/hwspinlock.h>
23 #include <linux/pinctrl/pinconf-generic.h>
33 #include "../pinctrl-utils.h"
34 #include "pinctrl-stm32.h"
112 struct hwspinlock *hwlock;
145 return function - 1; in stm32_gpio_get_alt()
156 bank->pin_backup[offset] &= ~BIT(STM32_GPIO_BKP_VAL); in stm32_gpio_backup_value()
157 bank->pin_backup[offset] |= value << STM32_GPIO_BKP_VAL; in stm32_gpio_backup_value()
[all …]
/Linux-v5.10/drivers/spi/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 dynamic device discovery; some are even write-only or read-only.
17 chips, analog to digital (and d-to-a) converters, and more.
44 If your system has an master-capable SPI controller (which
56 by providing a high-level interface to send memory-like commands.
111 supports spi-mem interface.
181 this code to manage the per-word or per-transfer accesses to the
211 Flash over 1/2/4-bit wide bus. Enable this option if you have a
219 This enables dedicated general purpose SPI/Microwire1-compatible
220 master mode interface (SSI1) for CLPS711X-based CPUs.
[all …]
/Linux-v5.10/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]