Home
last modified time | relevance | path

Searched refs:port_lock (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/usb/host/
H A Dxhci-dbgtty.c51 __releases(&port->port_lock) in dbc_start_tx()
52 __acquires(&port->port_lock) in dbc_start_tx()
70 spin_unlock(&port->port_lock); in dbc_start_tx()
72 spin_lock(&port->port_lock); in dbc_start_tx()
87 __releases(&port->port_lock) in dbc_start_rx()
88 __acquires(&port->port_lock) in dbc_start_rx()
102 spin_unlock(&port->port_lock); in dbc_start_rx()
104 spin_lock(&port->port_lock); in dbc_start_rx()
119 spin_lock_irqsave(&port->port_lock, flags); in dbc_read_complete()
122 spin_unlock_irqrestore(&port->port_lock, flags); in dbc_read_complete()
[all …]
H A Dxhci-dbgcap.h102 spinlock_t port_lock; /* port access */ member
/openbmc/linux/drivers/usb/gadget/function/
H A Du_serial.c104 spinlock_t port_lock; /* guard port_* access */ member
275 spin_unlock(&port->port_lock); in gs_start_tx()
277 spin_lock(&port->port_lock); in gs_start_tx()
331 spin_unlock(&port->port_lock); in gs_start_rx()
333 spin_lock(&port->port_lock); in gs_start_rx()
370 spin_lock_irq(&port->port_lock); in gs_rx_push()
450 spin_unlock_irq(&port->port_lock); in gs_rx_push()
458 spin_lock(&port->port_lock); in gs_read_complete()
461 spin_unlock(&port->port_lock); in gs_read_complete()
468 spin_lock(&port->port_lock); in gs_write_complete()
[all …]
/openbmc/qemu/hw/i386/kvm/
H A Dxen_evtchn.c147 QemuMutex port_lock; member
313 qemu_mutex_init(&s->port_lock); in xen_evtchn_create()
463 qemu_mutex_lock(&s->port_lock); in xen_evtchn_set_callback_param()
520 qemu_mutex_unlock(&s->port_lock); in xen_evtchn_set_callback_param()
643 qemu_mutex_lock(&s->port_lock); in xen_evtchn_status_op()
671 qemu_mutex_unlock(&s->port_lock); in xen_evtchn_status_op()
1109 qemu_mutex_lock(&s->port_lock); in xen_evtchn_soft_reset()
1115 qemu_mutex_unlock(&s->port_lock); in xen_evtchn_soft_reset()
1149 qemu_mutex_lock(&s->port_lock); in xen_evtchn_close_op()
1153 qemu_mutex_unlock(&s->port_lock); in xen_evtchn_close_op()
[all …]
/openbmc/linux/drivers/pcmcia/
H A Dpd6729.c57 static DEFINE_SPINLOCK(port_lock);
68 spin_lock_irqsave(&port_lock, flags); in indirect_read()
73 spin_unlock_irqrestore(&port_lock, flags); in indirect_read()
85 spin_lock_irqsave(&port_lock, flags); in indirect_read16()
93 spin_unlock_irqrestore(&port_lock, flags); in indirect_read16()
104 spin_lock_irqsave(&port_lock, flags); in indirect_write()
109 spin_unlock_irqrestore(&port_lock, flags); in indirect_write()
119 spin_lock_irqsave(&port_lock, flags); in indirect_setbit()
127 spin_unlock_irqrestore(&port_lock, flags); in indirect_setbit()
137 spin_lock_irqsave(&port_lock, flags); in indirect_resetbit()
[all …]
H A Di82092.c185 static DEFINE_SPINLOCK(port_lock);
195 spin_lock_irqsave(&port_lock, flags); in indirect_read()
200 spin_unlock_irqrestore(&port_lock, flags); in indirect_read()
209 spin_lock_irqsave(&port_lock, flags); in indirect_write()
214 spin_unlock_irqrestore(&port_lock, flags); in indirect_write()
223 spin_lock_irqsave(&port_lock, flags); in indirect_setbit()
231 spin_unlock_irqrestore(&port_lock, flags); in indirect_setbit()
242 spin_lock_irqsave(&port_lock, flags); in indirect_resetbit()
250 spin_unlock_irqrestore(&port_lock, flags); in indirect_resetbit()
260 spin_lock_irqsave(&port_lock, flags); in indirect_write16()
[all …]
/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_recv.c61 spin_lock_bh(&port->port_lock); in set_bad_pkey_cntr()
64 spin_unlock_bh(&port->port_lock); in set_bad_pkey_cntr()
69 spin_lock_bh(&port->port_lock); in set_qkey_viol_cntr()
72 spin_unlock_bh(&port->port_lock); in set_qkey_viol_cntr()
H A Drxe.c116 spin_lock_init(&port->port_lock); in rxe_init_ports()
H A Drxe_verbs.h366 spinlock_t port_lock; /* guard port */ member
/openbmc/linux/drivers/net/ethernet/ibm/ehea/
H A Dehea_main.c2410 mutex_lock(&port->port_lock); in ehea_open()
2422 mutex_unlock(&port->port_lock); in ehea_open()
2466 mutex_lock(&port->port_lock); in ehea_stop()
2470 mutex_unlock(&port->port_lock); in ehea_stop()
2691 mutex_lock(&port->port_lock); in ehea_reset_port()
2710 mutex_unlock(&port->port_lock); in ehea_reset_port()
2734 mutex_lock(&port->port_lock); in ehea_rereg_mrs()
2739 mutex_unlock(&port->port_lock); in ehea_rereg_mrs()
2743 mutex_unlock(&port->port_lock); in ehea_rereg_mrs()
2775 mutex_lock(&port->port_lock); in ehea_rereg_mrs()
[all …]
H A Dehea.h438 struct mutex port_lock; member
/openbmc/linux/drivers/soundwire/
H A Dqcom.c190 struct mutex port_lock; member
1121 mutex_lock(&ctrl->port_lock); in qcom_swrm_stream_free_ports()
1133 mutex_unlock(&ctrl->port_lock); in qcom_swrm_stream_free_ports()
1151 mutex_lock(&ctrl->port_lock); in qcom_swrm_stream_alloc_ports()
1202 mutex_unlock(&ctrl->port_lock); in qcom_swrm_stream_alloc_ports()
1561 mutex_init(&ctrl->port_lock);