/linux-6.3-rc2/include/linux/usb/ |
A D | serial.h | 66 struct usb_serial_port { struct 156 struct usb_serial_port *port[MAX_NUM_PORTS]; 260 int (*port_probe)(struct usb_serial_port *port); 261 void (*port_remove)(struct usb_serial_port *port); 270 void (*close)(struct usb_serial_port *port); 284 bool (*tx_empty)(struct usb_serial_port *port); 295 void (*dtr_rts)(struct usb_serial_port *port, int on); 296 int (*carrier_raised)(struct usb_serial_port *port); 308 int (*prepare_write_buffer)(struct usb_serial_port *port, 362 int usb_serial_handle_break(struct usb_serial_port *port); [all …]
|
/linux-6.3-rc2/drivers/usb/serial/ |
A D | whiteheat.c | 80 struct usb_serial_port *port); 85 struct usb_serial_port *port, 217 struct usb_serial_port *command_port; in whiteheat_attach() 324 struct usb_serial_port *command_port; in whiteheat_release() 404 struct usb_serial_port *port = tty->driver_data; in whiteheat_tiocmget() 420 struct usb_serial_port *port = tty->driver_data; in whiteheat_tiocmset() 446 struct usb_serial_port *port, in whiteheat_set_termios() 454 struct usb_serial_port *port = tty->driver_data; in whiteheat_break_ctl() 533 struct usb_serial_port *command_port; in firm_send_command() 760 struct usb_serial_port *command_port; in start_command_port() [all …]
|
A D | xr_serial.c | 107 struct usb_serial_port *port, 133 int (*enable)(struct usb_serial_port *port); 134 int (*disable)(struct usb_serial_port *port); 135 int (*fifo_reset)(struct usb_serial_port *port); 137 struct usb_serial_port *port, 438 struct usb_serial_port *port = tty->driver_data; in xr_tiocmget() 493 struct usb_serial_port *port = tty->driver_data; in xr_tiocmset() 626 struct usb_serial_port *port, in xr_set_flow_mode() 678 struct usb_serial_port *port, in xr21v141x_set_line_settings() 737 struct usb_serial_port *port, in xr_cdc_set_line_coding() [all …]
|
A D | usb-wwan.h | 9 extern void usb_wwan_dtr_rts(struct usb_serial_port *port, int on); 10 extern int usb_wwan_open(struct tty_struct *tty, struct usb_serial_port *port); 11 extern void usb_wwan_close(struct usb_serial_port *port); 12 extern int usb_wwan_port_probe(struct usb_serial_port *port); 13 extern void usb_wwan_port_remove(struct usb_serial_port *port); 18 extern int usb_wwan_write(struct tty_struct *tty, struct usb_serial_port *port,
|
A D | opticon.c | 50 static void opticon_process_data_packet(struct usb_serial_port *port, in opticon_process_data_packet() 57 static void opticon_process_status_packet(struct usb_serial_port *port, in opticon_process_status_packet() 73 struct usb_serial_port *port = urb->context; in opticon_process_read_urb() 155 static void opticon_close(struct usb_serial_port *port) in opticon_close() 166 struct usb_serial_port *port = urb->context; in opticon_write_control_callback() 270 struct usb_serial_port *port = tty->driver_data; in opticon_write_room() 292 struct usb_serial_port *port = tty->driver_data; in opticon_chars_in_buffer() 306 struct usb_serial_port *port = tty->driver_data; in opticon_tiocmget() 325 struct usb_serial_port *port = tty->driver_data; in opticon_tiocmset() 353 static int opticon_port_probe(struct usb_serial_port *port) in opticon_port_probe() [all …]
|
A D | generic.c | 235 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_write_room() 252 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_chars_in_buffer() 270 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_wait_until_sent() 347 struct usb_serial_port *port = urb->context; in usb_serial_generic_process_read_urb() 372 struct usb_serial_port *port = urb->context; in usb_serial_generic_read_bulk_callback() 437 struct usb_serial_port *port = urb->context; in usb_serial_generic_write_bulk_callback() 476 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_throttle() 484 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_unthrottle() 501 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_msr_changed() 529 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_tiocmiwait() [all …]
|
A D | f81232.c | 124 struct usb_serial_port *port; 313 struct usb_serial_port *port = urb->context; in f81232_read_int_callback() 380 struct usb_serial_port *port = urb->context; in f81232_process_read_urb() 412 struct usb_serial_port *port = urb->context; in f81534a_process_read_urb() 453 struct usb_serial_port *port = tty->driver_data; in f81232_break_ctl() 608 struct usb_serial_port *port, in f81232_set_termios() 668 struct usb_serial_port *port = tty->driver_data; in f81232_tiocmget() 693 struct usb_serial_port *port = tty->driver_data; in f81232_tiocmset() 810 struct usb_serial_port *port; in f81232_lsr_worker() 932 struct usb_serial_port *port = serial->port[0]; in f81232_suspend() [all …]
|
A D | mct_u232.c | 41 static int mct_u232_port_probe(struct usb_serial_port *port); 44 static void mct_u232_close(struct usb_serial_port *port); 48 struct usb_serial_port *port, 496 static void mct_u232_close(struct usb_serial_port *port) in mct_u232_close() 509 struct usb_serial_port *port = urb->context; in mct_u232_read_int_callback() 596 struct usb_serial_port *port, in mct_u232_set_termios() 682 struct usb_serial_port *port = tty->driver_data; in mct_u232_break_ctl() 700 struct usb_serial_port *port = tty->driver_data; in mct_u232_tiocmget() 715 struct usb_serial_port *port = tty->driver_data; in mct_u232_tiocmset() 739 struct usb_serial_port *port = tty->driver_data; in mct_u232_throttle() [all …]
|
A D | kl5kusb105.c | 54 static int klsi_105_port_probe(struct usb_serial_port *port); 55 static void klsi_105_port_remove(struct usb_serial_port *port); 57 static void klsi_105_close(struct usb_serial_port *port); 59 struct usb_serial_port *port, 155 static int klsi_105_get_line_state(struct usb_serial_port *port, in klsi_105_get_line_state() 189 static int klsi_105_port_probe(struct usb_serial_port *port) in klsi_105_port_probe() 213 static void klsi_105_port_remove(struct usb_serial_port *port) in klsi_105_port_remove() 303 static void klsi_105_close(struct usb_serial_port *port) in klsi_105_close() 345 struct usb_serial_port *port = urb->context; in klsi_105_process_read_urb() 369 struct usb_serial_port *port, in klsi_105_set_termios() [all …]
|
A D | digi_acceleport.c | 201 struct usb_serial_port *dp_port; 218 struct usb_serial_port *port, 615 struct usb_serial_port *port = tty->driver_data; in digi_rx_throttle() 630 struct usb_serial_port *port = tty->driver_data; in digi_rx_unthrottle() 653 struct usb_serial_port *port, in digi_set_termios() 844 struct usb_serial_port *port = tty->driver_data; in digi_break_ctl() 960 struct usb_serial_port *port = urb->context; in digi_write_bulk_callback() 1183 struct usb_serial_port *port; in digi_startup_device() 1296 struct usb_serial_port *port = urb->context; in digi_read_bulk_callback() 1357 struct usb_serial_port *port = urb->context; in digi_read_inb_callback() [all …]
|
A D | keyspan_pda.c | 37 struct usb_serial_port *port; 78 struct usb_serial_port *port = priv->port; in keyspan_pda_get_write_room() 107 struct usb_serial_port *port = priv->port; in keyspan_pda_request_unthrottle() 147 struct usb_serial_port *port = urb->context; in keyspan_pda_rx_interrupt() 223 struct usb_serial_port *port = tty->driver_data; in keyspan_pda_rx_throttle() 238 struct usb_serial_port *port = tty->driver_data; in keyspan_pda_rx_unthrottle() 304 struct usb_serial_port *port = tty->driver_data; in keyspan_pda_break_ctl() 324 struct usb_serial_port *port, in keyspan_pda_set_termios() 406 struct usb_serial_port *port = tty->driver_data; in keyspan_pda_tiocmget() 522 struct usb_serial_port *port = urb->context; in keyspan_pda_write_bulk_callback() [all …]
|
A D | belkin_sa.c | 42 struct usb_serial_port *port); 43 static void belkin_sa_close(struct usb_serial_port *port); 47 struct usb_serial_port *port, 147 struct usb_serial_port *port) in belkin_sa_open() 164 static void belkin_sa_close(struct usb_serial_port *port) in belkin_sa_close() 172 struct usb_serial_port *port = urb->context; in belkin_sa_read_int_callback() 237 struct usb_serial_port *port = urb->context; in belkin_sa_process_read_urb() 277 struct usb_serial_port *port, in belkin_sa_set_termios() 404 struct usb_serial_port *port = tty->driver_data; in belkin_sa_break_ctl() 413 struct usb_serial_port *port = tty->driver_data; in belkin_sa_tiocmget() [all …]
|
A D | usb-serial.c | 64 struct usb_serial_port *port; in usb_serial_port_get_by_minor() 86 struct usb_serial_port *port; in allocate_minors() 165 struct usb_serial_port *port; in destroy_serial() 218 struct usb_serial_port *port; in serial_install() 256 struct usb_serial_port *port = in serial_port_activate() 304 struct usb_serial_port *port = in serial_port_shutdown() 550 struct usb_serial_port *port; in serial_proc_show() 759 struct usb_serial_port *p = container_of(port, struct usb_serial_port, port); in serial_port_carrier_raised() 770 struct usb_serial_port *p = container_of(port, struct usb_serial_port, port); in serial_port_dtr_rts() 968 struct usb_serial_port *port; in usb_serial_probe() [all …]
|
A D | omninet.c | 35 static int omninet_prepare_write_buffer(struct usb_serial_port *port, 39 static int omninet_port_probe(struct usb_serial_port *port); 40 static void omninet_port_remove(struct usb_serial_port *port); 113 static int omninet_port_probe(struct usb_serial_port *port) in omninet_port_probe() 126 static void omninet_port_remove(struct usb_serial_port *port) in omninet_port_remove() 140 struct usb_serial_port *port = urb->context; in omninet_process_read_urb() 155 static int omninet_prepare_write_buffer(struct usb_serial_port *port, in omninet_prepare_write_buffer()
|
A D | cypress_m8.c | 124 static void cypress_send(struct usb_serial_port *port); 128 struct usb_serial_port *port, 795 struct usb_serial_port *port = tty->driver_data; in cypress_write_room() 811 struct usb_serial_port *port = tty->driver_data; in cypress_tiocmget() 838 struct usb_serial_port *port = tty->driver_data; in cypress_tiocmset() 863 struct usb_serial_port *port, in cypress_set_termios() 962 struct usb_serial_port *port = tty->driver_data; in cypress_chars_in_buffer() 978 struct usb_serial_port *port = tty->driver_data; in cypress_throttle() 989 struct usb_serial_port *port = tty->driver_data; in cypress_unthrottle() 1014 struct usb_serial_port *port = urb->context; in cypress_read_int_callback() [all …]
|
A D | iuu_phoenix.c | 116 struct usb_serial_port *port = tty->driver_data; in iuu_tiocmset() 144 struct usb_serial_port *port = tty->driver_data; in iuu_tiocmget() 158 struct usb_serial_port *port = urb->context; in iuu_rxcmd() 210 struct usb_serial_port *port = urb->context; in iuu_update_status_callback() 240 struct usb_serial_port *port = urb->context; in iuu_status_callback() 349 struct usb_serial_port *port = urb->context; in iuu_led_activity_on() 370 struct usb_serial_port *port = urb->context; in iuu_led_activity_off() 578 struct usb_serial_port *port = urb->context; in read_buf_callback() 642 struct usb_serial_port *port = urb->context; in iuu_uart_read_callback() 721 struct usb_serial_port *port = urb->context; in read_rxcmd_callback() [all …]
|
A D | cyberjack.c | 49 static int cyberjack_port_probe(struct usb_serial_port *port); 50 static void cyberjack_port_remove(struct usb_serial_port *port); 52 struct usb_serial_port *port); 53 static void cyberjack_close(struct usb_serial_port *port); 100 static int cyberjack_port_probe(struct usb_serial_port *port) in cyberjack_port_probe() 123 static void cyberjack_port_remove(struct usb_serial_port *port) in cyberjack_port_remove() 134 struct usb_serial_port *port) in cyberjack_open() 152 static void cyberjack_close(struct usb_serial_port *port) in cyberjack_close() 251 struct usb_serial_port *port = urb->context; in cyberjack_read_int_callback() 307 struct usb_serial_port *port = urb->context; in cyberjack_read_bulk_callback() [all …]
|
A D | mxuport.c | 286 struct usb_serial_port *port = tty->driver_data; in mxuport_throttle() 305 struct usb_serial_port *port = tty->driver_data; in mxuport_unthrottle() 465 struct usb_serial_port *port = urb->context; in mxuport_process_read_urb_demux_data() 469 struct usb_serial_port *demux_port; in mxuport_process_read_urb_demux_data() 512 struct usb_serial_port *port = urb->context; in mxuport_process_read_urb_demux_event() 516 struct usb_serial_port *demux_port; in mxuport_process_read_urb_demux_event() 556 struct usb_serial_port *port = urb->context; in mxuport_process_read_urb() 701 struct usb_serial_port *port = tty->driver_data; in mxuport_tiocmset() 764 struct usb_serial_port *port, in mxuport_set_termios_flow() 836 struct usb_serial_port *port, in mxuport_set_termios() [all …]
|
A D | symbolserial.c | 34 struct usb_serial_port *port = urb->context; in symbol_int_callback() 91 static int symbol_open(struct tty_struct *tty, struct usb_serial_port *port) in symbol_open() 111 static void symbol_close(struct usb_serial_port *port) in symbol_close() 118 struct usb_serial_port *port = tty->driver_data; in symbol_throttle() 128 struct usb_serial_port *port = tty->driver_data; in symbol_unthrottle() 148 static int symbol_port_probe(struct usb_serial_port *port) in symbol_port_probe() 163 static void symbol_port_remove(struct usb_serial_port *port) in symbol_port_remove()
|
A D | kobil_sct.c | 50 static int kobil_port_probe(struct usb_serial_port *probe); 51 static void kobil_port_remove(struct usb_serial_port *probe); 53 static void kobil_close(struct usb_serial_port *port); 65 struct usb_serial_port *port, 114 static int kobil_port_probe(struct usb_serial_port *port) in kobil_port_probe() 256 static void kobil_close(struct usb_serial_port *port) in kobil_close() 267 struct usb_serial_port *port = urb->context; in kobil_read_int_callback() 371 struct usb_serial_port *port = tty->driver_data; in kobil_tiocmget() 420 struct usb_serial_port *port = tty->driver_data; in kobil_tiocmset() 478 struct usb_serial_port *port, in kobil_set_termios() [all …]
|
A D | oti6858.c | 122 struct usb_serial_port *port, 197 struct usb_serial_port *port = priv->port; in setup_line() 265 struct usb_serial_port *port = priv->port; in send_data() 369 struct usb_serial_port *port = tty->driver_data; in oti6858_write_room() 382 struct usb_serial_port *port = tty->driver_data; in oti6858_chars_in_buffer() 399 struct usb_serial_port *port, in oti6858_set_termios() 583 struct usb_serial_port *port = tty->driver_data; in oti6858_tiocmset() 612 struct usb_serial_port *port = tty->driver_data; in oti6858_tiocmget() 643 struct usb_serial_port *port = urb->context; in oti6858_read_int_callback() 767 struct usb_serial_port *port = urb->context; in oti6858_read_bulk_callback() [all …]
|
A D | metro-usb.c | 78 static int metrousb_send_unidirectional_cmd(u8 cmd, struct usb_serial_port *port) in metrousb_send_unidirectional_cmd() 109 struct usb_serial_port *port = urb->context; in metrousb_read_int_callback() 163 static void metrousb_cleanup(struct usb_serial_port *port) in metrousb_cleanup() 170 static int metrousb_open(struct tty_struct *tty, struct usb_serial_port *port) in metrousb_open() 244 static int metrousb_port_probe(struct usb_serial_port *port) in metrousb_port_probe() 259 static void metrousb_port_remove(struct usb_serial_port *port) in metrousb_port_remove() 269 struct usb_serial_port *port = tty->driver_data; in metrousb_throttle() 282 struct usb_serial_port *port = tty->driver_data; in metrousb_tiocmget() 296 struct usb_serial_port *port = tty->driver_data; in metrousb_tiocmset() 324 struct usb_serial_port *port = tty->driver_data; in metrousb_unthrottle()
|
A D | usb_wwan.c | 41 static int usb_wwan_send_setup(struct usb_serial_port *port) in usb_wwan_send_setup() 93 struct usb_serial_port *port = tty->driver_data; in usb_wwan_tiocmget() 113 struct usb_serial_port *port = tty->driver_data; in usb_wwan_tiocmset() 217 struct usb_serial_port *port; in usb_wwan_indat_callback() 257 struct usb_serial_port *port; in usb_wwan_outdat_callback() 284 struct usb_serial_port *port = tty->driver_data; in usb_wwan_write_room() 305 struct usb_serial_port *port = tty->driver_data; in usb_wwan_chars_in_buffer() 381 void usb_wwan_close(struct usb_serial_port *port) in usb_wwan_close() 442 int usb_wwan_port_probe(struct usb_serial_port *port) in usb_wwan_port_probe() 529 struct usb_serial_port *port; in stop_urbs() [all …]
|
A D | upd78f0730.c | 128 static int upd78f0730_send_ctl(struct usb_serial_port *port, in upd78f0730_send_ctl() 160 static int upd78f0730_port_probe(struct usb_serial_port *port) in upd78f0730_port_probe() 174 static void upd78f0730_port_remove(struct usb_serial_port *port) in upd78f0730_port_remove() 186 struct usb_serial_port *port = tty->driver_data; in upd78f0730_tiocmget() 207 struct usb_serial_port *port = tty->driver_data; in upd78f0730_tiocmset() 244 struct usb_serial_port *port = tty->driver_data; in upd78f0730_break_ctl() 265 static void upd78f0730_dtr_rts(struct usb_serial_port *port, int on) in upd78f0730_dtr_rts() 299 struct usb_serial_port *port, in upd78f0730_set_termios() 376 static int upd78f0730_open(struct tty_struct *tty, struct usb_serial_port *port) in upd78f0730_open() 394 static void upd78f0730_close(struct usb_serial_port *port) in upd78f0730_close()
|
A D | ti_usb_3410_5052.c | 289 struct usb_serial_port *tp_port; 317 struct usb_serial_port *port, 819 struct usb_serial_port *port = tty->driver_data; in ti_write_room() 835 struct usb_serial_port *port = tty->driver_data; in ti_chars_in_buffer() 872 struct usb_serial_port *port = tty->driver_data; in ti_throttle() 896 struct usb_serial_port *port, in ti_set_termios() 1103 struct usb_serial_port *port; in ti_interrupt_callback() 1185 struct usb_serial_port *port = tport->tp_port; in ti_bulk_in_callback() 1244 struct usb_serial_port *port = tport->tp_port; in ti_bulk_out_callback() 1290 struct usb_serial_port *port = tport->tp_port; in ti_send() [all …]
|