Lines Matching refs:state
6 specifying how long a state to be on, and the second for how long the state
8 in on state, followed by a delay_off value that specifies how long the LED
9 should stay in off state. The on and off cycle repeats until the trigger
11 features that require an on or off state to be held just once and then stay in
12 the original state forever.
15 set a timer to hold a state, however when user space application crashes or
17 state permanently.
32 class device, the LED state does not change.
35 trigger will be called, and LED state is changed to LED_OFF.
37 Driver suspend changes the LED state to LED_OFF and resume doesn't change
38 the state. Please note that there is no explicit interaction between the
39 suspend and resume actions and the currently enabled trigger. LED state
40 changes are suspended while the driver is in suspend state. Any timers
42 being able to actually change the LED state. Once driver is resumed, triggers
45 LED state changes are controlled using brightness which is a common led
52 registration, the LED state does not change, unless there is another trigger
53 active, in which case LED state changes to LED_OFF.
55 During trigger unregistration, LED state gets changed to LED_OFF.
57 Transient trigger activation routine doesn't change the LED state. It
60 up and removes the properties it created. It will restore the LED state to
61 non-transient state. When driver gets suspended, irrespective of the transient
62 state, the LED state changes to LED_OFF.
70 NOTE: Add a new property trigger state to control the state.
72 This trigger exports three properties, activate, state, and duration. When
79 - state allows user to specify a transient state to be held for the specified
87 activate state indicates a timer with a value of specified
89 deactivated state indicates that there is no active timer
97 state - transient state to be held. It has two values 0 or 1. 0 maps
98 to LED_OFF and 1 maps to LED_FULL. The specified state is
100 state gets changed to the non-transient state which is the
101 inverse of transient state.
102 If state = LED_FULL, when the timer runs out the state will
104 If state = LED_OFF, when the timer runs out the state will
106 Please note that current LED state is not checked prior to
107 changing the state to the specified state.
111 interfaces to control the LED state.
113 When timer expires activate goes back to deactivated state, duration is left
116 specified value as needed. When timer expires, state is restored to the
117 non-transient state which is the inverse of the transient state.
127 echo 1 > state - stores desired transient state LED_FULL to be
129 echo 0 > state - stores desired transient state LED_OFF to be
140 echo 1 > state