Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/pci/lx6464es/
Dlx_core.c321 mutex_lock(&chip->msg_lock); in lx_dsp_get_version()
327 mutex_unlock(&chip->msg_lock); in lx_dsp_get_version()
338 mutex_lock(&chip->msg_lock); in lx_dsp_get_clock_frequency()
356 mutex_unlock(&chip->msg_lock); in lx_dsp_get_clock_frequency()
386 mutex_lock(&chip->msg_lock); in lx_dsp_set_granularity()
392 mutex_unlock(&chip->msg_lock); in lx_dsp_set_granularity()
400 mutex_lock(&chip->msg_lock); in lx_dsp_read_async_events()
410 mutex_unlock(&chip->msg_lock); in lx_dsp_read_async_events()
426 mutex_lock(&chip->msg_lock); in lx_pipe_allocate()
433 mutex_unlock(&chip->msg_lock); in lx_pipe_allocate()
[all …]
Dlx6464es.h70 struct mutex msg_lock; /* message lock */ member
Dlx6464es.c977 mutex_init(&chip->msg_lock); in snd_lx6464es_create()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/pci/mixart/
Dmixart_core.c231 mutex_lock(&mgr->msg_lock); in snd_mixart_send_msg()
235 mutex_unlock(&mgr->msg_lock); in snd_mixart_send_msg()
241 mutex_unlock(&mgr->msg_lock); in snd_mixart_send_msg()
258 mutex_lock(&mgr->msg_lock); in snd_mixart_send_msg()
260 mutex_unlock(&mgr->msg_lock); in snd_mixart_send_msg()
285 mutex_lock(&mgr->msg_lock); in snd_mixart_send_msg_wait_notif()
289 mutex_unlock(&mgr->msg_lock); in snd_mixart_send_msg_wait_notif()
295 mutex_unlock(&mgr->msg_lock); in snd_mixart_send_msg_wait_notif()
316 mutex_lock(&mgr->msg_lock); in snd_mixart_send_msg_nonblock()
318 mutex_unlock(&mgr->msg_lock); in snd_mixart_send_msg_nonblock()
[all …]
Dmixart.h75 struct mutex msg_lock; /* mailbox lock */ member
Dmixart.c1301 mutex_init(&mgr->msg_lock); in snd_mixart_probe()
/kernel/linux/linux-5.10/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()
861 spin_lock_init(&pulse8->msg_lock); in pulse8_connect()
/kernel/linux/linux-5.10/sound/pci/pcxhr/
Dpcxhr.h70 struct mutex msg_lock; /* message lock */ member
Dpcxhr_core.c759 mutex_lock(&mgr->msg_lock); in pcxhr_send_msg()
761 mutex_unlock(&mgr->msg_lock); in pcxhr_send_msg()
965 mutex_lock(&mgr->msg_lock); in pcxhr_write_io_num_reg_cont()
972 mutex_unlock(&mgr->msg_lock); in pcxhr_write_io_num_reg_cont()
987 mutex_unlock(&mgr->msg_lock); in pcxhr_write_io_num_reg_cont()
Dpcxhr.c1567 mutex_init(&mgr->msg_lock); in pcxhr_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/soundwire/
Dstream.c774 mutex_lock(&bus->msg_lock); in do_bank_switch()
838 mutex_unlock(&bus->msg_lock); in do_bank_switch()
857 if (mutex_is_locked(&bus->msg_lock)) in do_bank_switch()
858 mutex_unlock(&bus->msg_lock); in do_bank_switch()
Dbus.c70 mutex_init(&bus->msg_lock); in sdw_bus_master_add()
288 mutex_lock(&bus->msg_lock); in sdw_transfer()
292 mutex_unlock(&bus->msg_lock); in sdw_transfer()
/kernel/linux/linux-5.10/include/linux/soundwire/
Dsdw.h867 struct mutex msg_lock; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
Dhwmgr.h753 struct mutex msg_lock; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0009_linux_sound.patch17357 + mutex_lock(&info->msg_lock);
17360 + mutex_unlock(&info->msg_lock);
17373 + mutex_unlock(&info->msg_lock);
17379 + mutex_unlock(&info->msg_lock);
17389 + mutex_unlock(&info->msg_lock);
17418 + mutex_unlock(&info->msg_lock);
18121 + mutex_init(&info->msg_lock);
18730 + * @msg_lock: lock for send message
18757 + struct mutex msg_lock; /* mutex for resource protection */