Searched refs:oneshot_data (Results 1 – 1 of 1) sorted by relevance
29 struct oneshot_trig_data *oneshot_data = led_trigger_get_drvdata(dev); in led_shot() local33 oneshot_data->invert); in led_shot()41 struct oneshot_trig_data *oneshot_data = led_trigger_get_drvdata(dev); in led_invert_show() local43 return sprintf(buf, "%u\n", oneshot_data->invert); in led_invert_show()58 oneshot_data->invert = !!state; in led_invert_store()60 if (oneshot_data->invert) in led_invert_store()160 struct oneshot_trig_data *oneshot_data; in oneshot_trig_activate() local162 oneshot_data = kzalloc(sizeof(*oneshot_data), GFP_KERNEL); in oneshot_trig_activate()163 if (!oneshot_data) in oneshot_trig_activate()166 led_set_trigger_data(led_cdev, oneshot_data); in oneshot_trig_activate()[all …]