Home
last modified time | relevance | path

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

12

/Linux-v6.6/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()
/Linux-v6.6/drivers/soundwire/
Dslave.c69 mutex_lock(&bus->bus_lock); in sdw_slave_add()
71 mutex_unlock(&bus->bus_lock); in sdw_slave_add()
81 mutex_lock(&bus->bus_lock); in sdw_slave_add()
83 mutex_unlock(&bus->bus_lock); in sdw_slave_add()
Dbus.c81 __mutex_init(&bus->bus_lock, "bus_lock", &bus->bus_lock_key); in sdw_bus_master_add()
171 mutex_lock(&bus->bus_lock); in sdw_delete_slave()
179 mutex_unlock(&bus->bus_lock); in sdw_delete_slave()
754 mutex_lock(&slave->bus->bus_lock); in sdw_assign_device_num()
756 mutex_unlock(&slave->bus->bus_lock); in sdw_assign_device_num()
920 mutex_lock(&bus->bus_lock); in sdw_modify_slave_status()
943 mutex_unlock(&bus->bus_lock); in sdw_modify_slave_status()
1849 mutex_lock(&bus->bus_lock); in sdw_handle_slave_status()
1851 mutex_unlock(&bus->bus_lock); in sdw_handle_slave_status()
1854 mutex_unlock(&bus->bus_lock); in sdw_handle_slave_status()
[all …]
Dstream.c1326 mutex_lock(&bus->bus_lock); in sdw_acquire_bus_lock()
1347 mutex_unlock(&bus->bus_lock); in sdw_release_bus_lock()
1872 mutex_lock(&bus->bus_lock); in sdw_stream_add_master()
1930 mutex_unlock(&bus->bus_lock); in sdw_stream_add_master()
1948 mutex_lock(&bus->bus_lock); in sdw_stream_remove_master()
1963 mutex_unlock(&bus->bus_lock); in sdw_stream_remove_master()
1995 mutex_lock(&slave->bus->bus_lock); in sdw_stream_add_slave()
2073 mutex_unlock(&slave->bus->bus_lock); in sdw_stream_add_slave()
2089 mutex_lock(&slave->bus->bus_lock); in sdw_stream_remove_slave()
2094 mutex_unlock(&slave->bus->bus_lock); in sdw_stream_remove_slave()
Dcadence_master.c451 mutex_lock(&bus->bus_lock); in cdns_parity_error_injection()
482 mutex_unlock(&bus->bus_lock); in cdns_parity_error_injection()
Dqcom.c580 mutex_lock(&bus->bus_lock); in qcom_swrm_set_slave_dev_num()
582 mutex_unlock(&bus->bus_lock); in qcom_swrm_set_slave_dev_num()
/Linux-v6.6/drivers/i2c/busses/
Di2c-designware-amdpsp.c247 rt_mutex_lock_nested(&adapter->bus_lock, i2c_adapter_depth(adapter)); in i2c_adapter_dw_psp_lock_bus()
255 ret = rt_mutex_trylock(&adapter->bus_lock); in i2c_adapter_dw_psp_trylock_bus()
268 rt_mutex_unlock(&adapter->bus_lock); in i2c_adapter_dw_psp_unlock_bus()
Di2c-cht-wc.c199 rt_mutex_lock_nested(&adapter->bus_lock, 1); in cht_wc_i2c_adap_lock_bus()
205 return rt_mutex_trylock(&adapter->bus_lock); in cht_wc_i2c_adap_trylock_bus()
211 rt_mutex_unlock(&adapter->bus_lock); in cht_wc_i2c_adap_unlock_bus()
/Linux-v6.6/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-dsi-cm.c341 in->ops.dsi->bus_lock(in); in dsicm_bl_update_status()
389 in->ops.dsi->bus_lock(in); in dsicm_num_errors_show()
420 in->ops.dsi->bus_lock(in); in dsicm_hw_revision_show()
455 in->ops.dsi->bus_lock(in); in dsicm_store_ulps()
505 in->ops.dsi->bus_lock(in); in dsicm_store_ulps_timeout()
765 in->ops.dsi->bus_lock(in); in dsicm_enable()
797 in->ops.dsi->bus_lock(in); in dsicm_disable()
868 in->ops.dsi->bus_lock(in); in dsicm_update()
914 in->ops.dsi->bus_lock(in); in dsicm_sync()
953 in->ops.dsi->bus_lock(in); in dsicm_enable_te()
[all …]
/Linux-v6.6/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()
/Linux-v6.6/drivers/peci/
Dcore.c23 mutex_destroy(&controller->bus_lock); in peci_controller_dev_release()
72 mutex_init(&controller->bus_lock); in peci_controller_alloc()
Ddevice.c126 mutex_lock(&controller->bus_lock); in peci_detect()
128 mutex_unlock(&controller->bus_lock); in peci_detect()
Drequest.c139 mutex_lock(&controller->bus_lock); in peci_request_xfer()
141 mutex_unlock(&controller->bus_lock); in peci_request_xfer()
/Linux-v6.6/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()
/Linux-v6.6/include/linux/
Dpeci.h46 struct mutex bus_lock; /* held for the duration of xfer */ member
Di2c.h727 struct rt_mutex bus_lock; member
/Linux-v6.6/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()
/Linux-v6.6/include/sound/
Dac97_codec.h210 spinlock_t bus_lock; /* used mainly for slot allocation */ member
/Linux-v6.6/drivers/gpu/drm/omapdrm/dss/
Ddsi.h378 struct semaphore bus_lock; member
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()
4913 sema_init(&dsi->bus_lock, 1); in dsi_probe()
/Linux-v6.6/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dpcie.c351 mutex_init(&bus->bus_lock); in qtnf_pcie_probe()
/Linux-v6.6/drivers/i2c/
Di2c-core-base.c842 rt_mutex_lock_nested(&adapter->bus_lock, i2c_adapter_depth(adapter)); in i2c_adapter_lock_bus()
854 return rt_mutex_trylock(&adapter->bus_lock); in i2c_adapter_trylock_bus()
866 rt_mutex_unlock(&adapter->bus_lock); in i2c_adapter_unlock_bus()
1494 rt_mutex_init(&adap->bus_lock); in i2c_register_adapter()
/Linux-v6.6/include/linux/soundwire/
Dsdw.h925 struct mutex bus_lock; member
/Linux-v6.6/include/video/
Domapfb_dss.h564 void (*bus_lock)(struct omap_dss_device *dssdev); member
/Linux-v6.6/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()
5010 .bus_lock = dsi_bus_lock,
5285 sema_init(&dsi->bus_lock, 1); in dsi_bind()

12