Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dserdev.h15 struct serdev_controller;
46 struct serdev_controller *ctrl;
85 ssize_t (*write_buf)(struct serdev_controller *, const u8 *, size_t);
86 void (*write_flush)(struct serdev_controller *);
87 int (*write_room)(struct serdev_controller *);
88 int (*open)(struct serdev_controller *);
89 void (*close)(struct serdev_controller *);
90 void (*set_flow_control)(struct serdev_controller *, bool);
91 int (*set_parity)(struct serdev_controller *, enum serdev_parity);
92 unsigned int (*set_baudrate)(struct serdev_controller *, unsigned int);
[all …]
/linux/drivers/tty/serdev/
H A Dcore.c79 struct serdev_controller *ctrl = to_serdev_controller(dev); in serdev_ctrl_release()
106 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_add()
142 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_remove()
151 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_open()
179 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_close()
230 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_buf()
264 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write()
310 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_flush()
321 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_room()
332 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_set_baudrate()
[all …]
H A Dserdev-ttyport.c28 struct serdev_controller *ctrl = port->client_data; in ttyport_receive_buf()
48 struct serdev_controller *ctrl = port->client_data; in ttyport_write_wakeup()
75 static ssize_t ttyport_write_buf(struct serdev_controller *ctrl, const u8 *data, size_t len) in ttyport_write_buf()
87 static void ttyport_write_flush(struct serdev_controller *ctrl) in ttyport_write_flush()
95 static int ttyport_write_room(struct serdev_controller *ctrl) in ttyport_write_room()
103 static int ttyport_open(struct serdev_controller *ctrl) in ttyport_open()
152 static void ttyport_close(struct serdev_controller *ctrl) in ttyport_close()
167 static unsigned int ttyport_set_baudrate(struct serdev_controller *ctrl, unsigned int speed) in ttyport_set_baudrate()
181 static void ttyport_set_flow_control(struct serdev_controller *ctrl, bool enable) in ttyport_set_flow_control()
195 static int ttyport_set_parity(struct serdev_controller *ctrl, in ttyport_set_parity()
[all …]