Home
last modified time | relevance | path

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

/freebsd/sys/dev/regulator/
H A Dregulator.c147 static struct sx regnode_topo_lock; variable
148 SX_SYSINIT(regulator_topology, &regnode_topo_lock, "Regulator topology lock");
150 #define REG_TOPO_SLOCK() sx_slock(&regnode_topo_lock)
151 #define REG_TOPO_XLOCK() sx_xlock(&regnode_topo_lock)
152 #define REG_TOPO_UNLOCK() sx_unlock(&regnode_topo_lock)
153 #define REG_TOPO_ASSERT() sx_assert(&regnode_topo_lock, SA_LOCKED)
154 #define REG_TOPO_XASSERT() sx_assert(&regnode_topo_lock, SA_XLOCKED)