Searched refs:serdev_controller (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | serdev.h | 13 struct serdev_controller; 44 struct serdev_controller *ctrl; 83 int (*write_buf)(struct serdev_controller *, const unsigned char *, size_t); 84 void (*write_flush)(struct serdev_controller *); 85 int (*write_room)(struct serdev_controller *); 86 int (*open)(struct serdev_controller *); 87 void (*close)(struct serdev_controller *); 88 void (*set_flow_control)(struct serdev_controller *, bool); 89 int (*set_parity)(struct serdev_controller *, enum serdev_parity); 90 unsigned int (*set_baudrate)(struct serdev_controller *, unsigned int); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/serdev/ |
| H A D | core.c | 93 struct serdev_controller *ctrl = to_serdev_controller(dev); in serdev_ctrl_release() 126 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_add() 162 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_remove() 171 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_open() 199 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_close() 261 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_buf() 296 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write() 342 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_flush() 353 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_write_room() 364 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_set_baudrate() [all …]
|
| H A D | serdev-ttyport.c | 34 struct serdev_controller *ctrl = port->client_data; in ttyport_receive_buf() 56 struct serdev_controller *ctrl = port->client_data; in ttyport_write_wakeup() 83 static int ttyport_write_buf(struct serdev_controller *ctrl, const unsigned char *data, size_t len) in ttyport_write_buf() 95 static void ttyport_write_flush(struct serdev_controller *ctrl) in ttyport_write_flush() 103 static int ttyport_write_room(struct serdev_controller *ctrl) in ttyport_write_room() 111 static int ttyport_open(struct serdev_controller *ctrl) in ttyport_open() 160 static void ttyport_close(struct serdev_controller *ctrl) in ttyport_close() 175 static unsigned int ttyport_set_baudrate(struct serdev_controller *ctrl, unsigned int speed) in ttyport_set_baudrate() 189 static void ttyport_set_flow_control(struct serdev_controller *ctrl, bool enable) in ttyport_set_flow_control() 203 static int ttyport_set_parity(struct serdev_controller *ctrl, in ttyport_set_parity() [all …]
|