void usb4_switch_remove_ports(struct tb_switch *sw);
int usb4_port_unlock(struct tb_port *port);
+ int usb4_port_hotplug_enable(struct tb_port *port);
int usb4_port_configure(struct tb_port *port);
void usb4_port_unconfigure(struct tb_port *port);
-int usb4_port_configure_xdomain(struct tb_port *port);
+int usb4_port_configure_xdomain(struct tb_port *port, struct tb_xdomain *xd);
void usb4_port_unconfigure_xdomain(struct tb_port *port);
int usb4_port_router_offline(struct tb_port *port);
int usb4_port_router_online(struct tb_port *port);
#define FTDI_STATUS_B1_MASK (FTDI_RS_BI)
/* End TIOCMIWAIT */
- /* function prototypes for a FTDI serial converter */
- static int ftdi_sio_probe(struct usb_serial *serial,
- const struct usb_device_id *id);
- static int ftdi_sio_port_probe(struct usb_serial_port *port);
- static void ftdi_sio_port_remove(struct usb_serial_port *port);
- static int ftdi_open(struct tty_struct *tty, struct usb_serial_port *port);
- static void ftdi_dtr_rts(struct usb_serial_port *port, int on);
- static void ftdi_process_read_urb(struct urb *urb);
- static int ftdi_prepare_write_buffer(struct usb_serial_port *port,
- void *dest, size_t size);
static void ftdi_set_termios(struct tty_struct *tty,
- struct usb_serial_port *port, struct ktermios *old);
+ struct usb_serial_port *port,
+ const struct ktermios *old_termios);
- static int ftdi_tiocmget(struct tty_struct *tty);
- static int ftdi_tiocmset(struct tty_struct *tty,
- unsigned int set, unsigned int clear);
- static int ftdi_ioctl(struct tty_struct *tty,
- unsigned int cmd, unsigned long arg);
- static void get_serial_info(struct tty_struct *tty, struct serial_struct *ss);
- static int set_serial_info(struct tty_struct *tty,
- struct serial_struct *ss);
- static void ftdi_break_ctl(struct tty_struct *tty, int break_state);
- static bool ftdi_tx_empty(struct usb_serial_port *port);
static int ftdi_get_modem_status(struct usb_serial_port *port,
unsigned char status[2]);