Searched refs:trigger_data (Results 1 – 8 of 8) sorted by relevance
120 if (trigger_data->net_dev) { in device_name_store()122 trigger_data->net_dev = NULL; in device_name_store()131 trigger_data->net_dev = in device_name_store()322 if (trigger_data->net_dev) in netdev_trig_notify()325 trigger_data->net_dev = dev; in netdev_trig_notify()357 if (!trigger_data->net_dev) { in netdev_trig_work()398 if (!trigger_data) in netdev_trig_activate()412 trigger_data->mode = 0; in netdev_trig_activate()420 kfree(trigger_data); in netdev_trig_activate()433 if (trigger_data->net_dev) in netdev_trig_deactivate()[all …]
30 mutex_lock(&trigger_data->mutex); in ttyname_show()32 if (trigger_data->ttyname) in ttyname_show()64 kfree(trigger_data->ttyname); in ttyname_store()66 trigger_data->tty = NULL; in ttyname_store()88 if (!trigger_data->ttyname) { in ledtrig_tty_work()95 if (!trigger_data->tty) { in ledtrig_tty_work()113 trigger_data->tty = tty; in ledtrig_tty_work()127 trigger_data->rx = icount.rx; in ledtrig_tty_work()148 trigger_data = kzalloc(sizeof(*trigger_data), GFP_KERNEL); in ledtrig_tty_activate()149 if (!trigger_data) in ledtrig_tty_activate()[all …]
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()
664 trigger_data = kzalloc(sizeof(*trigger_data), GFP_KERNEL); in event_trigger_callback()665 if (!trigger_data) in event_trigger_callback()668 trigger_data->count = -1; in event_trigger_callback()669 trigger_data->ops = trigger_ops; in event_trigger_callback()677 kfree(trigger_data); in event_trigger_callback()731 kfree(trigger_data); in event_trigger_callback()1436 trigger_data = kzalloc(sizeof(*trigger_data), GFP_KERNEL); in event_enable_trigger_func()1437 if (!trigger_data) in event_enable_trigger_func()1442 kfree(trigger_data); in event_enable_trigger_func()1446 trigger_data->count = -1; in event_enable_trigger_func()[all …]
6137 struct event_trigger_data *trigger_data; in event_hist_trigger_func() local6217 trigger_data = kzalloc(sizeof(*trigger_data), GFP_KERNEL); in event_hist_trigger_func()6218 if (!trigger_data) { in event_hist_trigger_func()6223 trigger_data->count = -1; in event_hist_trigger_func()6224 trigger_data->ops = trigger_ops; in event_hist_trigger_func()6225 trigger_data->cmd_ops = cmd_ops; in event_hist_trigger_func()6227 INIT_LIST_HEAD(&trigger_data->list); in event_hist_trigger_func()6228 RCU_INIT_POINTER(trigger_data->filter, NULL); in event_hist_trigger_func()6230 trigger_data->private_data = hist_data; in event_hist_trigger_func()6270 if (get_named_trigger_data(trigger_data)) in event_hist_trigger_func()[all …]
1593 struct event_trigger_data *trigger_data,
151 void *trigger_data; member402 void *trigger_data) in led_set_trigger_data() argument404 led_cdev->trigger_data = trigger_data; in led_set_trigger_data()409 return led_cdev->trigger_data; in led_get_trigger_data()
186 led_cdev->trigger_data = NULL; in led_trigger_set()233 led_cdev->trigger_data = NULL; in led_trigger_set()
Completed in 31 milliseconds