Lines Matching refs:lflags

135 static void linehandle_flags_to_desc_flags(u32 lflags, unsigned long *flagsp)  in linehandle_flags_to_desc_flags()  argument
138 lflags & GPIOHANDLE_REQUEST_ACTIVE_LOW); in linehandle_flags_to_desc_flags()
140 lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN); in linehandle_flags_to_desc_flags()
142 lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE); in linehandle_flags_to_desc_flags()
144 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_UP); in linehandle_flags_to_desc_flags()
146 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_DOWN); in linehandle_flags_to_desc_flags()
148 lflags & GPIOHANDLE_REQUEST_BIAS_DISABLE); in linehandle_flags_to_desc_flags()
157 u32 lflags; in linehandle_set_config() local
162 lflags = gcnf.flags; in linehandle_set_config()
163 ret = linehandle_validate_flags(lflags); in linehandle_set_config()
175 if (lflags & GPIOHANDLE_REQUEST_OUTPUT) { in linehandle_set_config()
181 } else if (lflags & GPIOHANDLE_REQUEST_INPUT) { in linehandle_set_config()
292 u32 lflags; in linehandle_create() local
299 lflags = handlereq.flags; in linehandle_create()
301 ret = linehandle_validate_flags(lflags); in linehandle_create()
348 if (lflags & GPIOHANDLE_REQUEST_OUTPUT) { in linehandle_create()
354 } else if (lflags & GPIOHANDLE_REQUEST_INPUT) { in linehandle_create()
1934 u32 lflags; in lineevent_create() local
1944 lflags = eventreq.handleflags; in lineevent_create()
1952 if ((lflags & ~GPIOHANDLE_REQUEST_VALID_FLAGS) || in lineevent_create()
1957 if ((lflags & GPIOHANDLE_REQUEST_OUTPUT) || in lineevent_create()
1958 (lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN) || in lineevent_create()
1959 (lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE)) in lineevent_create()
1963 if (((lflags & GPIOHANDLE_REQUEST_BIAS_DISABLE) && in lineevent_create()
1964 (lflags & (GPIOHANDLE_REQUEST_BIAS_PULL_DOWN | in lineevent_create()
1966 ((lflags & GPIOHANDLE_REQUEST_BIAS_PULL_DOWN) && in lineevent_create()
1967 (lflags & GPIOHANDLE_REQUEST_BIAS_PULL_UP))) in lineevent_create()
1993 linehandle_flags_to_desc_flags(lflags, &desc->flags); in lineevent_create()