Home
last modified time | relevance | path

Searched refs:channels_lock (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/rpmsg/
H A Dmtk_rpmsg.c24 struct mutex channels_lock; member
232 mutex_lock(&subdev->channels_lock); in mtk_register_device_work_function()
237 mutex_unlock(&subdev->channels_lock); in mtk_register_device_work_function()
239 mutex_lock(&subdev->channels_lock); in mtk_register_device_work_function()
247 mutex_unlock(&subdev->channels_lock); in mtk_register_device_work_function()
262 mutex_lock(&mtk_subdev->channels_lock); in mtk_rpmsg_create_device()
264 mutex_unlock(&mtk_subdev->channels_lock); in mtk_rpmsg_create_device()
356 mutex_lock(&mtk_subdev->channels_lock); in mtk_rpmsg_stop()
374 mutex_unlock(&mtk_subdev->channels_lock); in mtk_rpmsg_stop()
395 mutex_init(&mtk_subdev->channels_lock); in mtk_rpmsg_create_rproc_subdev()
H A Dqcom_smd.c135 spinlock_t channels_lock; member
653 spin_lock(&edge->channels_lock); in qcom_smd_edge_intr()
659 spin_unlock(&edge->channels_lock); in qcom_smd_edge_intr()
882 spin_lock_irqsave(&edge->channels_lock, flags); in qcom_smd_find_channel()
889 spin_unlock_irqrestore(&edge->channels_lock, flags); in qcom_smd_find_channel()
1250 spin_lock_irqsave(&edge->channels_lock, flags); in qcom_channel_scan_worker()
1286 spin_lock_irqsave(&edge->channels_lock, flags); in qcom_channel_state_worker()
1306 spin_lock_irqsave(&edge->channels_lock, flags); in qcom_channel_state_worker()
1331 spin_lock_irqsave(&edge->channels_lock, flags); in qcom_channel_state_worker()
1333 spin_unlock_irqrestore(&edge->channels_lock, flags); in qcom_channel_state_worker()
[all …]