/linux-6.3-rc2/include/linux/usb/ |
A D | serial.h | 67 struct usb_serial *serial; 141 struct usb_serial { struct 253 int (*attach)(struct usb_serial *serial); 254 int (*calc_num_ports)(struct usb_serial *serial, 257 void (*disconnect)(struct usb_serial *serial); 258 void (*release)(struct usb_serial *serial); 264 int (*resume)(struct usb_serial *serial); 265 int (*reset_resume)(struct usb_serial *serial); 326 void usb_serial_console_disconnect(struct usb_serial *serial); 335 void usb_serial_put(struct usb_serial *serial); [all …]
|
/linux-6.3-rc2/drivers/usb/serial/ |
A D | mxuport.c | 287 struct usb_serial *serial = port->serial; in mxuport_throttle() 306 struct usb_serial *serial = port->serial; in mxuport_unthrottle() 466 struct usb_serial *serial = port->serial; in mxuport_process_read_urb_demux_data() 513 struct usb_serial *serial = port->serial; in mxuport_process_read_urb_demux_event() 557 struct usb_serial *serial = port->serial; in mxuport_process_read_urb() 572 struct usb_serial *serial = port->serial; in mxuport_tx_empty() 600 struct usb_serial *serial = port->serial; in mxuport_set_mcr() 616 struct usb_serial *serial = port->serial; in mxuport_set_dtr() 638 struct usb_serial *serial = port->serial; in mxuport_set_rts() 765 struct usb_serial *serial) in mxuport_set_termios_flow() [all …]
|
A D | visor.c | 38 static int visor_probe(struct usb_serial *serial, 40 static int visor_calc_num_ports(struct usb_serial *serial, 42 static int clie_5_calc_num_ports(struct usb_serial *serial, 45 static int clie_3_5_startup(struct usb_serial *serial); 46 static int palm_os_3_probe(struct usb_serial *serial, 48 static int palm_os_4_probe(struct usb_serial *serial, 311 static int palm_os_3_probe(struct usb_serial *serial, in palm_os_3_probe() 407 static int palm_os_4_probe(struct usb_serial *serial, in palm_os_4_probe() 435 static int visor_probe(struct usb_serial *serial, in visor_probe() 439 int (*startup)(struct usb_serial *serial, in visor_probe() [all …]
|
A D | keyspan_pda.c | 36 struct usb_serial *serial; 79 struct usb_serial *serial = port->serial; in keyspan_pda_get_write_room() 108 struct usb_serial *serial = port->serial; in keyspan_pda_request_unthrottle() 305 struct usb_serial *serial = port->serial; in keyspan_pda_break_ctl() 327 struct usb_serial *serial = port->serial; in keyspan_pda_set_termios() 372 static int keyspan_pda_get_modem_info(struct usb_serial *serial, in keyspan_pda_get_modem_info() 393 static int keyspan_pda_set_modem_info(struct usb_serial *serial, in keyspan_pda_set_modem_info() 407 struct usb_serial *serial = port->serial; in keyspan_pda_tiocmget() 430 struct usb_serial *serial = port->serial; in keyspan_pda_tiocmset() 556 struct usb_serial *serial = port->serial; in keyspan_pda_dtr_rts() [all …]
|
A D | cp210x.c | 43 static int cp210x_attach(struct usb_serial *); 44 static void cp210x_disconnect(struct usb_serial *); 45 static void cp210x_release(struct usb_serial *); 640 struct usb_serial *serial = port->serial; in cp210x_read_reg_block() 694 struct usb_serial *serial = port->serial; in cp210x_write_u16_reg() 717 struct usb_serial *serial = port->serial; in cp210x_write_reg_block() 922 struct usb_serial *serial = port->serial; in cp210x_get_tx_queue_byte_count() 1049 struct usb_serial *serial = port->serial; in cp210x_change_speed() 1453 struct usb_serial *serial = gpiochip_get_data(gc); in cp210x_gpio_get() 1495 struct usb_serial *serial = gpiochip_get_data(gc); in cp210x_gpio_set() [all …]
|
A D | sierra.c | 118 static u8 sierra_interface_num(struct usb_serial *serial) in sierra_interface_num() 123 static int sierra_probe(struct usb_serial *serial, in sierra_probe() 290 struct usb_serial *serial = port->serial; in sierra_send_setup() 420 struct usb_serial *serial = port->serial; in sierra_write() 565 struct usb_serial *serial = port->serial; in sierra_instat_callback() 729 struct usb_serial *serial = port->serial; in sierra_close() 772 struct usb_serial *serial = port->serial; in sierra_open() 827 static int sierra_startup(struct usb_serial *serial) in sierra_startup() 849 static void sierra_release(struct usb_serial *serial) in sierra_release() 859 struct usb_serial *serial = port->serial; in sierra_port_probe() [all …]
|
A D | whiteheat.c | 70 static int whiteheat_firmware_download(struct usb_serial *serial, 72 static int whiteheat_firmware_attach(struct usb_serial *serial); 75 static int whiteheat_attach(struct usb_serial *serial); 76 static void whiteheat_release(struct usb_serial *serial); 149 static int start_command_port(struct usb_serial *serial); 150 static void stop_command_port(struct usb_serial *serial); 204 static int whiteheat_firmware_attach(struct usb_serial *serial) in whiteheat_firmware_attach() 215 static int whiteheat_attach(struct usb_serial *serial) in whiteheat_attach() 322 static void whiteheat_release(struct usb_serial *serial) in whiteheat_release() 758 static int start_command_port(struct usb_serial *serial) in start_command_port() [all …]
|
A D | usb-serial.c | 63 struct usb_serial *serial; in usb_serial_port_get_by_minor() 164 struct usb_serial *serial; in destroy_serial() 191 void usb_serial_put(struct usb_serial *serial) in usb_serial_put() 217 struct usb_serial *serial; in serial_install() 258 struct usb_serial *serial = port->serial; in serial_port_activate() 344 struct usb_serial *serial; in serial_cleanup() 394 struct usb_serial *serial = port->serial; in serial_chars_in_buffer() 407 struct usb_serial *serial = port->serial; in serial_wait_until_sent() 549 struct usb_serial *serial; in serial_proc_show() 690 struct usb_serial *serial; in create_serial() [all …]
|
A D | f81534.c | 193 static int f81534_logic_to_phy_port(struct usb_serial *serial, in f81534_logic_to_phy_port() 214 static int f81534_set_register(struct usb_serial *serial, u16 reg, u8 data) in f81534_set_register() 296 static int f81534_set_mask_register(struct usb_serial *serial, u16 reg, in f81534_set_mask_register() 348 static int f81534_wait_for_spi_idle(struct usb_serial *serial) in f81534_wait_for_spi_idle() 379 static int f81534_get_spi_register(struct usb_serial *serial, u16 reg, in f81534_get_spi_register() 402 static int f81534_read_flash(struct usb_serial *serial, u32 address, in f81534_read_flash() 731 static int f81534_find_config_idx(struct usb_serial *serial, u8 *index) in f81534_find_config_idx() 835 static int f81534_calc_num_ports(struct usb_serial *serial, in f81534_calc_num_ports() 1237 struct usb_serial *serial; in f81534_process_read_urb() 1313 struct usb_serial *serial; in f81534_set_port_output_pin() [all …]
|
A D | pl2303.c | 326 static int pl2303_probe(struct usb_serial *serial, in pl2303_probe() 339 static int pl2303_endpoint_hack(struct usb_serial *serial, in pl2303_endpoint_hack() 369 static int pl2303_calc_num_ports(struct usb_serial *serial, in pl2303_calc_num_ports() 402 static int pl2303_detect_type(struct usb_serial *serial) in pl2303_detect_type() 469 static int pl2303_startup(struct usb_serial *serial) in pl2303_startup() 521 static void pl2303_release(struct usb_serial *serial) in pl2303_release() 691 struct usb_serial *serial = port->serial; in pl2303_encode_baud_rate() 795 struct usb_serial *serial = port->serial; in pl2303_set_termios() 960 struct usb_serial *serial = port->serial; in pl2303_open() 1065 struct usb_serial *serial = port->serial; in pl2303_set_break() [all …]
|
A D | metro-usb.c | 58 static int metrousb_is_unidirectional_mode(struct usb_serial *serial) in metrousb_is_unidirectional_mode() 65 static int metrousb_calc_num_ports(struct usb_serial *serial, in metrousb_calc_num_ports() 172 struct usb_serial *serial = port->serial; in metrousb_open() 218 static int metrousb_set_modem_ctrl(struct usb_serial *serial, unsigned int control_state) in metrousb_set_modem_ctrl() 297 struct usb_serial *serial = port->serial; in metrousb_tiocmset()
|
A D | ipaq.c | 32 static int ipaq_calc_num_ports(struct usb_serial *serial, 34 static int ipaq_startup(struct usb_serial *serial); 518 struct usb_serial *serial = port->serial; in ipaq_open() 550 static int ipaq_calc_num_ports(struct usb_serial *serial, in ipaq_calc_num_ports() 580 static int ipaq_startup(struct usb_serial *serial) in ipaq_startup()
|
A D | usb-wwan.h | 22 extern int usb_wwan_suspend(struct usb_serial *serial, pm_message_t message); 23 extern int usb_wwan_resume(struct usb_serial *serial);
|
A D | ark3116.c | 50 static int is_irda(struct usb_serial *serial) in is_irda() 77 static int ark3116_write_reg(struct usb_serial *serial, in ark3116_write_reg() 92 static int ark3116_read_reg(struct usb_serial *serial, in ark3116_read_reg() 126 struct usb_serial *serial = port->serial; in ark3116_port_probe() 194 struct usb_serial *serial = port->serial; in ark3116_set_termios() 298 struct usb_serial *serial = port->serial; in ark3116_close() 314 struct usb_serial *serial = port->serial; in ark3116_open()
|
A D | usb_wwan.c | 43 struct usb_serial *serial = port->serial; in usb_wwan_send_setup() 329 struct usb_serial *serial = port->serial; in usb_wwan_open() 384 struct usb_serial *serial = port->serial; in usb_wwan_close() 424 struct usb_serial *serial = port->serial; in usb_wwan_setup_urb() 526 static void stop_urbs(struct usb_serial *serial) in stop_urbs() 545 int usb_wwan_suspend(struct usb_serial *serial, pm_message_t message) in usb_wwan_suspend() 568 struct usb_serial *serial = port->serial; in usb_wwan_submit_delayed_urbs() 600 int usb_wwan_resume(struct usb_serial *serial) in usb_wwan_resume()
|
A D | empeg.c | 34 static int empeg_startup(struct usb_serial *serial); 62 static int empeg_startup(struct usb_serial *serial) in empeg_startup()
|
A D | quatech2.c | 134 static void qt2_release(struct usb_serial *serial) in qt2_release() 245 static int qt2_calc_num_ports(struct usb_serial *serial, in qt2_calc_num_ports() 324 struct usb_serial *serial; in qt2_open() 394 struct usb_serial *serial; in qt2_close() 435 static void qt2_disconnect(struct usb_serial *serial) in qt2_disconnect() 456 struct usb_serial *serial; in qt2_process_read_urb() 572 struct usb_serial *serial = urb->context; in qt2_read_bulk_callback() 591 static int qt2_setup_urbs(struct usb_serial *serial) in qt2_setup_urbs() 622 static int qt2_attach(struct usb_serial *serial) in qt2_attach() 664 struct usb_serial *serial = port->serial; in qt2_port_probe()
|
A D | keyspan.c | 859 struct usb_serial *serial; in usa26_instat_callback() 978 struct usb_serial *serial; in usa28_instat_callback() 1033 struct usb_serial *serial; in usa49_glocont_callback() 1061 struct usb_serial *serial; in usa49_instat_callback() 1170 struct usb_serial *serial; in usa49wg_indat_callback() 1319 struct usb_serial *serial; in usa90_instat_callback() 1385 struct usb_serial *serial; in usa67_instat_callback() 1436 struct usb_serial *serial; in usa67_glocont_callback() 2744 struct usb_serial *serial = port->serial; in keyspan_send_setup() 2773 static int keyspan_startup(struct usb_serial *serial) in keyspan_startup() [all …]
|
A D | mos7720.c | 553 static int mos7715_parport_init(struct usb_serial *serial) in mos7715_parport_init() 820 static int mos77xx_calc_num_ports(struct usb_serial *serial, in mos77xx_calc_num_ports() 844 struct usb_serial *serial; in mos7720_open() 967 struct usb_serial *serial; in mos7720_close() 1003 struct usb_serial *serial; in mos7720_break() 1054 struct usb_serial *serial; in mos7720_write() 1183 struct usb_serial *serial; in set_higher_rates() 1315 struct usb_serial *serial; in send_cmd_write_baud_rate() 1362 struct usb_serial *serial; in change_port_settings() 1627 static int mos7720_startup(struct usb_serial *serial) in mos7720_startup() [all …]
|
A D | console.c | 64 struct usb_serial *serial; in usb_console_setup() 202 struct usb_serial *serial; in usb_console_write() 267 void usb_serial_console_disconnect(struct usb_serial *serial) in usb_serial_console_disconnect()
|
A D | ir-usb.c | 47 static int ir_startup (struct usb_serial *serial); 94 static inline void irda_usb_dump_class_desc(struct usb_serial *serial, in irda_usb_dump_class_desc() 124 irda_usb_find_class_desc(struct usb_serial *serial, unsigned int ifnum) in irda_usb_find_class_desc() 198 static int ir_startup(struct usb_serial *serial) in ir_startup()
|
A D | omninet.c | 37 static int omninet_calc_num_ports(struct usb_serial *serial, 103 static int omninet_calc_num_ports(struct usb_serial *serial, in omninet_calc_num_ports()
|
A D | qcserial.c | 227 static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id) in qcprobe() 425 static int qc_attach(struct usb_serial *serial) in qc_attach() 445 static void qc_release(struct usb_serial *serial) in qc_release()
|
A D | digi_acceleport.c | 232 static int digi_startup_device(struct usb_serial *serial); 233 static int digi_startup(struct usb_serial *serial); 234 static void digi_disconnect(struct usb_serial *serial); 235 static void digi_release(struct usb_serial *serial); 961 struct usb_serial *serial; in digi_write_bulk_callback() 1179 static int digi_startup_device(struct usb_serial *serial) in digi_startup_device() 1230 static int digi_startup(struct usb_serial *serial) in digi_startup() 1256 static void digi_disconnect(struct usb_serial *serial) in digi_disconnect() 1268 static void digi_release(struct usb_serial *serial) in digi_release() 1449 struct usb_serial *serial = port->serial; in digi_read_oob_callback()
|
A D | mct_u232.c | 120 static int mct_u232_calculate_baud_rate(struct usb_serial *serial, in mct_u232_calculate_baud_rate() 176 struct usb_serial *serial, struct usb_serial_port *port, speed_t value) in mct_u232_set_baud_rate() 380 struct usb_serial *serial = port->serial; in mct_u232_port_probe() 414 struct usb_serial *serial = port->serial; in mct_u232_open() 599 struct usb_serial *serial = port->serial; in mct_u232_set_termios()
|