Home
last modified time | relevance | path

Searched defs:dm_serial_ops (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/include/
H A Dserial.h160 struct dm_serial_ops { struct
173 int (*setbrg)(struct udevice *dev, int baudrate);
183 int (*getc)(struct udevice *dev);
191 int (*putc)(struct udevice *dev, const char ch);
206 int (*pending)(struct udevice *dev, bool input);
220 int (*clear)(struct udevice *dev);
228 int (*loop)(struct udevice *dev, int on);
241 int (*getconfig)(struct udevice *dev, uint *serial_config);
252 int (*setconfig)(struct udevice *dev, uint serial_config);
281 #define serial_get_ops(dev) ((struct dm_serial_ops *)(dev)->driver->ops) argument