Searched refs:trigger_data (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/leds/trigger/ |
D | ledtrig-netdev.c | 65 static void set_baseline_state(struct led_netdev_data *trigger_data) in set_baseline_state() argument 68 struct led_classdev *led_cdev = trigger_data->led_cdev; in set_baseline_state() 76 if (!test_bit(NETDEV_LED_MODE_LINKUP, &trigger_data->mode)) in set_baseline_state() 79 if (test_bit(NETDEV_LED_LINK, &trigger_data->mode)) in set_baseline_state() 88 if (test_bit(NETDEV_LED_TX, &trigger_data->mode) || in set_baseline_state() 89 test_bit(NETDEV_LED_RX, &trigger_data->mode)) in set_baseline_state() 90 schedule_delayed_work(&trigger_data->work, 0); in set_baseline_state() 97 struct led_netdev_data *trigger_data = led_trigger_get_drvdata(dev); in device_name_show() local 100 spin_lock_bh(&trigger_data->lock); in device_name_show() 101 len = sprintf(buf, "%s\n", trigger_data->device_name); in device_name_show() [all …]
|
D | ledtrig-pattern.c | 122 struct pattern_trig_data *data = led_cdev->trigger_data; in pattern_trig_start_pattern() 149 struct pattern_trig_data *data = led_cdev->trigger_data; in repeat_show() 165 struct pattern_trig_data *data = led_cdev->trigger_data; in repeat_store() 265 struct pattern_trig_data *data = led_cdev->trigger_data; in pattern_trig_store_patterns() 298 struct pattern_trig_data *data = led_cdev->trigger_data; in pattern_show() 317 struct pattern_trig_data *data = led_cdev->trigger_data; in hw_pattern_show() 425 struct pattern_trig_data *data = led_cdev->trigger_data; in pattern_trig_deactivate()
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | trace_events_trigger.c | 632 struct event_trigger_data *trigger_data; in event_trigger_callback() local 651 trigger_data = kzalloc(sizeof(*trigger_data), GFP_KERNEL); in event_trigger_callback() 652 if (!trigger_data) in event_trigger_callback() 655 trigger_data->count = -1; in event_trigger_callback() 656 trigger_data->ops = trigger_ops; in event_trigger_callback() 657 trigger_data->cmd_ops = cmd_ops; in event_trigger_callback() 658 trigger_data->private_data = file; in event_trigger_callback() 659 INIT_LIST_HEAD(&trigger_data->list); in event_trigger_callback() 660 INIT_LIST_HEAD(&trigger_data->named_list); in event_trigger_callback() 663 cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file); in event_trigger_callback() [all …]
|
D | trace_events_hist.c | 5674 struct event_trigger_data *trigger_data; in event_hist_trigger_func() local 5744 trigger_data = kzalloc(sizeof(*trigger_data), GFP_KERNEL); in event_hist_trigger_func() 5745 if (!trigger_data) { in event_hist_trigger_func() 5750 trigger_data->count = -1; in event_hist_trigger_func() 5751 trigger_data->ops = trigger_ops; in event_hist_trigger_func() 5752 trigger_data->cmd_ops = cmd_ops; in event_hist_trigger_func() 5754 INIT_LIST_HEAD(&trigger_data->list); in event_hist_trigger_func() 5755 RCU_INIT_POINTER(trigger_data->filter, NULL); in event_hist_trigger_func() 5757 trigger_data->private_data = hist_data; in event_hist_trigger_func() 5761 ret = cmd_ops->set_filter(param, trigger_data, file); in event_hist_trigger_func() [all …]
|
D | trace.h | 1762 struct event_trigger_data *trigger_data,
|
/kernel/linux/linux-5.10/include/linux/ |
D | leds.h | 145 void *trigger_data; member 398 void *trigger_data) in led_set_trigger_data() argument 400 led_cdev->trigger_data = trigger_data; in led_set_trigger_data() 405 return led_cdev->trigger_data; in led_get_trigger_data()
|
/kernel/linux/linux-5.10/drivers/leds/ |
D | led-triggers.c | 184 led_cdev->trigger_data = NULL; in led_trigger_set() 230 led_cdev->trigger_data = NULL; in led_trigger_set()
|