Lines Matching defs:lflags
140 static void linehandle_flags_to_desc_flags(u32 lflags, unsigned long *flagsp)
143 lflags & GPIOHANDLE_REQUEST_ACTIVE_LOW);
145 lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN);
147 lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE);
149 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_UP);
151 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_DOWN);
153 lflags & GPIOHANDLE_REQUEST_BIAS_DISABLE);
162 u32 lflags;
167 lflags = gcnf.flags;
168 ret = linehandle_validate_flags(lflags);
180 if (lflags & GPIOHANDLE_REQUEST_OUTPUT) {
186 } else if (lflags & GPIOHANDLE_REQUEST_INPUT) {
300 u32 lflags;
307 lflags = handlereq.flags;
309 ret = linehandle_validate_flags(lflags);
355 if (lflags & GPIOHANDLE_REQUEST_OUTPUT) {
361 } else if (lflags & GPIOHANDLE_REQUEST_INPUT) {
2145 u32 lflags;
2156 lflags = eventreq.handleflags;
2164 if ((lflags & ~GPIOHANDLE_REQUEST_VALID_FLAGS) ||
2169 if ((lflags & GPIOHANDLE_REQUEST_OUTPUT) ||
2170 (lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN) ||
2171 (lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE))
2175 if (((lflags & GPIOHANDLE_REQUEST_BIAS_DISABLE) &&
2176 (lflags & (GPIOHANDLE_REQUEST_BIAS_PULL_DOWN |
2178 ((lflags & GPIOHANDLE_REQUEST_BIAS_PULL_DOWN) &&
2179 (lflags & GPIOHANDLE_REQUEST_BIAS_PULL_UP)))
2204 linehandle_flags_to_desc_flags(lflags, &desc->flags);