#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>
#include "leds.h"
DEFINE_LED_TRIGGER(bt_power_led_trigger);
struct hci_basic_led_trigger { … };
#define to_hci_basic_led_trigger(arg) …
void hci_leds_update_powered(struct hci_dev *hdev, bool enabled)
{ … }
static int power_activate(struct led_classdev *led_cdev)
{ … }
static struct led_trigger *led_allocate_basic(struct hci_dev *hdev,
int (*activate)(struct led_classdev *led_cdev),
const char *name)
{ … }
void hci_leds_init(struct hci_dev *hdev)
{ … }
void bt_leds_init(void)
{ … }
void bt_leds_cleanup(void)
{ … }