Searched refs:get_gpio_flag (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/drivers/gpio/ |
H A D | sandbox.c | 39 static int get_gpio_flag(struct udevice *dev, unsigned offset, int flag) in get_gpio_flag() function 63 if (get_gpio_flag(dev, offset, GPIOF_OUTPUT)) in sandbox_gpio_get_value() 65 return get_gpio_flag(dev, offset, GPIOF_HIGH); in sandbox_gpio_get_value() 75 return get_gpio_flag(dev, offset, GPIOF_ODR); in sandbox_gpio_get_open_drain() 85 return get_gpio_flag(dev, offset, GPIOF_OUTPUT); in sandbox_gpio_get_direction() 161 if (get_gpio_flag(dev, offset, GPIOF_OUTPUT)) in sb_gpio_get_function()
|