Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dserdev.h15 struct serdev_controller;
46 struct serdev_controller *ctrl;
85 int (*write_buf)(struct serdev_controller *, const unsigned char *, 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-v6.6/drivers/tty/serdev/
Dcore.c77 struct serdev_controller *ctrl = to_serdev_controller(dev); in serdev_ctrl_release()
104 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_add()
140 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_remove()
149 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_open()
177 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_close()
239 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_buf()
274 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write()
320 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_flush()
331 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_room()
342 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 …]