Home
last modified time | relevance | path

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

/linux/drivers/soundwire/
A 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()
A 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()
819 mutex_lock(&bus->bus_lock); in sdw_modify_slave_status()
842 mutex_unlock(&bus->bus_lock); in sdw_modify_slave_status()
1740 mutex_lock(&bus->bus_lock); in sdw_handle_slave_status()
1745 mutex_unlock(&bus->bus_lock); in sdw_handle_slave_status()
1770 mutex_lock(&bus->bus_lock); in sdw_handle_slave_status()
1775 mutex_unlock(&bus->bus_lock); in sdw_handle_slave_status()
1849 mutex_lock(&bus->bus_lock); in sdw_clear_slave_status()
[all …]
A Dstream.c1093 mutex_lock(&bus->bus_lock); in sdw_stream_remove_master()
1108 mutex_unlock(&bus->bus_lock); in sdw_stream_remove_master()
1125 mutex_lock(&slave->bus->bus_lock); in sdw_stream_remove_slave()
1130 mutex_unlock(&slave->bus->bus_lock); in sdw_stream_remove_slave()
1289 mutex_lock(&bus->bus_lock); in sdw_stream_add_master()
1327 mutex_unlock(&bus->bus_lock); in sdw_stream_add_master()
1355 mutex_lock(&slave->bus->bus_lock); in sdw_stream_add_slave()
1413 mutex_unlock(&slave->bus->bus_lock); in sdw_stream_add_slave()
1468 mutex_lock(&bus->bus_lock); in sdw_acquire_bus_lock()
1489 mutex_unlock(&bus->bus_lock); in sdw_release_bus_lock()
A Dqcom.c441 mutex_lock(&bus->bus_lock); in qcom_swrm_set_slave_dev_num()
443 mutex_unlock(&bus->bus_lock); in qcom_swrm_set_slave_dev_num()
A Dcadence_master.c408 mutex_lock(&bus->bus_lock); in cdns_parity_error_injection()
435 mutex_unlock(&bus->bus_lock); in cdns_parity_error_injection()
/linux/drivers/net/wireless/quantenna/qtnfmac/
A 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()
/linux/drivers/video/fbdev/omap2/omapfb/displays/
A 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 …]
/linux/sound/pci/ac97/
A 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()
A Dac97_codec.c1978 spin_lock_init(&bus->bus_lock); in snd_ac97_bus()
/linux/drivers/i2c/busses/
A 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()
/linux/drivers/mfd/
A 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()
/linux/drivers/pcmcia/
A 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()
/linux/include/sound/
A Dac97_codec.h210 spinlock_t bus_lock; /* used mainly for slot allocation */ member
/linux/drivers/gpu/drm/omapdrm/dss/
A Ddsi.h378 struct semaphore bus_lock; member
A Ddsi.c117 down(&dsi->bus_lock); in dsi_bus_lock()
122 up(&dsi->bus_lock); in dsi_bus_unlock()
127 return dsi->bus_lock.count == 0; in dsi_bus_is_locked()
4908 sema_init(&dsi->bus_lock, 1); in dsi_probe()
/linux/drivers/i2c/
A Di2c-core-base.c826 rt_mutex_lock_nested(&adapter->bus_lock, i2c_adapter_depth(adapter)); in i2c_adapter_lock_bus()
838 return rt_mutex_trylock(&adapter->bus_lock); in i2c_adapter_trylock_bus()
850 rt_mutex_unlock(&adapter->bus_lock); in i2c_adapter_unlock_bus()
1455 rt_mutex_init(&adap->bus_lock); in i2c_register_adapter()
/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/
A Dpcie.c351 mutex_init(&bus->bus_lock); in qtnf_pcie_probe()
/linux/include/linux/soundwire/
A Dsdw.h904 struct mutex bus_lock; member
/linux/include/linux/
A Di2c.h732 struct rt_mutex bus_lock; member
/linux/include/video/
A Domapfb_dss.h564 void (*bus_lock)(struct omap_dss_device *dssdev); member
/linux/drivers/video/fbdev/omap2/omapfb/dss/
A 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()
5004 .bus_lock = dsi_bus_lock,
5279 sema_init(&dsi->bus_lock, 1); in dsi_bind()

Completed in 76 milliseconds