Searched refs:oneshot_data (Results 1 – 1 of 1) sorted by relevance
33 struct oneshot_trig_data *oneshot_data = led_cdev->trigger_data; in led_shot() local37 oneshot_data->invert); in led_shot()46 struct oneshot_trig_data *oneshot_data = led_cdev->trigger_data; in led_invert_show() local48 return sprintf(buf, "%u\n", oneshot_data->invert); in led_invert_show()55 struct oneshot_trig_data *oneshot_data = led_cdev->trigger_data; in led_invert_store() local63 oneshot_data->invert = !!state; in led_invert_store()65 if (oneshot_data->invert) in led_invert_store()127 struct oneshot_trig_data *oneshot_data; in oneshot_trig_activate() local130 oneshot_data = kzalloc(sizeof(*oneshot_data), GFP_KERNEL); in oneshot_trig_activate()131 if (!oneshot_data) in oneshot_trig_activate()[all …]