Home
last modified time | relevance | path

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

/linux-6.6.21/net/bluetooth/
Dleds.c45 struct hci_basic_led_trigger *htrig; in power_activate() local
48 htrig = to_hci_basic_led_trigger(led_cdev->trigger); in power_activate()
49 powered = test_bit(HCI_UP, &htrig->hdev->flags); in power_activate()
60 struct hci_basic_led_trigger *htrig; in led_allocate_basic() local
62 htrig = devm_kzalloc(&hdev->dev, sizeof(*htrig), GFP_KERNEL); in led_allocate_basic()
63 if (!htrig) in led_allocate_basic()
66 htrig->hdev = hdev; in led_allocate_basic()
67 htrig->led_trigger.activate = activate; in led_allocate_basic()
68 htrig->led_trigger.name = devm_kasprintf(&hdev->dev, GFP_KERNEL, in led_allocate_basic()
71 if (!htrig->led_trigger.name) in led_allocate_basic()
[all …]