Searched refs:proto_lock (Results 1 – 3 of 3) sorted by relevance
118 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 …]
90 struct percpu_rw_semaphore proto_lock; /* Stop work for proto close */ member
313 percpu_init_rwsem(&hu->proto_lock); in hci_uart_register_device()