/Linux-v4.19/include/linux/usb/ |
D | serial.h | 78 struct usb_serial *serial; 153 struct usb_serial { struct 172 #define to_usb_serial(d) container_of(d, struct usb_serial, kref) argument 175 static inline void *usb_get_serial_data(struct usb_serial *serial) in usb_get_serial_data() 180 static inline void usb_set_serial_data(struct usb_serial *serial, void *data) in usb_set_serial_data() 263 int (*probe)(struct usb_serial *serial, const struct usb_device_id *id); 264 int (*attach)(struct usb_serial *serial); 265 int (*calc_num_ports)(struct usb_serial *serial, 268 void (*disconnect)(struct usb_serial *serial); 269 void (*release)(struct usb_serial *serial); [all …]
|
/Linux-v4.19/drivers/usb/serial/ |
D | cp210x.c | 47 static int cp210x_attach(struct usb_serial *); 48 static void cp210x_disconnect(struct usb_serial *); 49 static void cp210x_release(struct usb_serial *); 487 static u8 cp210x_interface_num(struct usb_serial *serial) in cp210x_interface_num() 503 struct usb_serial *serial = port->serial; in cp210x_read_reg_block() 595 static int cp210x_read_vendor_block(struct usb_serial *serial, u8 type, u16 val, in cp210x_read_vendor_block() 631 struct usb_serial *serial = port->serial; in cp210x_write_u16_reg() 654 struct usb_serial *serial = port->serial; in cp210x_write_reg_block() 699 static int cp210x_write_vendor_block(struct usb_serial *serial, u8 type, in cp210x_write_vendor_block() 819 struct usb_serial *serial = port->serial; in cp210x_get_tx_queue_byte_count() [all …]
|
D | mxuport.c | 212 static int mxuport_recv_ctrl_urb(struct usb_serial *serial, in mxuport_recv_ctrl_urb() 243 static int mxuport_send_ctrl_data_urb(struct usb_serial *serial, in mxuport_send_ctrl_data_urb() 275 static int mxuport_send_ctrl_urb(struct usb_serial *serial, in mxuport_send_ctrl_urb() 294 struct usb_serial *serial = port->serial; in mxuport_throttle() 313 struct usb_serial *serial = port->serial; in mxuport_unthrottle() 473 struct usb_serial *serial = port->serial; in mxuport_process_read_urb_demux_data() 520 struct usb_serial *serial = port->serial; in mxuport_process_read_urb_demux_event() 564 struct usb_serial *serial = port->serial; in mxuport_process_read_urb() 579 struct usb_serial *serial = port->serial; in mxuport_tx_empty() 607 struct usb_serial *serial = port->serial; in mxuport_set_mcr() [all …]
|
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 …]
|
D | keyspan_pda.c | 48 struct usb_serial *serial; 113 struct usb_serial *serial = priv->serial; in keyspan_pda_request_unthrottle() 229 static speed_t keyspan_pda_setbaud(struct usb_serial *serial, speed_t baud) in keyspan_pda_setbaud() 291 struct usb_serial *serial = port->serial; in keyspan_pda_break_ctl() 316 struct usb_serial *serial = port->serial; in keyspan_pda_set_termios() 358 static int keyspan_pda_get_modem_info(struct usb_serial *serial, in keyspan_pda_get_modem_info() 382 static int keyspan_pda_set_modem_info(struct usb_serial *serial, in keyspan_pda_set_modem_info() 396 struct usb_serial *serial = port->serial; in keyspan_pda_tiocmget() 418 struct usb_serial *serial = port->serial; in keyspan_pda_tiocmset() 442 struct usb_serial *serial = port->serial; in keyspan_pda_write() [all …]
|
D | whiteheat.c | 74 static int whiteheat_firmware_download(struct usb_serial *serial, 76 static int whiteheat_firmware_attach(struct usb_serial *serial); 79 static int whiteheat_attach(struct usb_serial *serial); 80 static void whiteheat_release(struct usb_serial *serial); 152 static int start_command_port(struct usb_serial *serial); 153 static void stop_command_port(struct usb_serial *serial); 193 static int whiteheat_firmware_download(struct usb_serial *serial, in whiteheat_firmware_download() 208 static int whiteheat_firmware_attach(struct usb_serial *serial) in whiteheat_firmware_attach() 219 static int whiteheat_attach(struct usb_serial *serial) in whiteheat_attach() 326 static void whiteheat_release(struct usb_serial *serial) in whiteheat_release() [all …]
|
D | sierra.c | 85 static int sierra_calc_num_ports(struct usb_serial *serial, in sierra_calc_num_ports() 138 static u8 sierra_interface_num(struct usb_serial *serial) in sierra_interface_num() 143 static int sierra_probe(struct usb_serial *serial, in sierra_probe() 309 struct usb_serial *serial = port->serial; in sierra_send_setup() 439 struct usb_serial *serial = port->serial; in sierra_write() 586 struct usb_serial *serial = port->serial; in sierra_instat_callback() 719 static struct urb *sierra_setup_urb(struct usb_serial *serial, int endpoint, in sierra_setup_urb() 751 struct usb_serial *serial = port->serial; in sierra_close() 793 struct usb_serial *serial = port->serial; in sierra_open() 848 static int sierra_startup(struct usb_serial *serial) in sierra_startup() [all …]
|
D | usb-serial.c | 63 struct usb_serial *serial; in usb_serial_port_get_by_minor() 84 static int allocate_minors(struct usb_serial *serial, int num_ports) in allocate_minors() 113 static void release_minors(struct usb_serial *serial) in release_minors() 126 struct usb_serial *serial; in destroy_serial() 153 void usb_serial_put(struct usb_serial *serial) in usb_serial_put() 179 struct usb_serial *serial; in serial_install() 223 struct usb_serial *serial = port->serial; in serial_port_activate() 298 struct usb_serial *serial; in serial_cleanup() 353 struct usb_serial *serial = port->serial; in serial_chars_in_buffer() 366 struct usb_serial *serial = port->serial; in serial_wait_until_sent() [all …]
|
D | f81534.c | 190 static int f81534_logic_to_phy_port(struct usb_serial *serial, in f81534_logic_to_phy_port() 211 static int f81534_set_register(struct usb_serial *serial, u16 reg, u8 data) in f81534_set_register() 252 static int f81534_get_register(struct usb_serial *serial, u16 reg, u8 *data) in f81534_get_register() 295 static int f81534_set_mask_register(struct usb_serial *serial, u16 reg, in f81534_set_mask_register() 311 static int f81534_set_phy_port_register(struct usb_serial *serial, int phy, in f81534_set_phy_port_register() 318 static int f81534_get_phy_port_register(struct usb_serial *serial, int phy, in f81534_get_phy_port_register() 347 static int f81534_wait_for_spi_idle(struct usb_serial *serial) in f81534_wait_for_spi_idle() 378 static int f81534_get_spi_register(struct usb_serial *serial, u16 reg, in f81534_get_spi_register() 390 static int f81534_set_spi_register(struct usb_serial *serial, u16 reg, u8 data) in f81534_set_spi_register() 401 static int f81534_read_flash(struct usb_serial *serial, u32 address, in f81534_read_flash() [all …]
|
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() 299 struct usb_serial *serial = port->serial; in metrousb_tiocmset()
|
D | pl2303.c | 178 static int pl2303_vendor_read(struct usb_serial *serial, u16 value, in pl2303_vendor_read() 201 static int pl2303_vendor_write(struct usb_serial *serial, u16 value, u16 index) in pl2303_vendor_write() 220 static int pl2303_probe(struct usb_serial *serial, in pl2303_probe() 233 static int pl2303_endpoint_hack(struct usb_serial *serial, in pl2303_endpoint_hack() 263 static int pl2303_calc_num_ports(struct usb_serial *serial, in pl2303_calc_num_ports() 284 static int pl2303_startup(struct usb_serial *serial) in pl2303_startup() 336 static void pl2303_release(struct usb_serial *serial) in pl2303_release() 469 struct usb_serial *serial = port->serial; in pl2303_encode_baud_rate() 552 struct usb_serial *serial = port->serial; in pl2303_set_termios() 714 struct usb_serial *serial = port->serial; in pl2303_open() [all …]
|
D | usb-wwan.h | 24 extern int usb_wwan_suspend(struct usb_serial *serial, pm_message_t message); 25 extern int usb_wwan_resume(struct usb_serial *serial);
|
D | keyspan.c | 48 static int keyspan_startup(struct usb_serial *serial); 49 static void keyspan_disconnect(struct usb_serial *serial); 50 static void keyspan_release(struct usb_serial *serial); 64 static int keyspan_fake_startup(struct usb_serial *serial); 83 static int keyspan_usa28_send_setup(struct usb_serial *serial, 86 static int keyspan_usa26_send_setup(struct usb_serial *serial, 89 static int keyspan_usa49_send_setup(struct usb_serial *serial, 92 static int keyspan_usa90_send_setup(struct usb_serial *serial, 95 static int keyspan_usa67_send_setup(struct usb_serial *serial, 878 struct usb_serial *serial; in usa26_instat_callback() [all …]
|
D | empeg.c | 34 static int empeg_startup(struct usb_serial *serial); 62 static int empeg_startup(struct usb_serial *serial) in empeg_startup()
|
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()
|
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() 338 struct usb_serial *serial; in qt2_open() 408 struct usb_serial *serial; in qt2_close() 449 static void qt2_disconnect(struct usb_serial *serial) in qt2_disconnect() 520 struct usb_serial *serial; in qt2_process_read_urb() 640 struct usb_serial *serial = urb->context; in qt2_read_bulk_callback() 659 static int qt2_setup_urbs(struct usb_serial *serial) in qt2_setup_urbs() 690 static int qt2_attach(struct usb_serial *serial) in qt2_attach() 732 struct usb_serial *serial = port->serial; in qt2_port_probe()
|
D | ir-usb.c | 47 static int ir_startup (struct usb_serial *serial); 89 static inline void irda_usb_dump_class_desc(struct usb_serial *serial, in irda_usb_dump_class_desc() 119 irda_usb_find_class_desc(struct usb_serial *serial, unsigned int ifnum) in irda_usb_find_class_desc() 193 static int ir_startup(struct usb_serial *serial) in ir_startup()
|
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() 206 struct usb_serial *serial = port->serial; in ark3116_set_termios() 324 struct usb_serial *serial = port->serial; in ark3116_close() 340 struct usb_serial *serial = port->serial; in ark3116_open()
|
D | usb_wwan.c | 42 struct usb_serial *serial = port->serial; in usb_wwan_send_setup() 398 struct usb_serial *serial = port->serial; in usb_wwan_open() 453 struct usb_serial *serial = port->serial; in usb_wwan_close() 492 struct usb_serial *serial = port->serial; in usb_wwan_setup_urb() 592 static void stop_urbs(struct usb_serial *serial) in stop_urbs() 611 int usb_wwan_suspend(struct usb_serial *serial, pm_message_t message) in usb_wwan_suspend() 634 struct usb_serial *serial = port->serial; in usb_wwan_submit_delayed_urbs() 666 int usb_wwan_resume(struct usb_serial *serial) in usb_wwan_resume()
|
D | console.c | 64 struct usb_serial *serial; in usb_console_setup() 199 struct usb_serial *serial; in usb_console_write() 264 void usb_serial_console_disconnect(struct usb_serial *serial) in usb_serial_console_disconnect()
|
D | omninet.c | 36 static int omninet_calc_num_ports(struct usb_serial *serial, 101 static int omninet_calc_num_ports(struct usb_serial *serial, in omninet_calc_num_ports()
|
D | mos7720.c | 105 struct usb_serial *serial; /* back to containing struct */ 194 static int write_mos_reg(struct usb_serial *serial, unsigned int serial_portnum, in write_mos_reg() 216 static int read_mos_reg(struct usb_serial *serial, unsigned int serial_portnum, in read_mos_reg() 361 struct usb_serial *serial = mos_parport->serial; in write_parport_reg_nonblock() 703 static int mos7715_parport_init(struct usb_serial *serial) in mos7715_parport_init() 974 static int mos77xx_calc_num_ports(struct usb_serial *serial, in mos77xx_calc_num_ports() 998 struct usb_serial *serial; in mos7720_open() 1128 struct usb_serial *serial; in mos7720_close() 1164 struct usb_serial *serial; in mos7720_break() 1221 struct usb_serial *serial; in mos7720_write() [all …]
|
D | qcserial.c | 220 static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id) in qcprobe() 419 static int qc_attach(struct usb_serial *serial) in qc_attach() 439 static void qc_release(struct usb_serial *serial) in qc_release()
|
D | digi_acceleport.c | 233 static int digi_startup_device(struct usb_serial *serial); 234 static int digi_startup(struct usb_serial *serial); 235 static void digi_disconnect(struct usb_serial *serial); 236 static void digi_release(struct usb_serial *serial); 984 struct usb_serial *serial; in digi_write_bulk_callback() 1200 static int digi_startup_device(struct usb_serial *serial) in digi_startup_device() 1253 static int digi_startup(struct usb_serial *serial) in digi_startup() 1279 static void digi_disconnect(struct usb_serial *serial) in digi_disconnect() 1291 static void digi_release(struct usb_serial *serial) in digi_release() 1474 struct usb_serial *serial = port->serial; in digi_read_oob_callback()
|
D | mct_u232.c | 119 static int mct_u232_calculate_baud_rate(struct usb_serial *serial, in mct_u232_calculate_baud_rate() 175 struct usb_serial *serial, struct usb_serial_port *port, speed_t value) in mct_u232_set_baud_rate() 379 struct usb_serial *serial = port->serial; in mct_u232_port_probe() 415 struct usb_serial *serial = port->serial; in mct_u232_open() 600 struct usb_serial *serial = port->serial; in mct_u232_set_termios()
|