/linux-6.12.1/include/linux/usb/ |
D | serial.h | 66 struct usb_serial_port { struct 109 #define to_usb_serial_port(d) container_of(d, struct usb_serial_port, dev) argument 112 static inline void *usb_get_serial_port_data(struct usb_serial_port *port) in usb_get_serial_port_data() 117 static inline void usb_set_serial_port_data(struct usb_serial_port *port, in usb_set_serial_port_data() 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); 269 int (*open)(struct tty_struct *tty, struct usb_serial_port *port); 270 void (*close)(struct usb_serial_port *port); 271 int (*write)(struct tty_struct *tty, struct usb_serial_port *port, [all …]
|
/linux-6.12.1/drivers/usb/serial/ |
D | whiteheat.c | 77 static int whiteheat_port_probe(struct usb_serial_port *port); 78 static void whiteheat_port_remove(struct usb_serial_port *port); 80 struct usb_serial_port *port); 81 static void whiteheat_close(struct usb_serial_port *port); 85 struct usb_serial_port *port, 152 static int firm_send_command(struct usb_serial_port *port, __u8 command, 154 static int firm_open(struct usb_serial_port *port); 155 static int firm_close(struct usb_serial_port *port); 157 static int firm_set_rts(struct usb_serial_port *port, __u8 onoff); 158 static int firm_set_dtr(struct usb_serial_port *port, __u8 onoff); [all …]
|
D | xr_serial.c | 104 static int xr21v141x_uart_enable(struct usb_serial_port *port); 105 static int xr21v141x_uart_disable(struct usb_serial_port *port); 106 static int xr21v141x_fifo_reset(struct usb_serial_port *port); 108 struct usb_serial_port *port, 134 int (*enable)(struct usb_serial_port *port); 135 int (*disable)(struct usb_serial_port *port); 136 int (*fifo_reset)(struct usb_serial_port *port); 138 struct usb_serial_port *port, 244 static int xr_set_reg(struct usb_serial_port *port, u8 channel, u16 reg, u16 val) in xr_set_reg() 264 static int xr_get_reg(struct usb_serial_port *port, u8 channel, u16 reg, u16 *val) in xr_get_reg() [all …]
|
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,
|
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() 102 static int send_control_msg(struct usb_serial_port *port, u8 requesttype, in send_control_msg() 128 static int opticon_open(struct tty_struct *tty, struct usb_serial_port *port) in opticon_open() 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() 190 static int opticon_write(struct tty_struct *tty, struct usb_serial_port *port, in opticon_write() 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() [all …]
|
D | generic.c | 105 int usb_serial_generic_open(struct tty_struct *tty, struct usb_serial_port *port) in usb_serial_generic_open() 118 void usb_serial_generic_close(struct usb_serial_port *port) in usb_serial_generic_close() 138 int usb_serial_generic_prepare_write_buffer(struct usb_serial_port *port, in usb_serial_generic_prepare_write_buffer() 153 int usb_serial_generic_write_start(struct usb_serial_port *port, in usb_serial_generic_write_start() 213 struct usb_serial_port *port, const unsigned char *buf, int count) in usb_serial_generic_write() 234 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_write_room() 251 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_chars_in_buffer() 269 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_wait_until_sent() 299 static int usb_serial_generic_submit_read_urb(struct usb_serial_port *port, in usb_serial_generic_submit_read_urb() 323 int usb_serial_generic_submit_read_urbs(struct usb_serial_port *port, in usb_serial_generic_submit_read_urbs() [all …]
|
D | f81232.c | 124 struct usb_serial_port *port; 136 static int f81232_get_register(struct usb_serial_port *port, u16 reg, u8 *val) in f81232_get_register() 159 static int f81232_set_register(struct usb_serial_port *port, u16 reg, u8 val) in f81232_set_register() 182 static int f81232_set_mask_register(struct usb_serial_port *port, u16 reg, in f81232_set_mask_register() 197 static void f81232_read_msr(struct usb_serial_port *port) in f81232_read_msr() 241 static int f81232_set_mctrl(struct usb_serial_port *port, in f81232_set_mctrl() 286 static void f81232_update_line_status(struct usb_serial_port *port, in f81232_update_line_status() 313 struct usb_serial_port *port = urb->context; in f81232_read_int_callback() 349 static char f81232_handle_lsr(struct usb_serial_port *port, u8 lsr) in f81232_handle_lsr() 380 struct usb_serial_port *port = urb->context; in f81232_process_read_urb() [all …]
|
D | mct_u232.c | 41 static int mct_u232_port_probe(struct usb_serial_port *port); 42 static void mct_u232_port_remove(struct usb_serial_port *remove); 43 static int mct_u232_open(struct tty_struct *tty, struct usb_serial_port *port); 44 static void mct_u232_close(struct usb_serial_port *port); 45 static void mct_u232_dtr_rts(struct usb_serial_port *port, int on); 48 struct usb_serial_port *port, 175 struct usb_serial *serial, struct usb_serial_port *port, speed_t value) in mct_u232_set_baud_rate() 248 static int mct_u232_set_line_ctrl(struct usb_serial_port *port, in mct_u232_set_line_ctrl() 271 static int mct_u232_set_modem_ctrl(struct usb_serial_port *port, in mct_u232_set_modem_ctrl() 305 static int mct_u232_get_modem_stat(struct usb_serial_port *port, in mct_u232_get_modem_stat() [all …]
|
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); 56 static int klsi_105_open(struct tty_struct *tty, struct usb_serial_port *port); 57 static void klsi_105_close(struct usb_serial_port *port); 59 struct usb_serial_port *port, 63 static int klsi_105_prepare_write_buffer(struct usb_serial_port *port, 122 static int klsi_105_chg_port_settings(struct usb_serial_port *port, in klsi_105_chg_port_settings() 154 static int klsi_105_get_line_state(struct usb_serial_port *port, in klsi_105_get_line_state() 188 static int klsi_105_port_probe(struct usb_serial_port *port) in klsi_105_port_probe() 212 static void klsi_105_port_remove(struct usb_serial_port *port) in klsi_105_port_remove() [all …]
|
D | digi_acceleport.c | 182 struct usb_serial_port *ds_oob_port; /* out-of-band port */ 201 struct usb_serial_port *dp_port; 207 static int digi_write_oob_command(struct usb_serial_port *port, 209 static int digi_write_inb_command(struct usb_serial_port *port, 211 static int digi_set_modem_signals(struct usb_serial_port *port, 213 static int digi_transmit_idle(struct usb_serial_port *port, 218 struct usb_serial_port *port, 224 static int digi_write(struct tty_struct *tty, struct usb_serial_port *port, 229 static int digi_open(struct tty_struct *tty, struct usb_serial_port *port); 230 static void digi_close(struct usb_serial_port *port); [all …]
|
D | keyspan_pda.c | 37 struct usb_serial_port *port; 40 static int keyspan_pda_write_start(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() 328 struct usb_serial_port *port, in keyspan_pda_set_termios() 410 struct usb_serial_port *port = tty->driver_data; in keyspan_pda_tiocmget() [all …]
|
D | usb-serial.c | 61 struct usb_serial_port *usb_serial_port_get_by_minor(unsigned minor) in usb_serial_port_get_by_minor() 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() 257 container_of(tport, struct usb_serial_port, port); in serial_port_activate() 285 struct usb_serial_port *port = tty->driver_data; in serial_open() 304 struct usb_serial_port *port = in serial_port_shutdown() 305 container_of(tport, struct usb_serial_port, port); in serial_port_shutdown() [all …]
|
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); 112 static int omninet_port_probe(struct usb_serial_port *port) in omninet_port_probe() 125 static void omninet_port_remove(struct usb_serial_port *port) in omninet_port_remove() 139 struct usb_serial_port *port = urb->context; in omninet_process_read_urb() 154 static int omninet_prepare_write_buffer(struct usb_serial_port *port, in omninet_prepare_write_buffer()
|
D | cypress_m8.c | 115 static int cypress_earthmate_port_probe(struct usb_serial_port *port); 116 static int cypress_hidcom_port_probe(struct usb_serial_port *port); 117 static int cypress_ca42v2_port_probe(struct usb_serial_port *port); 118 static void cypress_port_remove(struct usb_serial_port *port); 119 static int cypress_open(struct tty_struct *tty, struct usb_serial_port *port); 120 static void cypress_close(struct usb_serial_port *port); 121 static void cypress_dtr_rts(struct usb_serial_port *port, int on); 122 static int cypress_write(struct tty_struct *tty, struct usb_serial_port *port, 124 static void cypress_send(struct usb_serial_port *port); 128 struct usb_serial_port *port, [all …]
|
D | iuu_phoenix.c | 46 static int iuu_create_sysfs_attrs(struct usb_serial_port *port); 47 static int iuu_remove_sysfs_attrs(struct usb_serial_port *port); 65 static int iuu_port_probe(struct usb_serial_port *port) in iuu_port_probe() 103 static void iuu_port_remove(struct usb_serial_port *port) in iuu_port_remove() 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() 177 static int iuu_reset(struct usb_serial_port *port, u8 wt) in iuu_reset() 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() [all …]
|
D | mxuport.c | 192 static int mxuport_prepare_write_buffer(struct usb_serial_port *port, in mxuport_prepare_write_buffer() 286 struct usb_serial_port *port = tty->driver_data; in mxuport_throttle() 305 struct usb_serial_port *port = tty->driver_data; in mxuport_unthrottle() 318 static void mxuport_process_read_urb_data(struct usb_serial_port *port, in mxuport_process_read_urb_data() 335 static void mxuport_msr_event(struct usb_serial_port *port, u8 buf[4]) in mxuport_msr_event() 397 static void mxuport_lsr_event(struct usb_serial_port *port, u8 buf[4]) in mxuport_lsr_event() 426 static void mxuport_process_read_urb_event(struct usb_serial_port *port, in mxuport_process_read_urb_event() 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() [all …]
|
D | belkin_sa.c | 39 static int belkin_sa_port_probe(struct usb_serial_port *port); 40 static void belkin_sa_port_remove(struct usb_serial_port *port); 42 struct usb_serial_port *port); 43 static void belkin_sa_close(struct usb_serial_port *port); 47 struct usb_serial_port *port, 112 static int belkin_sa_port_probe(struct usb_serial_port *port) in belkin_sa_port_probe() 137 static void belkin_sa_port_remove(struct usb_serial_port *port) in belkin_sa_port_remove() 146 struct usb_serial_port *port) in belkin_sa_open() 163 static void belkin_sa_close(struct usb_serial_port *port) in belkin_sa_close() 171 struct usb_serial_port *port = urb->context; in belkin_sa_read_int_callback() [all …]
|
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); 55 struct usb_serial_port *port, const unsigned char *buf, int count); 99 static int cyberjack_port_probe(struct usb_serial_port *port) in cyberjack_port_probe() 122 static void cyberjack_port_remove(struct usb_serial_port *port) in cyberjack_port_remove() 133 struct usb_serial_port *port) in cyberjack_open() 151 static void cyberjack_close(struct usb_serial_port *port) in cyberjack_close() 158 struct usb_serial_port *port, const unsigned char *buf, int count) in cyberjack_write() [all …]
|
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); 52 static int kobil_open(struct tty_struct *tty, struct usb_serial_port *port); 53 static void kobil_close(struct usb_serial_port *port); 54 static int kobil_write(struct tty_struct *tty, struct usb_serial_port *port, 65 struct usb_serial_port *port, 113 static int kobil_port_probe(struct usb_serial_port *port) in kobil_port_probe() 146 static void kobil_port_remove(struct usb_serial_port *port) in kobil_port_remove() 163 static int kobil_open(struct tty_struct *tty, struct usb_serial_port *port) in kobil_open() 254 static void kobil_close(struct usb_serial_port *port) in kobil_close() [all …]
|
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()
|
D | oti6858.c | 119 static int oti6858_open(struct tty_struct *tty, struct usb_serial_port *port); 120 static void oti6858_close(struct usb_serial_port *port); 122 struct usb_serial_port *port, 128 static int oti6858_write(struct tty_struct *tty, struct usb_serial_port *port, 135 static int oti6858_port_probe(struct usb_serial_port *port); 136 static void oti6858_port_remove(struct usb_serial_port *port); 189 struct usb_serial_port *port; /* USB port with which associated */ 196 struct usb_serial_port *port = priv->port; in setup_line() 264 struct usb_serial_port *port = priv->port; in send_data() 327 static int oti6858_port_probe(struct usb_serial_port *port) in oti6858_port_probe() [all …]
|
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()
|
D | usb_wwan.c | 41 static int usb_wwan_send_setup(struct usb_serial_port *port) in usb_wwan_send_setup() 72 void usb_wwan_dtr_rts(struct usb_serial_port *port, int on) in usb_wwan_dtr_rts() 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() 137 int usb_wwan_write(struct tty_struct *tty, struct usb_serial_port *port, in usb_wwan_write() 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() 325 int usb_wwan_open(struct tty_struct *tty, struct usb_serial_port *port) in usb_wwan_open() [all …]
|
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() 268 static void upd78f0730_dtr_rts(struct usb_serial_port *port, int on) in upd78f0730_dtr_rts() 302 struct usb_serial_port *port, in upd78f0730_set_termios() 379 static int upd78f0730_open(struct tty_struct *tty, struct usb_serial_port *port) in upd78f0730_open() 397 static void upd78f0730_close(struct usb_serial_port *port) in upd78f0730_close()
|
D | ti_usb_3410_5052.c | 289 struct usb_serial_port *tp_port; 305 static int ti_port_probe(struct usb_serial_port *port); 306 static void ti_port_remove(struct usb_serial_port *port); 307 static int ti_open(struct tty_struct *tty, struct usb_serial_port *port); 308 static void ti_close(struct usb_serial_port *port); 309 static int ti_write(struct tty_struct *tty, struct usb_serial_port *port, 313 static bool ti_tx_empty(struct usb_serial_port *port); 317 struct usb_serial_port *port, 327 static void ti_recv(struct usb_serial_port *port, unsigned char *data, 342 static int ti_port_cmd_out(struct usb_serial_port *port, u8 command, [all …]
|