Home
last modified time | relevance | path

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

/linux/drivers/bluetooth/
H A Dhci_ldisc.c103 percpu_down_read(&hu->proto_lock); in hci_uart_dequeue()
109 percpu_up_read(&hu->proto_lock); in hci_uart_dequeue()
125 if (!percpu_down_read_trylock(&hu->proto_lock)) in hci_uart_tx_wakeup()
141 percpu_up_read(&hu->proto_lock); in hci_uart_tx_wakeup()
242 percpu_down_read(&hu->proto_lock); in hci_uart_flush()
247 percpu_up_read(&hu->proto_lock); in hci_uart_flush()
281 percpu_down_read(&hu->proto_lock); in hci_uart_send_frame()
285 percpu_up_read(&hu->proto_lock); in hci_uart_send_frame()
290 percpu_up_read(&hu->proto_lock); in hci_uart_send_frame()
499 if (percpu_init_rwsem(&hu->proto_lock)) { in hci_uart_tty_open()
[all …]
H A Dhci_serdev.c314 if (percpu_init_rwsem(&hu->proto_lock)) in hci_uart_register_device_priv()
390 percpu_free_rwsem(&hu->proto_lock); in hci_uart_register_device_priv()
412 percpu_free_rwsem(&hu->proto_lock); in hci_uart_unregister_device()
H A Dhci_uart.h75 struct percpu_rw_semaphore proto_lock; /* Stop work for proto close */ member