Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dserdev.h15 struct serdev_controller;
46 struct serdev_controller *ctrl;
86 void (*write_flush)(struct serdev_controller *);
87 int (*open)(struct serdev_controller *);
88 void (*close)(struct serdev_controller *);
92 void (*wait_until_sent)(struct serdev_controller *, long);
93 int (*get_tiocm)(struct serdev_controller *);
106 struct serdev_controller { struct
116 return container_of(d, struct serdev_controller, dev); in to_serdev_controller()
174 int serdev_controller_add(struct serdev_controller *);
[all …]
/linux-6.15/drivers/tty/serdev/
H A Dcore.c106 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_set_baudrate()
333 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_set_flow_control()
471 struct serdev_controller *ctrl; in serdev_controller_alloc()
[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()
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()
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()
218 static int ttyport_get_tiocm(struct serdev_controller *ctrl) in ttyport_get_tiocm()
270 struct serdev_controller *ctrl; in serdev_tty_port_register()
[all …]