Searched refs:btdev (Results 1 – 1 of 1) sorted by relevance
164 struct nokia_bt_dev *btdev = data; in wakeup_handler() local165 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() local184 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 …]