Lines Matching refs:state
58 /* The led->state read is racy, but we don't care. In case we raced
60 * to fixup our state. */
62 turn_on = atomic_read(&led->state) != LED_OFF;
103 atomic_set(&led->state, brightness);
122 atomic_set(&led->state, 0);
256 /* Sync the RF-kill LED state (if we have one) with radio and switch states. */
262 atomic_set(&led->state, 1);
266 atomic_set(&led->state, 0);
275 atomic_set(&led->state, 0);
281 atomic_set(&led->state, 0);
287 atomic_set(&led->state, 0);