Home
last modified time | relevance | path

Searched refs:tc_lock (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_tc.c418 mutex_lock(&dig_port->tc_lock); in intel_tc_port_sanitize()
443 mutex_unlock(&dig_port->tc_lock); in intel_tc_port_sanitize()
481 mutex_lock(&dig_port->tc_lock); in __intel_tc_port_lock()
501 mutex_unlock(&dig_port->tc_lock); in intel_tc_port_unlock()
509 return mutex_is_locked(&dig_port->tc_lock) || in intel_tc_port_ref_held()
523 mutex_lock(&dig_port->tc_lock); in intel_tc_port_put_link()
525 mutex_unlock(&dig_port->tc_lock); in intel_tc_port_put_link()
540 mutex_init(&dig_port->tc_lock); in intel_tc_port_init()
Dintel_display_types.h1266 struct mutex tc_lock; /* protects the TypeC port mode */ member
/Linux-v5.4/drivers/misc/mic/scif/
Dscif_dma.c137 spin_lock(&ep->rma_info.tc_lock); in scif_rma_destroy_tcw()
139 spin_unlock(&ep->rma_info.tc_lock); in scif_rma_destroy_tcw()
158 spin_lock(&ep->rma_info.tc_lock); in __scif_rma_destroy_tcw_ep()
163 spin_unlock(&ep->rma_info.tc_lock); in __scif_rma_destroy_tcw_ep()
1711 spin_lock(&ep->rma_info.tc_lock); in scif_rma_copy()
1714 spin_unlock(&ep->rma_info.tc_lock); in scif_rma_copy()
1730 spin_lock(&ep->rma_info.tc_lock); in scif_rma_copy()
1733 spin_unlock(&ep->rma_info.tc_lock); in scif_rma_copy()
Dscif_rma.h104 spinlock_t tc_lock; member
Dscif_rma.c34 spin_lock_init(&rma->tc_lock); in scif_rma_ep_init()