Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/rt-thread
/ spin_lock
Function
spin_lock
components/drivers/pci/pci.c:22–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
#include <drivers/core/bus.h>
21
22
rt_inline void spin_lock(struct rt_spinlock *spinlock)
23
{
24
rt_hw_spin_lock(&spinlock->lock);
25
}
26
27
rt_inline void spin_unlock(struct rt_spinlock *spinlock)
28
{
Callers
3
rt_pci_enum_device
Function · 0.70
finish_urb
Function · 0.50
ohci_irq
Function · 0.50
Calls
1
rt_hw_spin_lock
Function · 0.50
Tested by
no test coverage detected