Home
last modified time | relevance | path

Searched refs:msg_lock (Results 1 – 10 of 10) sorted by relevance

/drivers/char/ipmi/
Dipmi_powernv.c31 spinlock_t msg_lock; member
74 spin_lock_irqsave(&smi->msg_lock, flags); in ipmi_powernv_send()
99 spin_unlock_irqrestore(&smi->msg_lock, flags); in ipmi_powernv_send()
105 spin_unlock_irqrestore(&smi->msg_lock, flags); in ipmi_powernv_send()
121 spin_lock_irqsave(&smi->msg_lock, flags); in ipmi_powernv_recv()
124 spin_unlock_irqrestore(&smi->msg_lock, flags); in ipmi_powernv_recv()
143 spin_unlock_irqrestore(&smi->msg_lock, flags); in ipmi_powernv_recv()
148 spin_unlock_irqrestore(&smi->msg_lock, flags); in ipmi_powernv_recv()
154 spin_unlock_irqrestore(&smi->msg_lock, flags); in ipmi_powernv_recv()
160 spin_unlock_irqrestore(&smi->msg_lock, flags); in ipmi_powernv_recv()
[all …]
/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dsmumgr.c139 mutex_lock(&hwmgr->msg_lock); in smum_send_msg_to_smc()
143 mutex_unlock(&hwmgr->msg_lock); in smum_send_msg_to_smc()
150 mutex_unlock(&hwmgr->msg_lock); in smum_send_msg_to_smc()
167 mutex_lock(&hwmgr->msg_lock); in smum_send_msg_to_smc_with_parameter()
172 mutex_unlock(&hwmgr->msg_lock); in smum_send_msg_to_smc_with_parameter()
179 mutex_unlock(&hwmgr->msg_lock); in smum_send_msg_to_smc_with_parameter()
/drivers/vdpa/vdpa_user/
Dvduse_dev.c74 spinlock_t msg_lock; member
199 spin_lock(&dev->msg_lock); in vduse_dev_msg_sync()
201 spin_unlock(&dev->msg_lock); in vduse_dev_msg_sync()
207 spin_unlock(&dev->msg_lock); in vduse_dev_msg_sync()
214 spin_lock(&dev->msg_lock); in vduse_dev_msg_sync()
223 spin_unlock(&dev->msg_lock); in vduse_dev_msg_sync()
309 spin_lock(&dev->msg_lock); in vduse_dev_read_iter()
319 spin_unlock(&dev->msg_lock); in vduse_dev_read_iter()
325 spin_lock(&dev->msg_lock); in vduse_dev_read_iter()
327 spin_unlock(&dev->msg_lock); in vduse_dev_read_iter()
[all …]
/drivers/media/cec/usb/pulse8/
Dpulse8-cec.c185 spinlock_t msg_lock; member
337 spin_lock_irqsave(&pulse8->msg_lock, flags); in pulse8_irq_work_handler()
339 spin_unlock_irqrestore(&pulse8->msg_lock, flags); in pulse8_irq_work_handler()
346 spin_lock_irqsave(&pulse8->msg_lock, flags); in pulse8_irq_work_handler()
352 spin_unlock_irqrestore(&pulse8->msg_lock, flags); in pulse8_irq_work_handler()
404 spin_lock_irqsave(&pulse8->msg_lock, irq_flags); in pulse8_interrupt()
412 spin_unlock_irqrestore(&pulse8->msg_lock, in pulse8_interrupt()
421 spin_unlock_irqrestore(&pulse8->msg_lock, irq_flags); in pulse8_interrupt()
864 spin_lock_init(&pulse8->msg_lock); in pulse8_connect()
/drivers/media/usb/dvb-usb-v2/
Dmxl111sf.h97 struct mutex msg_lock; member
Dmxl111sf.c66 mutex_lock(&state->msg_lock); in mxl111sf_ctrl_msg()
80 mutex_unlock(&state->msg_lock); in mxl111sf_ctrl_msg()
1079 mutex_init(&state->msg_lock); in mxl111sf_probe()
/drivers/soundwire/
Dstream.c795 mutex_lock(&bus->msg_lock); in do_bank_switch()
859 mutex_unlock(&bus->msg_lock); in do_bank_switch()
878 if (mutex_is_locked(&bus->msg_lock)) in do_bank_switch()
879 mutex_unlock(&bus->msg_lock); in do_bank_switch()
Dbus.c71 mutex_init(&bus->msg_lock); in sdw_bus_master_add()
291 mutex_lock(&bus->msg_lock); in sdw_transfer()
295 mutex_unlock(&bus->msg_lock); in sdw_transfer()
/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c53 mutex_init(&hwmgr->msg_lock); in amd_powerplay_create()
68 mutex_destroy(&hwmgr->msg_lock); in amd_powerplay_destroy()
/drivers/gpu/drm/amd/pm/inc/
Dhwmgr.h755 struct mutex msg_lock; member