Lines Matching refs:lflags
561 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
2131 enum gpio_lookup_flags lflags, in gpiochip_request_own_desc() argument
2146 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc()
3837 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in fwnode_get_named_gpiod() local
3855 acpi_gpio_update_gpiod_lookup_flags(&lflags, &info); in fwnode_get_named_gpiod()
3865 ret = gpiod_configure_flags(desc, propname, lflags, dflags); in fwnode_get_named_gpiod()
3997 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
4001 if (lflags & GPIO_ACTIVE_LOW) in gpiod_configure_flags()
4004 if (lflags & GPIO_OPEN_DRAIN) in gpiod_configure_flags()
4018 if (lflags & GPIO_OPEN_SOURCE) in gpiod_configure_flags()
4021 if (((lflags & GPIO_PULL_UP) && (lflags & GPIO_PULL_DOWN)) || in gpiod_configure_flags()
4022 ((lflags & GPIO_PULL_UP) && (lflags & GPIO_PULL_DISABLE)) || in gpiod_configure_flags()
4023 ((lflags & GPIO_PULL_DOWN) && (lflags & GPIO_PULL_DISABLE))) { in gpiod_configure_flags()
4029 if (lflags & GPIO_PULL_UP) in gpiod_configure_flags()
4031 else if (lflags & GPIO_PULL_DOWN) in gpiod_configure_flags()
4033 else if (lflags & GPIO_PULL_DISABLE) in gpiod_configure_flags()
4036 ret = gpiod_set_transitory(desc, (lflags & GPIO_TRANSITORY)); in gpiod_configure_flags()
4178 unsigned long lflags, enum gpiod_flags dflags) in gpiod_hog() argument
4189 lflags, dflags); in gpiod_hog()