Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/bluetooth/
Dhci_nokia.c164 struct nokia_bt_dev *btdev = data; in wakeup_handler() local
165 struct device *dev = &btdev->serdev->dev; in wakeup_handler()
166 int wake_state = gpiod_get_value(btdev->wakeup_host); in wakeup_handler()
168 if (btdev->rx_enabled == wake_state) in wakeup_handler()
176 btdev->rx_enabled = wake_state; in wakeup_handler()
183 struct nokia_bt_dev *btdev = hu->priv; in nokia_reset() local
184 struct device *dev = &btdev->serdev->dev; in nokia_reset()
188 gpiod_set_value_cansleep(btdev->reset, 1); in nokia_reset()
189 gpiod_set_value_cansleep(btdev->wakeup_bt, 1); in nokia_reset()
194 err = gpiod_get_value_cansleep(btdev->wakeup_host); in nokia_reset()
[all …]