/linux-4.19.296/include/linux/ |
D | hwspinlock.h | 62 int hwspin_lock_free(struct hwspinlock *hwlock); 64 int hwspin_lock_get_id(struct hwspinlock *hwlock); 70 int devm_hwspin_lock_free(struct device *dev, struct hwspinlock *hwlock); 106 static inline int hwspin_lock_free(struct hwspinlock *hwlock) in hwspin_lock_free() argument 112 int __hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to, in __hwspin_lock_timeout() argument 119 int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_trylock() argument 125 void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_unlock() argument 134 static inline int hwspin_lock_get_id(struct hwspinlock *hwlock) in hwspin_lock_get_id() argument 146 int devm_hwspin_lock_free(struct device *dev, struct hwspinlock *hwlock) in devm_hwspin_lock_free() argument 182 int hwspin_trylock_irqsave(struct hwspinlock *hwlock, unsigned long *flags) in hwspin_trylock_irqsave() argument [all …]
|
/linux-4.19.296/drivers/nvmem/ |
D | sc27xx-efuse.c | 55 struct hwspinlock *hwlock; member 71 ret = hwspin_lock_timeout_raw(efuse->hwlock, in sc27xx_efuse_lock() 84 hwspin_unlock_raw(efuse->hwlock); in sc27xx_efuse_unlock() 210 efuse->hwlock = hwspin_lock_request_specific(ret); in sc27xx_efuse_probe() 211 if (!efuse->hwlock) { in sc27xx_efuse_probe() 231 hwspin_lock_free(efuse->hwlock); in sc27xx_efuse_probe() 242 hwspin_lock_free(efuse->hwlock); in sc27xx_efuse_remove()
|
/linux-4.19.296/drivers/iio/adc/ |
D | sc27xx_adc.c | 69 struct hwspinlock *hwlock; member 133 ret = hwspin_lock_timeout_raw(data->hwlock, SC27XX_ADC_HWLOCK_TIMEOUT); in sc27xx_adc_read() 173 hwspin_unlock_raw(data->hwlock); in sc27xx_adc_read() 412 struct hwspinlock *hwlock = _data; in sc27xx_adc_free_hwlock() local 414 hwspin_lock_free(hwlock); in sc27xx_adc_free_hwlock() 454 sc27xx_data->hwlock = hwspin_lock_request_specific(ret); in sc27xx_adc_probe() 455 if (!sc27xx_data->hwlock) { in sc27xx_adc_probe() 461 sc27xx_data->hwlock); in sc27xx_adc_probe() 463 sc27xx_adc_free_hwlock(sc27xx_data->hwlock); in sc27xx_adc_probe()
|
/linux-4.19.296/drivers/isdn/hardware/mISDN/ |
D | mISDNisar.c | 213 spin_lock_irqsave(isar->hwlock, flags); in load_firmware() 215 spin_unlock_irqrestore(isar->hwlock, flags); in load_firmware() 230 spin_lock_irqsave(isar->hwlock, flags); in load_firmware() 242 spin_unlock_irqrestore(isar->hwlock, flags); in load_firmware() 271 spin_lock_irqsave(isar->hwlock, flags); in load_firmware() 282 spin_unlock_irqrestore(isar->hwlock, flags); in load_firmware() 302 spin_lock_irqsave(isar->hwlock, flags); in load_firmware() 324 spin_unlock_irqrestore(isar->hwlock, flags); in load_firmware() 342 spin_lock_irqsave(isar->hwlock, flags); in load_firmware() 348 spin_unlock_irqrestore(isar->hwlock, flags); in load_firmware() [all …]
|
D | mISDNipac.c | 580 spin_lock_irqsave(isac->hwlock, flags); in isac_l1hw() 586 spin_unlock_irqrestore(isac->hwlock, flags); in isac_l1hw() 589 spin_unlock_irqrestore(isac->hwlock, flags); in isac_l1hw() 614 spin_lock_irqsave(isac->hwlock, flags); in isac_ctrl() 628 spin_unlock_irqrestore(isac->hwlock, flags); in isac_ctrl() 650 spin_lock_irqsave(isac->hwlock, flags); in isac_l1cmd() 652 spin_unlock_irqrestore(isac->hwlock, flags); in isac_l1cmd() 655 spin_lock_irqsave(isac->hwlock, flags); in isac_l1cmd() 657 spin_unlock_irqrestore(isac->hwlock, flags); in isac_l1cmd() 660 spin_lock_irqsave(isac->hwlock, flags); in isac_l1cmd() [all …]
|
D | ipac.h | 32 spinlock_t *hwlock; /* lock HW access */ member 73 spinlock_t *hwlock; /* lock HW access */ member
|
D | isar.h | 47 spinlock_t *hwlock; /* lock HW access */ member
|
D | speedfax.c | 387 card->isac.hwlock = &card->lock; in setup_instance() 388 card->isar.hwlock = &card->lock; in setup_instance()
|
D | mISDNinfineon.c | 925 card->ipac.isac.hwlock = &card->lock; in setup_instance() 926 card->ipac.hwlock = &card->lock; in setup_instance()
|
D | avmfritz.c | 1053 card->isac.hwlock = &card->lock; in setup_instance()
|
D | netjet.c | 1025 card->isac.hwlock = &card->lock; in setup_instance()
|
/linux-4.19.296/drivers/base/regmap/ |
D | regmap.c | 424 hwspin_lock_timeout(map->hwlock, UINT_MAX); in regmap_lock_hwlock() 431 hwspin_lock_timeout_irq(map->hwlock, UINT_MAX); in regmap_lock_hwlock_irq() 438 hwspin_lock_timeout_irqsave(map->hwlock, UINT_MAX, in regmap_lock_hwlock_irqsave() 446 hwspin_unlock(map->hwlock); in regmap_unlock_hwlock() 453 hwspin_unlock_irq(map->hwlock); in regmap_unlock_hwlock_irq() 460 hwspin_unlock_irqrestore(map->hwlock, &map->spinlock_flags); in regmap_unlock_hwlock_irqrestore() 694 map->hwlock = hwspin_lock_request_specific(config->hwlock_id); in __regmap_init() 695 if (!map->hwlock) { in __regmap_init() 1136 if (map->hwlock) in __regmap_init() 1137 hwspin_lock_free(map->hwlock); in __regmap_init() [all …]
|
D | internal.h | 164 struct hwspinlock *hwlock; member
|
/linux-4.19.296/ |
D | MAINTAINERS | 6495 F: Documentation/devicetree/bindings/hwlock/
|