Home
last modified time | relevance | path

Searched refs:proto_lock (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/bluetooth/
Dhci_ldisc.c118 percpu_down_read(&hu->proto_lock); in hci_uart_dequeue()
123 percpu_up_read(&hu->proto_lock); in hci_uart_dequeue()
139 if (!percpu_down_read_trylock(&hu->proto_lock)) in hci_uart_tx_wakeup()
155 percpu_up_read(&hu->proto_lock); in hci_uart_tx_wakeup()
248 percpu_down_read(&hu->proto_lock); in hci_uart_flush()
253 percpu_up_read(&hu->proto_lock); in hci_uart_flush()
287 percpu_down_read(&hu->proto_lock); in hci_uart_send_frame()
290 percpu_up_read(&hu->proto_lock); in hci_uart_send_frame()
295 percpu_up_read(&hu->proto_lock); in hci_uart_send_frame()
500 percpu_init_rwsem(&hu->proto_lock); in hci_uart_tty_open()
[all …]
Dhci_uart.h90 struct percpu_rw_semaphore proto_lock; /* Stop work for proto close */ member
Dhci_serdev.c313 percpu_init_rwsem(&hu->proto_lock); in hci_uart_register_device()