Home
last modified time | relevance | path

Searched refs:proto_lock (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/bluetooth/
H A Dhci_ldisc.c103 percpu_down_read(&hu->proto_lock); in hci_uart_dequeue()
108 percpu_up_read(&hu->proto_lock); in hci_uart_dequeue()
124 if (!percpu_down_read_trylock(&hu->proto_lock)) in hci_uart_tx_wakeup()
139 percpu_up_read(&hu->proto_lock); in hci_uart_tx_wakeup()
240 percpu_down_read(&hu->proto_lock); in hci_uart_flush()
245 percpu_up_read(&hu->proto_lock); in hci_uart_flush()
279 percpu_down_read(&hu->proto_lock); in hci_uart_send_frame()
282 percpu_up_read(&hu->proto_lock); in hci_uart_send_frame()
287 percpu_up_read(&hu->proto_lock); in hci_uart_send_frame()
493 if (percpu_init_rwsem(&hu->proto_lock)) { in hci_uart_tty_open()
[all...]
H A Dhci_serdev.c304 if (percpu_init_rwsem(&hu->proto_lock)) in hci_uart_register_device()
380 percpu_free_rwsem(&hu->proto_lock); in hci_uart_register_device()
402 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
/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dhci_ldisc.c103 percpu_down_read(&hu->proto_lock); in hci_uart_dequeue()
108 percpu_up_read(&hu->proto_lock); in hci_uart_dequeue()
124 if (!percpu_down_read_trylock(&hu->proto_lock)) in hci_uart_tx_wakeup()
139 percpu_up_read(&hu->proto_lock); in hci_uart_tx_wakeup()
240 percpu_down_read(&hu->proto_lock); in hci_uart_flush()
245 percpu_up_read(&hu->proto_lock); in hci_uart_flush()
279 percpu_down_read(&hu->proto_lock); in hci_uart_send_frame()
282 percpu_up_read(&hu->proto_lock); in hci_uart_send_frame()
287 percpu_up_read(&hu->proto_lock); in hci_uart_send_frame()
496 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()
395 percpu_free_rwsem(&hu->proto_lock); in hci_uart_register_device_priv()
417 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

Completed in 4 milliseconds