Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/function/
H A Du_serial.c106 spinlock_t port_lock; /* guard port_* access */ member
279 spin_unlock(&port->port_lock); in gs_start_tx()
281 spin_lock(&port->port_lock); in gs_start_tx()
335 spin_unlock(&port->port_lock); in gs_start_rx()
337 spin_lock(&port->port_lock); in gs_start_rx()
374 spin_lock_irq(&port->port_lock); in gs_rx_push()
455 spin_unlock_irq(&port->port_lock); in gs_rx_push()
463 spin_lock(&port->port_lock); in gs_read_complete()
466 spin_unlock(&port->port_lock); in gs_read_complete()
473 spin_lock(&port->port_lock); in gs_write_complete()
[all …]
/linux/drivers/usb/host/
H A Dxhci-dbgtty.c51 __releases(&port->port_lock) in dbc_do_start_tx()
52 __acquires(&port->port_lock) in dbc_do_start_tx()
72 spin_unlock(&port->port_lock); in dbc_do_start_tx()
74 spin_lock(&port->port_lock); in dbc_do_start_tx()
93 lockdep_assert_held(&port->port_lock); in dbc_start_tx()
102 __releases(&port->port_lock) in dbc_start_rx()
103 __acquires(&port->port_lock) in dbc_start_rx()
117 spin_unlock(&port->port_lock); in dbc_start_rx()
119 spin_lock(&port->port_lock); in dbc_start_rx()
173 spin_lock_irqsave(&port->port_lock, flags); in dbc_read_complete()
[all …]
/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.c186 static DEFINE_SPINLOCK(port_lock);
196 spin_lock_irqsave(&port_lock, flags); in indirect_read()
201 spin_unlock_irqrestore(&port_lock, flags); in indirect_read()
210 spin_lock_irqsave(&port_lock, flags); in indirect_write()
215 spin_unlock_irqrestore(&port_lock, flags); in indirect_write()
224 spin_lock_irqsave(&port_lock, flags); in indirect_setbit()
232 spin_unlock_irqrestore(&port_lock, flags); in indirect_setbit()
243 spin_lock_irqsave(&port_lock, flags); in indirect_resetbit()
251 spin_unlock_irqrestore(&port_lock, flags); in indirect_resetbit()
261 spin_lock_irqsave(&port_lock, flags); in indirect_write16()
[all …]
/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()
/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
/linux/drivers/soundwire/
H A Dqcom.c202 struct mutex port_lock; member
1209 mutex_lock(&ctrl->port_lock); in qcom_swrm_stream_free_ports()
1217 mutex_unlock(&ctrl->port_lock); in qcom_swrm_stream_free_ports()
1249 guard(mutex)(&ctrl->port_lock); in qcom_swrm_stream_alloc_ports()
1595 mutex_init(&ctrl->port_lock);