Lines Matching refs:lflags
311 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in gpiod_get_from_of_node() local
339 lflags |= GPIO_ACTIVE_LOW; in gpiod_get_from_of_node()
343 lflags |= GPIO_OPEN_DRAIN; in gpiod_get_from_of_node()
345 lflags |= GPIO_OPEN_SOURCE; in gpiod_get_from_of_node()
349 lflags |= GPIO_TRANSITORY; in gpiod_get_from_of_node()
352 lflags |= GPIO_PULL_UP; in gpiod_get_from_of_node()
355 lflags |= GPIO_PULL_DOWN; in gpiod_get_from_of_node()
357 ret = gpiod_configure_flags(desc, propname, lflags, dflags); in gpiod_get_from_of_node()
579 unsigned long *lflags, in of_parse_own_gpio() argument
595 *lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in of_parse_own_gpio()
617 *lflags |= GPIO_ACTIVE_LOW; in of_parse_own_gpio()
619 *lflags |= GPIO_TRANSITORY; in of_parse_own_gpio()
621 *lflags |= GPIO_PULL_UP; in of_parse_own_gpio()
623 *lflags |= GPIO_PULL_DOWN; in of_parse_own_gpio()
654 unsigned long lflags; in of_gpiochip_add_hog() local
660 desc = of_parse_own_gpio(hog, chip, i, &name, &lflags, &dflags); in of_gpiochip_add_hog()
664 ret = gpiod_hog(desc, name, lflags, dflags); in of_gpiochip_add_hog()