Home
last modified time | relevance | path

Searched refs:serdev_controller (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/include/linux/
Dserdev.h21 struct serdev_controller;
52 struct serdev_controller *ctrl;
91 int (*write_buf)(struct serdev_controller *, const unsigned char *, size_t);
92 void (*write_flush)(struct serdev_controller *);
93 int (*write_room)(struct serdev_controller *);
94 int (*open)(struct serdev_controller *);
95 void (*close)(struct serdev_controller *);
96 void (*set_flow_control)(struct serdev_controller *, bool);
97 int (*set_parity)(struct serdev_controller *, enum serdev_parity);
98 unsigned int (*set_baudrate)(struct serdev_controller *, unsigned int);
[all …]
/Linux-v4.19/drivers/tty/serdev/
Dcore.c75 struct serdev_controller *ctrl = to_serdev_controller(dev); in serdev_ctrl_release()
102 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_add()
138 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_remove()
147 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_open()
175 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_close()
222 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_buf()
235 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write()
263 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_flush()
274 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_room()
285 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_set_baudrate()
[all …]
Dserdev-ttyport.c28 struct serdev_controller *ctrl = port->client_data; in ttyport_receive_buf()
50 struct serdev_controller *ctrl = port->client_data; in ttyport_write_wakeup()
77 static int ttyport_write_buf(struct serdev_controller *ctrl, const unsigned char *data, size_t len) in ttyport_write_buf()
89 static void ttyport_write_flush(struct serdev_controller *ctrl) in ttyport_write_flush()
97 static int ttyport_write_room(struct serdev_controller *ctrl) in ttyport_write_room()
105 static int ttyport_open(struct serdev_controller *ctrl) in ttyport_open()
154 static void ttyport_close(struct serdev_controller *ctrl) in ttyport_close()
169 static unsigned int ttyport_set_baudrate(struct serdev_controller *ctrl, unsigned int speed) in ttyport_set_baudrate()
183 static void ttyport_set_flow_control(struct serdev_controller *ctrl, bool enable) in ttyport_set_flow_control()
197 static int ttyport_set_parity(struct serdev_controller *ctrl, in ttyport_set_parity()
[all …]