Searched refs:serdev_controller (Results 1 – 3 of 3) sorted by relevance
| /linux/include/linux/ |
| H A D | serdev.h | 15 struct serdev_controller; 46 struct serdev_controller *ctrl; 86 ssize_t (*write_buf)(struct serdev_controller *, const u8 *, size_t); 87 void (*write_flush)(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); 93 void (*wait_until_sent)(struct serdev_controller *, long); [all …]
|
| /linux/drivers/tty/serdev/ |
| H A D | core.c | 79 struct serdev_controller *ctrl = to_serdev_controller(dev); in serdev_ctrl_release() 106 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_add() 141 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_remove() 150 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_open() 178 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_close() 229 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_buf() 263 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write() 309 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_flush() 320 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_set_baudrate() 332 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_set_flow_control() [all …]
|
| H A D | serdev-ttyport.c | 28 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_open(struct serdev_controller *ctrl) in ttyport_open() 144 static void ttyport_close(struct serdev_controller *ctrl) in ttyport_close() 159 static unsigned int ttyport_set_baudrate(struct serdev_controller *ctrl, unsigned int speed) in ttyport_set_baudrate() 173 static void ttyport_set_flow_control(struct serdev_controller *ctrl, bool enable) in ttyport_set_flow_control() 187 static int ttyport_set_parity(struct serdev_controller *ctrl, in ttyport_set_parity() 210 static void ttyport_wait_until_sent(struct serdev_controller *ctrl, long timeout) in ttyport_wait_until_sent() [all …]
|