Lines Matching refs:of_flags
373 enum of_gpio_flags *of_flags) in of_find_spi_gpio() argument
393 desc = of_get_named_gpiod_flags(np, prop_name, 0, of_flags); in of_find_spi_gpio()
435 enum of_gpio_flags *of_flags) in of_find_regulator_gpio() argument
457 desc = of_get_named_gpiod_flags(np, con_id, 0, of_flags); in of_find_regulator_gpio()
463 enum of_gpio_flags *of_flags) in of_find_arizona_gpio() argument
471 return of_get_named_gpiod_flags(dev->of_node, con_id, 0, of_flags); in of_find_arizona_gpio()
476 enum of_gpio_flags *of_flags) in of_find_usb_gpio() argument
489 return of_get_named_gpiod_flags(dev->of_node, con_id, 0, of_flags); in of_find_usb_gpio()
496 enum of_gpio_flags of_flags; in of_find_gpio() local
510 &of_flags); in of_find_gpio()
518 desc = of_find_spi_gpio(dev, con_id, &of_flags); in of_find_gpio()
530 desc = of_find_regulator_gpio(dev, con_id, &of_flags); in of_find_gpio()
534 desc = of_find_arizona_gpio(dev, con_id, &of_flags); in of_find_gpio()
537 desc = of_find_usb_gpio(dev, con_id, &of_flags); in of_find_gpio()
542 if (of_flags & OF_GPIO_ACTIVE_LOW) in of_find_gpio()
545 if (of_flags & OF_GPIO_SINGLE_ENDED) { in of_find_gpio()
546 if (of_flags & OF_GPIO_OPEN_DRAIN) in of_find_gpio()
552 if (of_flags & OF_GPIO_TRANSITORY) in of_find_gpio()
555 if (of_flags & OF_GPIO_PULL_UP) in of_find_gpio()
557 if (of_flags & OF_GPIO_PULL_DOWN) in of_find_gpio()