Lines Matching full:flags
15 uint32_t mask, uint32_t flags) in configure_common_attr() argument
17 flags &= SOC_GPIO_FLAGS_MASK; in configure_common_attr()
23 if (flags & SOC_GPIO_PULLUP) { in configure_common_attr()
30 if (flags & SOC_GPIO_PULLDOWN) { in configure_common_attr()
37 if (flags & SOC_GPIO_OPENDRAIN) { in configure_common_attr()
45 uint32_t mask, uint32_t flags) in configure_input_attr() argument
48 if ((flags & SOC_GPIO_IN_FILTER_MASK) != 0U) { in configure_input_attr()
49 if ((flags & SOC_GPIO_IN_FILTER_MASK) == in configure_input_attr()
62 if (flags & SOC_GPIO_INT_ENABLE) { in configure_input_attr()
63 if ((flags & SOC_GPIO_INT_TRIG_MASK) == in configure_input_attr()
68 if (flags & SOC_GPIO_INT_ACTIVE_HIGH) { in configure_input_attr()
90 uint32_t flags = pin->flags; in soc_gpio_configure() local
91 uint32_t type = pin->flags & SOC_GPIO_FUNC_MASK; in soc_gpio_configure()
94 configure_common_attr(gpio, mask, flags); in soc_gpio_configure()
155 configure_input_attr(gpio, mask, flags); in soc_gpio_configure()
178 __ASSERT(0, "Unsupported pin function, check pin.flags value"); in soc_gpio_configure()