Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dbus.h67 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()
/kernel/linux/linux-5.10/drivers/soundwire/
Dslave.c68 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()
Dbus.c71 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 …]
Dstream.c1090 mutex_lock(&bus->bus_lock); in sdw_stream_remove_master()
1105 mutex_unlock(&bus->bus_lock); in sdw_stream_remove_master()
1122 mutex_lock(&slave->bus->bus_lock); in sdw_stream_remove_slave()
1127 mutex_unlock(&slave->bus->bus_lock); in sdw_stream_remove_slave()
1286 mutex_lock(&bus->bus_lock); in sdw_stream_add_master()
1324 mutex_unlock(&bus->bus_lock); in sdw_stream_add_master()
1352 mutex_lock(&slave->bus->bus_lock); in sdw_stream_add_slave()
1410 mutex_unlock(&slave->bus->bus_lock); in sdw_stream_add_slave()
1465 mutex_lock(&bus->bus_lock); in sdw_acquire_bus_lock()
1486 mutex_unlock(&bus->bus_lock); in sdw_release_bus_lock()
Dcadence_master.c408 mutex_lock(&bus->bus_lock); in cdns_parity_error_injection()
435 mutex_unlock(&bus->bus_lock); in cdns_parity_error_injection()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-dsi-cm.c347 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/displays/
Dpanel-dsi-cm.c379 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 …]
/kernel/linux/linux-5.10/sound/pci/ac97/
Dac97_pcm.c574 spin_lock_irq(&pcm->bus->bus_lock); in snd_ac97_pcm_open()
581 spin_unlock_irq(&pcm->bus->bus_lock); in snd_ac97_pcm_open()
591 spin_unlock_irq(&pcm->bus->bus_lock); in snd_ac97_pcm_open()
600 spin_unlock_irq(&pcm->bus->bus_lock); in snd_ac97_pcm_open()
668 spin_lock_irq(&pcm->bus->bus_lock); in snd_ac97_pcm_close()
677 spin_unlock_irq(&pcm->bus->bus_lock); in snd_ac97_pcm_close()
Dac97_codec.c1917 spin_lock_init(&bus->bus_lock); in snd_ac97_bus()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-cht-wc.c205 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()
/kernel/linux/linux-5.10/drivers/mfd/
Drave-sp.c192 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()
/kernel/linux/linux-5.10/drivers/pcmcia/
Di82365.c215 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()
/kernel/linux/linux-5.10/include/sound/
Dac97_codec.h210 spinlock_t bus_lock; /* used mainly for slot allocation */ member
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-core-base.c782 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()
/kernel/linux/linux-5.10/include/linux/soundwire/
Dsdw.h866 struct mutex bus_lock; member
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dpcie.c351 mutex_init(&bus->bus_lock); in qtnf_pcie_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Domapdss.h305 void (*bus_lock)(struct omap_dss_device *dssdev); member
Ddsi.c356 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()
/kernel/linux/linux-5.10/include/linux/
Di2c.h705 struct rt_mutex bus_lock; member
/kernel/linux/linux-5.10/include/video/
Domapfb_dss.h564 void (*bus_lock)(struct omap_dss_device *dssdev); member
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c324 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()