Lines Matching refs:lflags
652 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
2312 enum gpio_lookup_flags lflags, in gpiochip_request_own_desc() argument
2327 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc()
4191 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
4195 if (lflags & GPIO_ACTIVE_LOW) in gpiod_configure_flags()
4198 if (lflags & GPIO_OPEN_DRAIN) in gpiod_configure_flags()
4212 if (lflags & GPIO_OPEN_SOURCE) in gpiod_configure_flags()
4215 if (((lflags & GPIO_PULL_UP) && (lflags & GPIO_PULL_DOWN)) || in gpiod_configure_flags()
4216 ((lflags & GPIO_PULL_UP) && (lflags & GPIO_PULL_DISABLE)) || in gpiod_configure_flags()
4217 ((lflags & GPIO_PULL_DOWN) && (lflags & GPIO_PULL_DISABLE))) { in gpiod_configure_flags()
4223 if (lflags & GPIO_PULL_UP) in gpiod_configure_flags()
4225 else if (lflags & GPIO_PULL_DOWN) in gpiod_configure_flags()
4227 else if (lflags & GPIO_PULL_DISABLE) in gpiod_configure_flags()
4230 ret = gpiod_set_transitory(desc, (lflags & GPIO_TRANSITORY)); in gpiod_configure_flags()
4313 unsigned long lflags, enum gpiod_flags dflags) in gpiod_hog() argument
4324 lflags, dflags); in gpiod_hog()