Lines Matching refs:value
36 /* Simple tri-state data structure. In the default "don't care" state, the value
37 * may be set to true or false. However, once the value is set, it must not be
50 * Try to set a tristate value to a desired boolean value. Returns whether the
54 pan_tristate_set(struct pan_tristate *state, bool value)
58 state->v = value ? PAN_TRISTATE_TRUE : PAN_TRISTATE_FALSE;
62 return (value == false);
65 return (value == true);
68 unreachable("Invalid tristate value");
73 * Read the boolean value of a tristate. Return value undefined in the don't