Lines Matching refs:udevice

27 static u8 *get_gpio_flags(struct udevice *dev, unsigned offset)  in get_gpio_flags()
41 static int get_gpio_flag(struct udevice *dev, unsigned offset, int flag) in get_gpio_flag()
46 static int set_gpio_flag(struct udevice *dev, unsigned offset, int flag, in set_gpio_flag()
63 int sandbox_gpio_get_value(struct udevice *dev, unsigned offset) in sandbox_gpio_get_value()
70 int sandbox_gpio_set_value(struct udevice *dev, unsigned offset, int value) in sandbox_gpio_set_value()
75 int sandbox_gpio_get_open_drain(struct udevice *dev, unsigned offset) in sandbox_gpio_get_open_drain()
80 int sandbox_gpio_set_open_drain(struct udevice *dev, unsigned offset, int value) in sandbox_gpio_set_open_drain()
85 int sandbox_gpio_get_direction(struct udevice *dev, unsigned offset) in sandbox_gpio_get_direction()
90 int sandbox_gpio_set_direction(struct udevice *dev, unsigned offset, int output) in sandbox_gpio_set_direction()
100 static int sb_gpio_direction_input(struct udevice *dev, unsigned offset) in sb_gpio_direction_input()
108 static int sb_gpio_direction_output(struct udevice *dev, unsigned offset, in sb_gpio_direction_output()
118 static int sb_gpio_get_value(struct udevice *dev, unsigned offset) in sb_gpio_get_value()
126 static int sb_gpio_set_value(struct udevice *dev, unsigned offset, int value) in sb_gpio_set_value()
140 static int sb_gpio_get_open_drain(struct udevice *dev, unsigned offset) in sb_gpio_get_open_drain()
148 static int sb_gpio_set_open_drain(struct udevice *dev, unsigned offset, int value) in sb_gpio_set_open_drain()
161 static int sb_gpio_get_function(struct udevice *dev, unsigned offset) in sb_gpio_get_function()
168 static int sb_gpio_xlate(struct udevice *dev, struct gpio_desc *desc, in sb_gpio_xlate()
197 static int sandbox_gpio_ofdata_to_platdata(struct udevice *dev) in sandbox_gpio_ofdata_to_platdata()
207 static int gpio_sandbox_probe(struct udevice *dev) in gpio_sandbox_probe()
220 static int gpio_sandbox_remove(struct udevice *dev) in gpio_sandbox_remove()