Searched refs:bus_lock (Results 1 – 15 of 15) sorted by relevance
/drivers/soundwire/ |
D | bus.c | 71 mutex_init(&bus->bus_lock); in sdw_bus_master_add() 157 mutex_lock(&bus->bus_lock); in sdw_delete_slave() 163 mutex_unlock(&bus->bus_lock); in sdw_delete_slave() 645 mutex_lock(&slave->bus->bus_lock); in sdw_assign_device_num() 647 mutex_unlock(&slave->bus->bus_lock); in sdw_assign_device_num() 792 mutex_lock(&slave->bus->bus_lock); in sdw_modify_slave_status() 815 mutex_unlock(&slave->bus->bus_lock); in sdw_modify_slave_status() 1648 mutex_lock(&bus->bus_lock); in sdw_handle_slave_status() 1650 mutex_unlock(&bus->bus_lock); in sdw_handle_slave_status() 1653 mutex_unlock(&bus->bus_lock); in sdw_handle_slave_status() [all …]
|
D | slave.c | 68 mutex_lock(&bus->bus_lock); in sdw_slave_add() 70 mutex_unlock(&bus->bus_lock); in sdw_slave_add() 80 mutex_lock(&bus->bus_lock); in sdw_slave_add() 82 mutex_unlock(&bus->bus_lock); in sdw_slave_add()
|
D | stream.c | 1091 mutex_lock(&bus->bus_lock); in sdw_stream_remove_master() 1106 mutex_unlock(&bus->bus_lock); in sdw_stream_remove_master() 1123 mutex_lock(&slave->bus->bus_lock); in sdw_stream_remove_slave() 1128 mutex_unlock(&slave->bus->bus_lock); in sdw_stream_remove_slave() 1287 mutex_lock(&bus->bus_lock); in sdw_stream_add_master() 1325 mutex_unlock(&bus->bus_lock); in sdw_stream_add_master() 1353 mutex_lock(&slave->bus->bus_lock); in sdw_stream_add_slave() 1411 mutex_unlock(&slave->bus->bus_lock); in sdw_stream_add_slave() 1466 mutex_lock(&bus->bus_lock); in sdw_acquire_bus_lock() 1487 mutex_unlock(&bus->bus_lock); in sdw_release_bus_lock()
|
D | cadence_master.c | 408 mutex_lock(&bus->bus_lock); in cdns_parity_error_injection() 435 mutex_unlock(&bus->bus_lock); in cdns_parity_error_injection()
|
/drivers/net/wireless/quantenna/qtnfmac/ |
D | bus.h | 67 struct mutex bus_lock; /* lock during command/event processing */ member 145 mutex_lock(&bus->bus_lock); in qtnf_bus_lock() 150 mutex_unlock(&bus->bus_lock); in qtnf_bus_unlock()
|
/drivers/video/fbdev/omap2/omapfb/displays/ |
D | panel-dsi-cm.c | 347 in->ops.dsi->bus_lock(in); in dsicm_bl_update_status() 395 in->ops.dsi->bus_lock(in); in dsicm_num_errors_show() 426 in->ops.dsi->bus_lock(in); in dsicm_hw_revision_show() 461 in->ops.dsi->bus_lock(in); in dsicm_store_ulps() 511 in->ops.dsi->bus_lock(in); in dsicm_store_ulps_timeout() 768 in->ops.dsi->bus_lock(in); in dsicm_enable() 800 in->ops.dsi->bus_lock(in); in dsicm_disable() 871 in->ops.dsi->bus_lock(in); in dsicm_update() 917 in->ops.dsi->bus_lock(in); in dsicm_sync() 956 in->ops.dsi->bus_lock(in); in dsicm_enable_te() [all …]
|
/drivers/gpu/drm/omapdrm/displays/ |
D | panel-dsi-cm.c | 379 src->ops->dsi.bus_lock(src); in dsicm_bl_update_status() 418 src->ops->dsi.bus_lock(src); in dsicm_num_errors_show() 449 src->ops->dsi.bus_lock(src); in dsicm_hw_revision_show() 484 src->ops->dsi.bus_lock(src); in dsicm_store_ulps() 534 src->ops->dsi.bus_lock(src); in dsicm_store_ulps_timeout() 785 src->ops->dsi.bus_lock(src); in dsicm_enable() 816 src->ops->dsi.bus_lock(src); in dsicm_disable() 883 src->ops->dsi.bus_lock(src); in dsicm_update() 928 src->ops->dsi.bus_lock(src); in dsicm_sync() 967 src->ops->dsi.bus_lock(src); in dsicm_enable_te() [all …]
|
/drivers/i2c/busses/ |
D | i2c-cht-wc.c | 205 rt_mutex_lock_nested(&adapter->bus_lock, 1); in cht_wc_i2c_adap_lock_bus() 211 return rt_mutex_trylock(&adapter->bus_lock); in cht_wc_i2c_adap_trylock_bus() 217 rt_mutex_unlock(&adapter->bus_lock); in cht_wc_i2c_adap_unlock_bus()
|
/drivers/mfd/ |
D | rave-sp.c | 192 struct mutex bus_lock; member 363 mutex_lock(&sp->bus_lock); in rave_sp_exec() 383 mutex_unlock(&sp->bus_lock); in rave_sp_exec() 793 mutex_init(&sp->bus_lock); in rave_sp_probe()
|
/drivers/pcmcia/ |
D | i82365.c | 215 static DEFINE_SPINLOCK(bus_lock); 220 spin_lock_irqsave(&bus_lock,flags); in i365_get() 226 spin_unlock_irqrestore(&bus_lock,flags); in i365_get() 234 spin_lock_irqsave(&bus_lock,flags); in i365_set() 239 spin_unlock_irqrestore(&bus_lock,flags); in i365_set()
|
/drivers/i2c/ |
D | i2c-core-base.c | 782 rt_mutex_lock_nested(&adapter->bus_lock, i2c_adapter_depth(adapter)); in i2c_adapter_lock_bus() 794 return rt_mutex_trylock(&adapter->bus_lock); in i2c_adapter_trylock_bus() 806 rt_mutex_unlock(&adapter->bus_lock); in i2c_adapter_unlock_bus() 1421 rt_mutex_init(&adap->bus_lock); in i2c_register_adapter()
|
/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
D | pcie.c | 351 mutex_init(&bus->bus_lock); in qtnf_pcie_probe()
|
/drivers/gpu/drm/omapdrm/dss/ |
D | omapdss.h | 305 void (*bus_lock)(struct omap_dss_device *dssdev); member
|
D | dsi.c | 356 struct semaphore bus_lock; member 468 down(&dsi->bus_lock); in dsi_bus_lock() 475 up(&dsi->bus_lock); in dsi_bus_unlock() 480 return dsi->bus_lock.count == 0; in dsi_bus_is_locked() 4894 .bus_lock = dsi_bus_lock, 5295 sema_init(&dsi->bus_lock, 1); in dsi_probe()
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 324 struct semaphore bus_lock; member 468 down(&dsi->bus_lock); in dsi_bus_lock() 476 up(&dsi->bus_lock); in dsi_bus_unlock() 483 return dsi->bus_lock.count == 0; in dsi_bus_is_locked() 5012 .bus_lock = dsi_bus_lock, 5287 sema_init(&dsi->bus_lock, 1); in dsi_bind()
|