Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/
H 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()
/openbmc/linux/drivers/soundwire/
H A 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()
H A Dbus.c85 __mutex_init(&bus->bus_lock, "bus_lock", &bus->bus_lock_key); in sdw_bus_master_add()
175 mutex_lock(&bus->bus_lock); in sdw_delete_slave()
183 mutex_unlock(&bus->bus_lock); in sdw_delete_slave()
758 mutex_lock(&slave->bus->bus_lock); in sdw_assign_device_num()
760 mutex_unlock(&slave->bus->bus_lock); in sdw_assign_device_num()
924 mutex_lock(&bus->bus_lock); in sdw_modify_slave_status()
947 mutex_unlock(&bus->bus_lock); in sdw_modify_slave_status()
1853 mutex_lock(&bus->bus_lock); in sdw_handle_slave_status()
1855 mutex_unlock(&bus->bus_lock); in sdw_handle_slave_status()
1858 mutex_unlock(&bus->bus_lock); in sdw_handle_slave_status()
[all …]
H A Dstream.c1327 mutex_lock(&bus->bus_lock); in sdw_acquire_bus_lock()
1348 mutex_unlock(&bus->bus_lock); in sdw_release_bus_lock()
1873 mutex_lock(&bus->bus_lock); in sdw_stream_add_master()
1931 mutex_unlock(&bus->bus_lock); in sdw_stream_add_master()
1949 mutex_lock(&bus->bus_lock); in sdw_stream_remove_master()
1964 mutex_unlock(&bus->bus_lock); in sdw_stream_remove_master()
1996 mutex_lock(&slave->bus->bus_lock); in sdw_stream_add_slave()
2074 mutex_unlock(&slave->bus->bus_lock); in sdw_stream_add_slave()
2090 mutex_lock(&slave->bus->bus_lock); in sdw_stream_remove_slave()
2095 mutex_unlock(&slave->bus->bus_lock); in sdw_stream_remove_slave()
H A Dcadence_master.c451 mutex_lock(&bus->bus_lock); in cdns_parity_error_injection()
482 mutex_unlock(&bus->bus_lock); in cdns_parity_error_injection()
H A 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()
/openbmc/linux/drivers/i2c/busses/
H A 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()
H A 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()
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/displays/
H A 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 …]
/openbmc/linux/sound/pci/ac97/
H 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()
/openbmc/linux/drivers/peci/
H A Dcore.c23 mutex_destroy(&controller->bus_lock); in peci_controller_dev_release()
72 mutex_init(&controller->bus_lock); in peci_controller_alloc()
H A Ddevice.c126 mutex_lock(&controller->bus_lock); in peci_detect()
128 mutex_unlock(&controller->bus_lock); in peci_detect()
H A Drequest.c139 mutex_lock(&controller->bus_lock); in peci_request_xfer()
141 mutex_unlock(&controller->bus_lock); in peci_request_xfer()
/openbmc/linux/drivers/mfd/
H 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()
/openbmc/linux/include/linux/
H A Dpeci.h46 struct mutex bus_lock; /* held for the duration of xfer */ member
H A Di2c.h748 struct rt_mutex bus_lock; member
/openbmc/linux/drivers/pcmcia/
H 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()
/openbmc/linux/include/sound/
H A Dac97_codec.h210 spinlock_t bus_lock; /* used mainly for slot allocation */ member
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddsi.h378 struct semaphore bus_lock; member
H 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()
4913 sema_init(&dsi->bus_lock, 1); in dsi_probe()
/openbmc/linux/drivers/i2c/
H A Di2c-core-base.c845 rt_mutex_lock_nested(&adapter->bus_lock, i2c_adapter_depth(adapter)); in i2c_adapter_lock_bus()
857 return rt_mutex_trylock(&adapter->bus_lock); in i2c_adapter_trylock_bus()
869 rt_mutex_unlock(&adapter->bus_lock); in i2c_adapter_unlock_bus()
1569 rt_mutex_init(&adap->bus_lock); in i2c_register_adapter()
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/
H A Dpcie.c351 mutex_init(&bus->bus_lock); in qtnf_pcie_probe()
/openbmc/linux/include/linux/soundwire/
H A Dsdw.h927 struct mutex bus_lock; member
/openbmc/linux/include/video/
H A Domapfb_dss.h564 void (*bus_lock)(struct omap_dss_device *dssdev); member
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H 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()
5010 .bus_lock = dsi_bus_lock,
5285 sema_init(&dsi->bus_lock, 1); in dsi_bind()

12