Lines Matching refs:value
45 int value) in set_gpio_flag() argument
49 if (value) in set_gpio_flag()
68 int sandbox_gpio_set_value(struct udevice *dev, unsigned offset, int value) in sandbox_gpio_set_value() argument
70 return set_gpio_flag(dev, offset, GPIOF_HIGH, value); in sandbox_gpio_set_value()
78 int sandbox_gpio_set_open_drain(struct udevice *dev, unsigned offset, int value) in sandbox_gpio_set_open_drain() argument
80 return set_gpio_flag(dev, offset, GPIOF_ODR, value); in sandbox_gpio_set_open_drain()
107 int value) in sb_gpio_direction_output() argument
109 debug("%s: offset:%u, value = %d\n", __func__, offset, value); in sb_gpio_direction_output()
112 sandbox_gpio_set_value(dev, offset, value); in sb_gpio_direction_output()
124 static int sb_gpio_set_value(struct udevice *dev, unsigned offset, int value) in sb_gpio_set_value() argument
126 debug("%s: offset:%u, value = %d\n", __func__, offset, value); in sb_gpio_set_value()
134 return sandbox_gpio_set_value(dev, offset, value); in sb_gpio_set_value()
146 static int sb_gpio_set_open_drain(struct udevice *dev, unsigned offset, int value) in sb_gpio_set_open_drain() argument
148 debug("%s: offset:%u, value = %d\n", __func__, offset, value); in sb_gpio_set_open_drain()
156 return sandbox_gpio_set_open_drain(dev, offset, value); in sb_gpio_set_open_drain()