Home
last modified time | relevance | path

Searched defs:serial (Results 1 – 25 of 114) sorted by relevance

12345

/drivers/usb/serial/
Dmxuport.c212 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() local
313 struct usb_serial *serial = port->serial; in mxuport_unthrottle() local
473 struct usb_serial *serial = port->serial; in mxuport_process_read_urb_demux_data() local
520 struct usb_serial *serial = port->serial; in mxuport_process_read_urb_demux_event() local
564 struct usb_serial *serial = port->serial; in mxuport_process_read_urb() local
579 struct usb_serial *serial = port->serial; in mxuport_tx_empty() local
607 struct usb_serial *serial = port->serial; in mxuport_set_mcr() local
[all …]
Dkeyspan_pda.c48 struct usb_serial *serial; member
113 struct usb_serial *serial = priv->serial; in keyspan_pda_request_unthrottle() local
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() local
316 struct usb_serial *serial = port->serial; in keyspan_pda_set_termios() local
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() local
418 struct usb_serial *serial = port->serial; in keyspan_pda_tiocmset() local
442 struct usb_serial *serial = port->serial; in keyspan_pda_write() local
[all …]
Dusb-serial.c63 struct usb_serial *serial; in usb_serial_port_get_by_minor() local
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() local
153 void usb_serial_put(struct usb_serial *serial) in usb_serial_put()
179 struct usb_serial *serial; in serial_install() local
226 struct usb_serial *serial = port->serial; in serial_port_activate() local
301 struct usb_serial *serial; in serial_cleanup() local
353 struct usb_serial *serial = port->serial; in serial_chars_in_buffer() local
366 struct usb_serial *serial = port->serial; in serial_wait_until_sent() local
[all …]
Dsierra.c85 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() local
439 struct usb_serial *serial = port->serial; in sierra_write() local
586 struct usb_serial *serial = port->serial; in sierra_instat_callback() local
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() local
793 struct usb_serial *serial = port->serial; in sierra_open() local
848 static int sierra_startup(struct usb_serial *serial) in sierra_startup()
[all …]
Dcp210x.c512 static u8 cp210x_interface_num(struct usb_serial *serial) in cp210x_interface_num()
528 struct usb_serial *serial = port->serial; in cp210x_read_reg_block() local
620 static int cp210x_read_vendor_block(struct usb_serial *serial, u8 type, u16 val, in cp210x_read_vendor_block()
656 struct usb_serial *serial = port->serial; in cp210x_write_u16_reg() local
679 struct usb_serial *serial = port->serial; in cp210x_write_reg_block() local
724 static int cp210x_write_vendor_block(struct usb_serial *serial, u8 type, in cp210x_write_vendor_block()
844 struct usb_serial *serial = port->serial; in cp210x_get_tx_queue_byte_count() local
1122 struct usb_serial *serial = port->serial; in cp210x_change_speed() local
1356 struct usb_serial *serial = gpiochip_get_data(gc); in cp210x_gpio_request() local
1367 struct usb_serial *serial = gpiochip_get_data(gc); in cp210x_gpio_get() local
[all …]
Dvisor.c311 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()
467 static int visor_calc_num_ports(struct usb_serial *serial, in visor_calc_num_ports()
502 static int clie_5_calc_num_ports(struct usb_serial *serial, in clie_5_calc_num_ports()
521 static int clie_3_5_startup(struct usb_serial *serial) in clie_3_5_startup()
Dpl2303.c189 static int pl2303_vendor_read(struct usb_serial *serial, u16 value, in pl2303_vendor_read()
212 static int pl2303_vendor_write(struct usb_serial *serial, u16 value, u16 index) in pl2303_vendor_write()
231 static int pl2303_update_reg(struct usb_serial *serial, u8 reg, u8 mask, u8 val) in pl2303_update_reg()
254 static int pl2303_probe(struct usb_serial *serial, in pl2303_probe()
267 static int pl2303_endpoint_hack(struct usb_serial *serial, in pl2303_endpoint_hack()
297 static int pl2303_calc_num_ports(struct usb_serial *serial, in pl2303_calc_num_ports()
318 static int pl2303_startup(struct usb_serial *serial) in pl2303_startup()
370 static void pl2303_release(struct usb_serial *serial) in pl2303_release()
503 struct usb_serial *serial = port->serial; in pl2303_encode_baud_rate() local
600 struct usb_serial *serial = port->serial; in pl2303_set_termios() local
[all …]
Dio_ti.c124 struct usb_serial *serial; member
382 static int read_boot_mem(struct edgeport_serial *serial, in read_boot_mem()
408 static int write_boot_mem(struct edgeport_serial *serial, in write_boot_mem()
442 static int write_i2c_mem(struct edgeport_serial *serial, in write_i2c_mem()
599 static int read_rom(struct edgeport_serial *serial, in read_rom()
617 static int write_rom(struct edgeport_serial *serial, int start_address, in write_rom()
631 static int get_descriptor_addr(struct edgeport_serial *serial, in get_descriptor_addr()
675 static int check_i2c_image(struct edgeport_serial *serial) in check_i2c_image()
755 static int get_manuf_info(struct edgeport_serial *serial, __u8 *buffer) in get_manuf_info()
866 static int i2c_type_bootmode(struct edgeport_serial *serial) in i2c_type_bootmode()
[all …]
Dark3116.c50 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() local
196 struct usb_serial *serial = port->serial; in ark3116_set_termios() local
314 struct usb_serial *serial = port->serial; in ark3116_close() local
330 struct usb_serial *serial = port->serial; in ark3116_open() local
Df81534.c193 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()
255 static int f81534_get_register(struct usb_serial *serial, u16 reg, u8 *data) in f81534_get_register()
298 static int f81534_set_mask_register(struct usb_serial *serial, u16 reg, in f81534_set_mask_register()
314 static int f81534_set_phy_port_register(struct usb_serial *serial, int phy, in f81534_set_phy_port_register()
321 static int f81534_get_phy_port_register(struct usb_serial *serial, int phy, in f81534_get_phy_port_register()
350 static int f81534_wait_for_spi_idle(struct usb_serial *serial) in f81534_wait_for_spi_idle()
381 static int f81534_get_spi_register(struct usb_serial *serial, u16 reg, in f81534_get_spi_register()
393 static int f81534_set_spi_register(struct usb_serial *serial, u16 reg, u8 data) in f81534_set_spi_register()
404 static int f81534_read_flash(struct usb_serial *serial, u32 address, in f81534_read_flash()
[all …]
Dusb_wwan.c42 struct usb_serial *serial = port->serial; in usb_wwan_send_setup() local
369 struct usb_serial *serial = port->serial; in usb_wwan_open() local
424 struct usb_serial *serial = port->serial; in usb_wwan_close() local
463 struct usb_serial *serial = port->serial; in usb_wwan_setup_urb() local
567 static void stop_urbs(struct usb_serial *serial) in stop_urbs()
586 int usb_wwan_suspend(struct usb_serial *serial, pm_message_t message) in usb_wwan_suspend()
609 struct usb_serial *serial = port->serial; in usb_wwan_submit_delayed_urbs() local
641 int usb_wwan_resume(struct usb_serial *serial) in usb_wwan_resume()
Dkeyspan.c878 struct usb_serial *serial; in usa26_instat_callback() local
997 struct usb_serial *serial; in usa28_instat_callback() local
1052 struct usb_serial *serial; in usa49_glocont_callback() local
1080 struct usb_serial *serial; in usa49_instat_callback() local
1189 struct usb_serial *serial; in usa49wg_indat_callback() local
1338 struct usb_serial *serial; in usa90_instat_callback() local
1404 struct usb_serial *serial; in usa67_instat_callback() local
1455 struct usb_serial *serial; in usa67_glocont_callback() local
1620 static int keyspan_fake_startup(struct usb_serial *serial) in keyspan_fake_startup()
1706 static struct usb_endpoint_descriptor const *find_ep(struct usb_serial const *serial, in find_ep()
[all …]
Dipaq.c518 struct usb_serial *serial = port->serial; in ipaq_open() local
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()
Dmetro-usb.c58 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() local
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() local
Dquatech2.c134 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() local
408 struct usb_serial *serial; in qt2_close() local
449 static void qt2_disconnect(struct usb_serial *serial) in qt2_disconnect()
500 struct usb_serial *serial; in qt2_process_read_urb() local
617 struct usb_serial *serial = urb->context; in qt2_read_bulk_callback() local
636 static int qt2_setup_urbs(struct usb_serial *serial) in qt2_setup_urbs()
667 static int qt2_attach(struct usb_serial *serial) in qt2_attach()
709 struct usb_serial *serial = port->serial; in qt2_port_probe() local
Dmos7720.c105 struct usb_serial *serial; /* back to containing struct */ member
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() local
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() local
1128 struct usb_serial *serial; in mos7720_close() local
1164 struct usb_serial *serial; in mos7720_break() local
1221 struct usb_serial *serial; in mos7720_write() local
[all …]
Dwhiteheat.c193 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()
783 static int start_command_port(struct usb_serial *serial) in start_command_port()
812 static void stop_command_port(struct usb_serial *serial) in stop_command_port()
Dqcserial.c220 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()
Dconsole.c64 struct usb_serial *serial; in usb_console_setup() local
199 struct usb_serial *serial; in usb_console_write() local
264 void usb_serial_console_disconnect(struct usb_serial *serial) in usb_serial_console_disconnect()
Dmct_u232.c119 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() local
415 struct usb_serial *serial = port->serial; in mct_u232_open() local
600 struct usb_serial *serial = port->serial; in mct_u232_set_termios() local
Dmos7840.c598 struct usb_serial *serial; in mos7840_interrupt_callback() local
697 static int mos7840_serial_paranoia_check(struct usb_serial *serial, in mos7840_serial_paranoia_check()
737 struct usb_serial *serial; in mos7840_bulk_in_callback() local
846 struct usb_serial *serial; in mos7840_open() local
1155 struct usb_serial *serial; in mos7840_close() local
1214 struct usb_serial *serial; in mos7840_break() local
1295 struct usb_serial *serial; in mos7840_write() local
1848 struct usb_serial *serial; in mos7840_set_termios() local
1970 static int mos7810_check(struct usb_serial *serial) in mos7810_check()
2024 static int mos7840_probe(struct usb_serial *serial, in mos7840_probe()
[all …]
Dir-usb.c91 static inline void irda_usb_dump_class_desc(struct usb_serial *serial, in irda_usb_dump_class_desc()
121 irda_usb_find_class_desc(struct usb_serial *serial, unsigned int ifnum) in irda_usb_find_class_desc()
195 static int ir_startup(struct usb_serial *serial) in ir_startup()
Dftdi_sio.c1555 struct usb_serial *serial = port->serial; in ftdi_determine_type() local
1793 struct usb_serial *serial = port->serial; in ftdi_set_bitmode() local
1862 struct usb_serial *serial = port->serial; in ftdi_read_cbus_pins() local
1999 static int ftdi_read_eeprom(struct usb_serial *serial, void *dst, u16 addr, in ftdi_read_eeprom()
2108 struct usb_serial *serial = port->serial; in ftdi_gpio_init_ftx() local
2143 struct usb_serial *serial = port->serial; in ftdi_gpio_init() local
2220 static int ftdi_sio_probe(struct usb_serial *serial, in ftdi_sio_probe()
2304 static int ftdi_NDI_device_setup(struct usb_serial *serial) in ftdi_NDI_device_setup()
2330 static int ftdi_jtag_probe(struct usb_serial *serial) in ftdi_jtag_probe()
2344 static int ftdi_8u2232c_probe(struct usb_serial *serial) in ftdi_8u2232c_probe()
[all …]
/drivers/net/usb/
Dhso.c517 static int hso_urb_to_index(struct hso_serial *serial, struct urb *urb) in hso_urb_to_index()
603 struct hso_serial *serial = NULL; in get_serial_by_index() local
632 static void set_serial_by_index(unsigned index, struct hso_serial *serial) in set_serial_by_index()
1088 struct hso_serial *serial = tty->driver_data; in _hso_serial_set_termios() local
1114 static void hso_resubmit_rx_bulk_urb(struct hso_serial *serial, struct urb *urb) in hso_resubmit_rx_bulk_urb()
1137 static void put_rxbuf_data_and_resubmit_bulk_urb(struct hso_serial *serial) in put_rxbuf_data_and_resubmit_bulk_urb()
1156 static void put_rxbuf_data_and_resubmit_ctrl_urb(struct hso_serial *serial) in put_rxbuf_data_and_resubmit_ctrl_urb()
1181 struct hso_serial *serial = urb->context; in hso_std_serial_read_bulk_callback() local
1217 static void hso_unthrottle_tasklet(struct hso_serial *serial) in hso_unthrottle_tasklet()
1231 struct hso_serial *serial = tty->driver_data; in hso_unthrottle() local
[all …]
/drivers/staging/fwserial/
Dfwserial.c834 static int fwtty_ports_add(struct fw_serial *serial) in fwtty_ports_add()
859 struct fw_serial *serial = to_serial(kref, kref); in fwserial_destroy() local
1467 struct fw_serial *serial = m->private; in fwtty_stats_show() local
1487 struct fw_serial *serial = m->private; in fwtty_peers_show() local
1869 struct fw_serial *serial; in fwserial_lookup() local
1887 struct fw_serial *serial; in __fwserial_lookup_rcu() local
1912 struct fw_serial *serial; in __fwserial_peer_by_node_id() local
1942 struct fw_serial *serial; in __dump_peer_list() local
1994 static int fwserial_add_peer(struct fw_serial *serial, struct fw_unit *unit) in fwserial_add_peer()
2144 struct fw_serial *serial; in fwserial_create() local
[all …]

12345