MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / _dm_bus_lock

Function _dm_bus_lock

components/drivers/core/bus.c:92–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90static rt_list_t bus_nodes = RT_LIST_OBJECT_INIT(bus_nodes);
91
92static void _dm_bus_lock(struct rt_spinlock *spinlock)
93{
94 rt_hw_spin_lock(&spinlock->lock);
95}
96
97static void _dm_bus_unlock(struct rt_spinlock *spinlock)
98{

Callers 11

rt_bus_for_each_devFunction · 0.85
rt_bus_for_each_drvFunction · 0.85
bus_probe_deviceFunction · 0.85
rt_bus_add_driverFunction · 0.85
rt_bus_add_deviceFunction · 0.85
rt_bus_remove_driverFunction · 0.85
rt_bus_remove_deviceFunction · 0.85
rt_bus_shutdownFunction · 0.85
rt_bus_find_by_nameFunction · 0.85
rt_bus_registerFunction · 0.85

Calls 1

rt_hw_spin_lockFunction · 0.50

Tested by

no test coverage detected