/linux-4.1.27/drivers/hwspinlock/ |
D | hwspinlock_core.c | 88 int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_trylock() argument 92 BUG_ON(!hwlock); in __hwspin_trylock() 109 ret = spin_trylock_irqsave(&hwlock->lock, *flags); in __hwspin_trylock() 111 ret = spin_trylock_irq(&hwlock->lock); in __hwspin_trylock() 113 ret = spin_trylock(&hwlock->lock); in __hwspin_trylock() 120 ret = hwlock->bank->ops->trylock(hwlock); in __hwspin_trylock() 125 spin_unlock_irqrestore(&hwlock->lock, *flags); in __hwspin_trylock() 127 spin_unlock_irq(&hwlock->lock); in __hwspin_trylock() 129 spin_unlock(&hwlock->lock); in __hwspin_trylock() 177 int __hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to, in __hwspin_lock_timeout() argument [all …]
|
D | hwspinlock_internal.h | 70 static inline int hwlock_to_id(struct hwspinlock *hwlock) in hwlock_to_id() argument 72 int local_id = hwlock - &hwlock->bank->lock[0]; in hwlock_to_id() 74 return hwlock->bank->base_id + local_id; in hwlock_to_id()
|
D | omap_hwspinlock.c | 85 struct hwspinlock *hwlock; in omap_hwspinlock_probe() local 132 bank = kzalloc(sizeof(*bank) + num_locks * sizeof(*hwlock), GFP_KERNEL); in omap_hwspinlock_probe() 140 for (i = 0, hwlock = &bank->lock[0]; i < num_locks; i++, hwlock++) in omap_hwspinlock_probe() 141 hwlock->priv = io_base + LOCK_BASE_OFFSET + sizeof(u32) * i; in omap_hwspinlock_probe()
|
D | u8500_hsem.c | 98 struct hwspinlock *hwlock; in u8500_hsem_probe() local 122 bank = kzalloc(sizeof(*bank) + num_locks * sizeof(*hwlock), GFP_KERNEL); in u8500_hsem_probe() 130 for (i = 0, hwlock = &bank->lock[0]; i < num_locks; i++, hwlock++) in u8500_hsem_probe() 131 hwlock->priv = io_base + HSEM_REGISTER_OFFSET + sizeof(u32) * i; in u8500_hsem_probe()
|
/linux-4.1.27/include/linux/ |
D | hwspinlock.h | 68 int hwspin_lock_free(struct hwspinlock *hwlock); 69 int hwspin_lock_get_id(struct hwspinlock *hwlock); 100 static inline int hwspin_lock_free(struct hwspinlock *hwlock) in hwspin_lock_free() argument 106 int __hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to, in __hwspin_lock_timeout() argument 113 int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_trylock() argument 119 void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_unlock() argument 123 static inline int hwspin_lock_get_id(struct hwspinlock *hwlock) in hwspin_lock_get_id() argument 147 int hwspin_trylock_irqsave(struct hwspinlock *hwlock, unsigned long *flags) in hwspin_trylock_irqsave() argument 149 return __hwspin_trylock(hwlock, HWLOCK_IRQSTATE, flags); in hwspin_trylock_irqsave() 166 static inline int hwspin_trylock_irq(struct hwspinlock *hwlock) in hwspin_trylock_irq() argument [all …]
|
/linux-4.1.27/Documentation/ |
D | hwspinlock.txt | 51 int hwspin_lock_free(struct hwspinlock *hwlock); 57 int hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int timeout); 69 int hwspin_lock_timeout_irq(struct hwspinlock *hwlock, unsigned int timeout); 80 int hwspin_lock_timeout_irqsave(struct hwspinlock *hwlock, unsigned int to, 93 int hwspin_trylock(struct hwspinlock *hwlock); 104 int hwspin_trylock_irq(struct hwspinlock *hwlock); 114 int hwspin_trylock_irqsave(struct hwspinlock *hwlock, unsigned long *flags); 125 void hwspin_unlock(struct hwspinlock *hwlock); 131 void hwspin_unlock_irq(struct hwspinlock *hwlock); 139 hwspin_unlock_irqrestore(struct hwspinlock *hwlock, unsigned long *flags); [all …]
|
/linux-4.1.27/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 | 916 card->ipac.isac.hwlock = &card->lock; in setup_instance() 917 card->ipac.hwlock = &card->lock; in setup_instance()
|
D | avmfritz.c | 1052 card->isac.hwlock = &card->lock; in setup_instance()
|
D | netjet.c | 1025 card->isac.hwlock = &card->lock; in setup_instance()
|
/linux-4.1.27/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1430 spinlock_t hwlock; member 4755 spin_lock_irq(&hw_priv->hwlock); in transmit_cleanup() 4789 spin_unlock_irq(&hw_priv->hwlock); in transmit_cleanup() 4867 spin_lock_irq(&hw_priv->hwlock); in netdev_tx() 4896 spin_unlock_irq(&hw_priv->hwlock); in netdev_tx() 5195 spin_lock_irq(&hw_priv->hwlock); in rx_proc_task() 5197 spin_unlock_irq(&hw_priv->hwlock); in rx_proc_task() 5214 spin_lock_irq(&hw_priv->hwlock); in tx_proc_task() 5216 spin_unlock_irq(&hw_priv->hwlock); in tx_proc_task() 5253 spin_lock(&hw_priv->hwlock); in netdev_intr() [all …]
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | am33xx.dtsi | 344 #hwlock-cells = <1>;
|
D | am4372.dtsi | 396 #hwlock-cells = <1>;
|
D | omap4.dtsi | 400 #hwlock-cells = <1>;
|
D | omap5.dtsi | 449 #hwlock-cells = <1>;
|
D | dra7.dtsi | 798 #hwlock-cells = <1>;
|