Lines Matching refs:of_flags
354 enum of_gpio_flags *of_flags) in of_find_spi_gpio() argument
374 desc = of_get_named_gpiod_flags(np, prop_name, 0, of_flags); in of_find_spi_gpio()
415 enum of_gpio_flags *of_flags) in of_find_regulator_gpio() argument
437 desc = of_get_named_gpiod_flags(np, con_id, 0, of_flags); in of_find_regulator_gpio()
443 enum of_gpio_flags *of_flags) in of_find_arizona_gpio() argument
451 return of_get_named_gpiod_flags(dev->of_node, con_id, 0, of_flags); in of_find_arizona_gpio()
458 enum of_gpio_flags of_flags; in of_find_gpio() local
472 &of_flags); in of_find_gpio()
480 desc = of_find_spi_gpio(dev, con_id, &of_flags); in of_find_gpio()
492 desc = of_find_regulator_gpio(dev, con_id, &of_flags); in of_find_gpio()
496 desc = of_find_arizona_gpio(dev, con_id, &of_flags); in of_find_gpio()
501 if (of_flags & OF_GPIO_ACTIVE_LOW) in of_find_gpio()
504 if (of_flags & OF_GPIO_SINGLE_ENDED) { in of_find_gpio()
505 if (of_flags & OF_GPIO_OPEN_DRAIN) in of_find_gpio()
511 if (of_flags & OF_GPIO_TRANSITORY) in of_find_gpio()
514 if (of_flags & OF_GPIO_PULL_UP) in of_find_gpio()
516 if (of_flags & OF_GPIO_PULL_DOWN) in of_find_gpio()