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