Lines Matching refs:lflags
538 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
2229 enum gpio_lookup_flags lflags, in gpiochip_request_own_desc() argument
2244 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc()
3910 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
3914 if (lflags & GPIO_ACTIVE_LOW) in gpiod_configure_flags()
3917 if (lflags & GPIO_OPEN_DRAIN) in gpiod_configure_flags()
3931 if (lflags & GPIO_OPEN_SOURCE) in gpiod_configure_flags()
3934 if ((lflags & GPIO_PULL_UP) && (lflags & GPIO_PULL_DOWN)) { in gpiod_configure_flags()
3940 if (lflags & GPIO_PULL_UP) in gpiod_configure_flags()
3942 else if (lflags & GPIO_PULL_DOWN) in gpiod_configure_flags()
3945 ret = gpiod_set_transitory(desc, (lflags & GPIO_TRANSITORY)); in gpiod_configure_flags()
4080 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in fwnode_get_named_gpiod() local
4101 acpi_gpio_update_gpiod_lookup_flags(&lflags, &info); in fwnode_get_named_gpiod()
4109 ret = gpiod_configure_flags(desc, propname, lflags, dflags); in fwnode_get_named_gpiod()
4160 unsigned long lflags, enum gpiod_flags dflags) in gpiod_hog() argument
4171 lflags, dflags); in gpiod_hog()