Lines Matching refs:lflags
440 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT;
443 lflags |= GPIO_ACTIVE_LOW;
447 lflags |= GPIO_OPEN_DRAIN;
449 lflags |= GPIO_OPEN_SOURCE;
453 lflags |= GPIO_TRANSITORY;
456 lflags |= GPIO_PULL_UP;
459 lflags |= GPIO_PULL_DOWN;
462 lflags |= GPIO_PULL_DISABLE;
464 return lflags;
711 * @lflags: bitmask of gpio_lookup_flags GPIO_* values - returned from
721 unsigned long *lflags,
737 *lflags = GPIO_LOOKUP_FLAGS_DEFAULT;
758 *lflags = of_convert_gpio_flags(xlate_flags);
789 unsigned long lflags;
795 desc = of_parse_own_gpio(hog, chip, i, &name, &lflags, &dflags);
799 ret = gpiod_hog(desc, name, lflags, dflags);