/linux/drivers/leds/trigger/ |
H A D | ledtrig-netdev.c | 229 trigger_data->carrier_link_up = netif_carrier_ok(trigger_data->net_dev); in get_device_state() 274 if (trigger_data->net_dev) { in set_device_name() 285 trigger_data->net_dev = in set_device_name() 291 if (trigger_data->net_dev) in set_device_name() 297 if (!trigger_data->hw_control || led_get_trigger_data(trigger_data->led_cdev)) in set_device_name() 404 trigger_data->mode = mode; in netdev_led_attr_store() 405 trigger_data->hw_control = can_hw_control(trigger_data); in netdev_led_attr_store() 693 if (!trigger_data) in netdev_trig_activate() 707 trigger_data->mode = 0; in netdev_trig_activate() 732 kfree(trigger_data); in netdev_trig_activate() [all …]
|
H A D | ledtrig-tty.c | 69 if (trigger_data->ttyname) in ttyname_show() 102 trigger_data->tty = NULL; in ttyname_store() 209 if (!trigger_data->tty) { in ledtrig_tty_work() 227 trigger_data->tty = tty; in ledtrig_tty_work() 257 if (trigger_data->mode_rx || trigger_data->mode_tx) { in ledtrig_tty_work() 264 if (trigger_data->mode_tx && (icount.tx != trigger_data->tx)) { in ledtrig_tty_work() 270 if (trigger_data->mode_rx && (icount.rx != trigger_data->rx)) { in ledtrig_tty_work() 315 trigger_data = kzalloc(sizeof(*trigger_data), GFP_KERNEL); in ledtrig_tty_activate() 316 if (!trigger_data) in ledtrig_tty_activate() 342 trigger_data->tty = NULL; in ledtrig_tty_deactivate() [all …]
|
H A D | ledtrig-pattern.c | 172 struct pattern_trig_data *data = led_cdev->trigger_data; in pattern_trig_start_pattern() 198 struct pattern_trig_data *data = led_cdev->trigger_data; in repeat_show() 214 struct pattern_trig_data *data = led_cdev->trigger_data; in repeat_store() 314 struct pattern_trig_data *data = led_cdev->trigger_data; in pattern_trig_store_patterns() 347 struct pattern_trig_data *data = led_cdev->trigger_data; in pattern_show() 367 struct pattern_trig_data *data = led_cdev->trigger_data; in hw_pattern_show() 388 struct pattern_trig_data *data = led_cdev->trigger_data; in hr_pattern_show() 504 struct pattern_trig_data *data = led_cdev->trigger_data; in pattern_trig_deactivate()
|
/linux/kernel/trace/ |
H A D | trace_events_trigger.c | 853 trigger_data = kzalloc(sizeof(*trigger_data), GFP_KERNEL); in event_trigger_alloc() 854 if (!trigger_data) in event_trigger_alloc() 857 trigger_data->count = -1; in event_trigger_alloc() 858 trigger_data->ops = trigger_ops; in event_trigger_alloc() 859 trigger_data->cmd_ops = cmd_ops; in event_trigger_alloc() 866 return trigger_data; in event_trigger_alloc() 1014 if (!trigger_data) in event_trigger_parse() 1019 kfree(trigger_data); in event_trigger_parse() 1046 kfree(trigger_data); in event_trigger_parse() 1818 if (!trigger_data) { in event_enable_trigger_parse() [all …]
|
H A D | trace.h | 1738 struct event_trigger_data *trigger_data, 1764 struct event_trigger_data *trigger_data); 1768 struct event_trigger_data *trigger_data); 1770 struct event_trigger_data *trigger_data); 1774 struct event_trigger_data *trigger_data); 1778 struct event_trigger_data *trigger_data);
|
H A D | trace_events_hist.c | 6545 struct event_trigger_data *trigger_data; in event_hist_trigger_parse() local 6625 if (!trigger_data) { in event_hist_trigger_parse() 6635 if (!have_hist_trigger_match(trigger_data, file)) in event_hist_trigger_parse() 6638 if (hist_trigger_check_refs(trigger_data, file)) { in event_hist_trigger_parse() 6643 event_trigger_unregister(cmd_ops, file, glob+1, trigger_data); in event_hist_trigger_parse() 6652 if (existing_hist_update_only(glob, trigger_data, file)) in event_hist_trigger_parse() 6659 if (get_named_trigger_data(trigger_data)) in event_hist_trigger_parse() 6676 ret = hist_trigger_enable(trigger_data, file); in event_hist_trigger_parse() 6690 event_trigger_unregister(cmd_ops, file, glob+1, trigger_data); in event_hist_trigger_parse() 6692 event_trigger_reset_filter(cmd_ops, trigger_data); in event_hist_trigger_parse() [all …]
|
/linux/drivers/media/pci/mgb4/ |
H A D | mgb4_trigger.c | 23 struct trigger_data { struct 32 struct trigger_data *st = iio_priv(indio_dev); in trigger_read_raw() argument 49 struct trigger_data *st = iio_priv(indio_dev); in trigger_set_state() 90 struct trigger_data *st = iio_priv(indio_dev); in trigger_handler() 110 struct trigger_data *st = iio_priv(indio_dev); in probe_trigger() 142 struct trigger_data *st = iio_priv(indio_dev); in remove_trigger() 152 struct trigger_data *data; in mgb4_trigger_create() 202 struct trigger_data *st = iio_priv(indio_dev); in mgb4_trigger_free()
|
/linux/include/linux/ |
H A D | leds.h | 185 void *trigger_data; member 538 void *trigger_data) in led_set_trigger_data() argument 540 led_cdev->trigger_data = trigger_data; in led_set_trigger_data() 545 return led_cdev->trigger_data; in led_get_trigger_data()
|
/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_app.c | 340 union mpi3mr_trigger_data *trigger_data, u8 trigger_flags) in mpi3mr_process_trigger() argument 370 memcpy(&event_data.trigger_specific_data, trigger_data, in mpi3mr_process_trigger() 371 sizeof(*trigger_data)); in mpi3mr_process_trigger() 431 trigger_specific_data.global = trigger_data; in mpi3mr_global_trigger() 722 u8 type, union mpi3mr_trigger_data *trigger_data, bool force) in mpi3mr_set_trigger_data_in_hdb() argument 727 if (!trigger_data) in mpi3mr_set_trigger_data_in_hdb() 728 memset(&hdb->trigger_data, 0, sizeof(*trigger_data)); in mpi3mr_set_trigger_data_in_hdb() 730 memcpy(&hdb->trigger_data, trigger_data, sizeof(*trigger_data)); in mpi3mr_set_trigger_data_in_hdb() 1174 memcpy(&hbd_status_entry->trigger_data, in mpi3mr_bsg_query_hdb() 1175 &diag_buffer->trigger_data, in mpi3mr_bsg_query_hdb() [all …]
|
H A D | mpi3mr_fw.c | 2460 union mpi3mr_trigger_data trigger_data; in mpi3mr_check_rh_fault_ioc() local 2472 memset(&trigger_data, 0, sizeof(trigger_data)); in mpi3mr_check_rh_fault_ioc() 2495 &trigger_data, 0); in mpi3mr_check_rh_fault_ioc() 2676 union mpi3mr_trigger_data trigger_data; in mpi3mr_watchdog_work() local 2707 memset(&trigger_data, 0, sizeof(trigger_data)); in mpi3mr_watchdog_work() 2737 switch (trigger_data.fault) { in mpi3mr_watchdog_work() 3832 sizeof(trace_hdb->trigger_data)); in mpi3mr_repost_diag_bufs() 3849 memcpy(&prev_trigger_data, &fw_hdb->trigger_data, in mpi3mr_repost_diag_bufs() 3850 sizeof(fw_hdb->trigger_data)); in mpi3mr_repost_diag_bufs() 5233 union mpi3mr_trigger_data trigger_data; in mpi3mr_soft_reset_handler() local [all …]
|
H A D | mpi3mr.h | 937 union mpi3mr_trigger_data trigger_data; member 1561 u8 type, union mpi3mr_trigger_data *trigger_data, bool force); 1568 u8 type, union mpi3mr_trigger_data *trigger_data, bool force); 1576 void mpi3mr_global_trigger(struct mpi3mr_ioc *mrioc, u64 trigger_data);
|
H A D | mpi3mr_os.c | 1491 union mpi3mr_trigger_data *trigger_data = in mpi3mr_process_trigger_data_event_bh() local 1497 trigger_data, 1); in mpi3mr_process_trigger_data_event_bh() 1500 trigger_data, 1); in mpi3mr_process_trigger_data_event_bh() 1510 trigger_data, 1); in mpi3mr_process_trigger_data_event_bh() 1520 trigger_data, 1); in mpi3mr_process_trigger_data_event_bh()
|
/linux/drivers/leds/ |
H A D | led-triggers.c | 186 led_cdev->trigger_data = NULL; in led_trigger_set() 247 led_cdev->trigger_data = NULL; in led_trigger_set()
|
/linux/include/uapi/scsi/ |
H A D | scsi_bsg_mpi3mr.h | 285 __u64 trigger_data; member
|