Home
last modified time | relevance | path

Searched refs:msi_map_lock (Results 1 – 2 of 2) sorted by relevance

/drivers/irqchip/
Dirq-loongson-pch-msi.c19 struct mutex msi_map_lock; member
50 mutex_lock(&priv->msi_map_lock); in pch_msi_allocate_hwirq()
55 mutex_unlock(&priv->msi_map_lock); in pch_msi_allocate_hwirq()
59 mutex_unlock(&priv->msi_map_lock); in pch_msi_allocate_hwirq()
69 mutex_lock(&priv->msi_map_lock); in pch_msi_free_hwirq()
71 mutex_unlock(&priv->msi_map_lock); in pch_msi_free_hwirq()
204 mutex_init(&priv->msi_map_lock); in pch_msi_init()
Dirq-alpine-msi.c32 spinlock_t msi_map_lock; member
63 spin_lock(&priv->msi_map_lock); in alpine_msix_allocate_sgi()
68 spin_unlock(&priv->msi_map_lock); in alpine_msix_allocate_sgi()
74 spin_unlock(&priv->msi_map_lock); in alpine_msix_allocate_sgi()
84 spin_lock(&priv->msi_map_lock); in alpine_msix_free_sgi()
88 spin_unlock(&priv->msi_map_lock); in alpine_msix_free_sgi()
241 spin_lock_init(&priv->msi_map_lock); in alpine_msix_init()