MCPcopy 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
22rt_inline void spin_lock(struct rt_spinlock *spinlock)
23{
24 rt_hw_spin_lock(&spinlock->lock);
25}
26
27rt_inline void spin_unlock(struct rt_spinlock *spinlock)
28{

Callers 3

rt_pci_enum_deviceFunction · 0.70
finish_urbFunction · 0.50
ohci_irqFunction · 0.50

Calls 1

rt_hw_spin_lockFunction · 0.50

Tested by

no test coverage detected