root/net/bluetooth/leds.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


DEFINITIONS

This source file includes following definitions.
  1. hci_leds_update_powered
  2. hci_leds_init
  3. bt_leds_init
  4. bt_leds_cleanup

   1 /* SPDX-License-Identifier: GPL-2.0-only */
   2 /*
   3  * Copyright 2015, Heiner Kallweit <hkallweit1@gmail.com>
   4  */
   5 
   6 #if IS_ENABLED(CONFIG_BT_LEDS)
   7 
   8 void hci_leds_update_powered(struct hci_dev *hdev, bool enabled);
   9 void hci_leds_init(struct hci_dev *hdev);
  10 
  11 void bt_leds_init(void);
  12 void bt_leds_cleanup(void);
  13 
  14 #else
  15 
  16 static inline void hci_leds_update_powered(struct hci_dev *hdev,
  17                                            bool enabled) {}
  18 static inline void hci_leds_init(struct hci_dev *hdev) {}
  19 
  20 static inline void bt_leds_init(void) {}
  21 static inline void bt_leds_cleanup(void) {}
  22 
  23 #endif

/* [<][>][^][v][top][bottom][index][help] */