Searched +full:stm32 +full:- +full:hwspinlock (Results 1 – 7 of 7) sorted by relevance
1 # 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 bindings10 - Fabien Dessenne <fabien.dessenne@foss.st.com>13 "#hwlock-cells":17 const: st,stm32-hwspinlock25 clock-names:27 - const: hsem[all …]
1 # SPDX-License-Identifier: GPL-2.03 # Generic HWSPINLOCK framework6 menuconfig HWSPINLOCK config9 if HWSPINLOCK40 tristate "STM32 Hardware Spinlock device"43 Say y here to support the STM32 Hardware Spinlock device.66 endif # HWSPINLOCK
1 // SPDX-License-Identifier: GPL-2.09 #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()61 struct device *dev = &pdev->dev; in stm32_hwspinlock_disable_clk()68 clk_disable_unprepare(hw->clk); in stm32_hwspinlock_disable_clk()73 struct device *dev = &pdev->dev; in stm32_hwspinlock_probe()[all …]
1 // SPDX-License-Identifier: GPL-2.05 * Author: Maxime Coquelin <mcoquelin.stm32@gmail.com>10 #include <linux/hwspinlock.h>23 #include <dt-bindings/interrupt-controller/arm-gic.h>62 struct hwspinlock *hwlock;178 [0 ... (STM32MP1_DESC_IRQ_SIZE - 1)] = EXTI_INVALID_IRQ,226 [0 ... (STM32MP1_DESC_IRQ_SIZE - 1)] = EXTI_INVALID_IRQ,283 struct stm32_exti_chip_data *chip_data = gc->private; in stm32_exti_pending()284 const struct stm32_exti_bank *stm32_bank = chip_data->reg_bank; in stm32_exti_pending()287 pending = irq_reg_readl(gc, stm32_bank->rpr_ofst); in stm32_exti_pending()[all …]
1 // SPDX-License-Identifier: GPL-2.05 * Author: Maxime Coquelin <mcoquelin.stm32@gmail.com>11 #include <linux/hwspinlock.h>23 #include <linux/pinctrl/pinconf-generic.h>34 #include "../pinctrl-utils.h"35 #include "pinctrl-stm32.h"115 struct hwspinlock *hwlock;148 return function - 1; in stm32_gpio_get_alt()159 bank->pin_backup[offset] &= ~BIT(STM32_GPIO_BKP_VAL); in stm32_gpio_backup_value()160 bank->pin_backup[offset] |= value << STM32_GPIO_BKP_VAL; in stm32_gpio_backup_value()[all …]
1 # SPDX-License-Identifier: GPL-2.0-only13 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 (which56 by providing a high-level interface to send memory-like commands.138 supports spi-mem interface.208 this code to manage the per-word or per-transfer accesses to the238 Flash over 1/2/4-bit wide bus. Enable this option if you have a258 This enables dedicated general purpose SPI/Microwire1-compatible259 master mode interface (SSI1) for CLPS711X-based CPUs.[all …]
9 -------------------------30 ``diff -u`` to make the patch easy to merge. Be prepared to get your40 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 this59 Documentation/process/submitting-patches.rst.70 that the bug would present a short-term risk to other users if it76 Documentation/admin-guide/security-bugs.rst for details.81 ---------------------------------------------------97 W: *Web-page* with status/info[all …]