xref: /kernel/linux/linux-5.10/net/bluetooth/leds.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/net/bluetooth/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright 2015, Heiner Kallweit <hkallweit1@gmail.com>
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#if IS_ENABLED(CONFIG_BT_LEDS)
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_civoid hci_leds_update_powered(struct hci_dev *hdev, bool enabled);
98c2ecf20Sopenharmony_civoid hci_leds_init(struct hci_dev *hdev);
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_civoid bt_leds_init(void);
128c2ecf20Sopenharmony_civoid bt_leds_cleanup(void);
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#else
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_cistatic inline void hci_leds_update_powered(struct hci_dev *hdev,
178c2ecf20Sopenharmony_ci					   bool enabled) {}
188c2ecf20Sopenharmony_cistatic inline void hci_leds_init(struct hci_dev *hdev) {}
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_cistatic inline void bt_leds_init(void) {}
218c2ecf20Sopenharmony_cistatic inline void bt_leds_cleanup(void) {}
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci#endif
24

Indexes created Thu Nov 07 10:32:03 CST 2024