Home
last modified time | relevance | path

Searched refs:dt_flags (Results 1 – 6 of 6) sorted by relevance

/optee_os/core/drivers/regulator/
H A Dregulator_fixed.c93 gpio->dt_flags &= ~GPIO_ACTIVE_LOW; in get_enable_gpio()
95 gpio->dt_flags |= GPIO_ACTIVE_LOW; in get_enable_gpio()
99 gpio->dt_flags |= GPIO_LINE_OPEN_DRAIN; in get_enable_gpio()
101 gpio->dt_flags &= ~GPIO_LINE_OPEN_DRAIN; in get_enable_gpio()
H A Dregulator_gpio.c146 gpio->dt_flags &= ~GPIO_ACTIVE_LOW; in get_enable_gpio()
148 gpio->dt_flags |= GPIO_ACTIVE_LOW; in get_enable_gpio()
152 gpio->dt_flags |= GPIO_LINE_OPEN_DRAIN; in get_enable_gpio()
154 gpio->dt_flags &= ~GPIO_LINE_OPEN_DRAIN; in get_enable_gpio()
/optee_os/core/include/drivers/
H A Dgpio.h112 uint32_t dt_flags; member
134 if (gpio->dt_flags & GPIO_ACTIVE_LOW) in gpio_set_value()
146 if (gpio->dt_flags & GPIO_ACTIVE_LOW) in gpio_get_value()
/optee_os/core/pta/tests/
H A Ddt_driver_test.c709 if (gpio->dt_flags != gpios[0].flags) { in dt_test_gpio_get_dt()
710 EMSG("Unexpected dt_flags %#"PRIx32, gpio->dt_flags); in dt_test_gpio_get_dt()
717 if (gpio->dt_flags != gpios[1].flags) { in dt_test_gpio_get_dt()
718 EMSG("Unexpected dt_flags %#"PRIx32, gpio->dt_flags); in dt_test_gpio_get_dt()
/optee_os/core/drivers/gpio/
H A Dgpio.c28 gpio->dt_flags = pargs->args[1]; in gpio_dt_alloc_pin()
/optee_os/core/drivers/
H A Dstm32_gpio.c365 if (gpio->dt_flags & GPIO_PULL_UP) in stm32_gpio_configure()
367 else if (gpio->dt_flags & GPIO_PULL_DOWN) in stm32_gpio_configure()
372 if (gpio->dt_flags & GPIO_LINE_OPEN_DRAIN) in stm32_gpio_configure()
840 if (gpio->dt_flags & GPIO_STM32_NSEC) in stm32_gpio_get_dt()