Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 200 of 1112) sorted by relevance

123456

/linux-4.1.27/drivers/net/usb/
Dhso.c254 int (*write_data) (struct hso_serial *serial);
318 static int put_rxbuf_data(struct urb *urb, struct hso_serial *serial);
319 static void hso_kick_transmit(struct hso_serial *serial);
336 static int hso_mux_serial_read(struct hso_serial *serial);
541 static int hso_urb_to_index(struct hso_serial *serial, struct urb *urb) in hso_urb_to_index() argument
545 for (idx = 0; idx < serial->num_rx_urbs; idx++) in hso_urb_to_index()
546 if (serial->rx_urb[idx] == urb) in hso_urb_to_index()
548 dev_err(serial->parent->dev, "hso_urb_to_index failed\n"); in hso_urb_to_index()
627 struct hso_serial *serial = NULL; in get_serial_by_index() local
632 serial = dev2ser(serial_table[index]); in get_serial_by_index()
[all …]
Dlg-vl600.c51 __le32 serial; member
254 static uint32_t serial = 1; in vl600_tx_fixup() local
310 frame->serial = cpu_to_le32(serial++); in vl600_tx_fixup()
/linux-4.1.27/drivers/usb/serial/
Dusb-serial.c67 struct usb_serial *serial; in usb_serial_port_get_by_minor() local
75 serial = port->serial; in usb_serial_port_get_by_minor()
76 mutex_lock(&serial->disc_mutex); in usb_serial_port_get_by_minor()
77 if (serial->disconnected) { in usb_serial_port_get_by_minor()
78 mutex_unlock(&serial->disc_mutex); in usb_serial_port_get_by_minor()
81 kref_get(&serial->kref); in usb_serial_port_get_by_minor()
88 static int allocate_minors(struct usb_serial *serial, int num_ports) in allocate_minors() argument
94 dev_dbg(&serial->interface->dev, "%s %d\n", __func__, num_ports); in allocate_minors()
98 port = serial->port[i]; in allocate_minors()
105 serial->minors_reserved = 1; in allocate_minors()
[all …]
Dmxuport.c216 static int mxuport_recv_ctrl_urb(struct usb_serial *serial, in mxuport_recv_ctrl_urb() argument
222 status = usb_control_msg(serial->dev, in mxuport_recv_ctrl_urb()
223 usb_rcvctrlpipe(serial->dev, 0), in mxuport_recv_ctrl_urb()
230 dev_err(&serial->interface->dev, in mxuport_recv_ctrl_urb()
237 dev_err(&serial->interface->dev, in mxuport_recv_ctrl_urb()
247 static int mxuport_send_ctrl_data_urb(struct usb_serial *serial, in mxuport_send_ctrl_data_urb() argument
254 status = usb_control_msg(serial->dev, in mxuport_send_ctrl_data_urb()
255 usb_sndctrlpipe(serial->dev, 0), in mxuport_send_ctrl_data_urb()
262 dev_err(&serial->interface->dev, in mxuport_send_ctrl_data_urb()
269 dev_err(&serial->interface->dev, in mxuport_send_ctrl_data_urb()
[all …]
Dark3116.c54 static int is_irda(struct usb_serial *serial) in is_irda() argument
56 struct usb_device *dev = serial->dev; in is_irda()
81 static int ark3116_write_reg(struct usb_serial *serial, in ark3116_write_reg() argument
86 result = usb_control_msg(serial->dev, in ark3116_write_reg()
87 usb_sndctrlpipe(serial->dev, 0), in ark3116_write_reg()
93 static int ark3116_read_reg(struct usb_serial *serial, in ark3116_read_reg() argument
98 result = usb_control_msg(serial->dev, in ark3116_read_reg()
99 usb_rcvctrlpipe(serial->dev, 0), in ark3116_read_reg()
118 static int ark3116_attach(struct usb_serial *serial) in ark3116_attach() argument
121 if ((serial->num_bulk_in == 0) || in ark3116_attach()
[all …]
Dvisor.c41 static int visor_probe(struct usb_serial *serial,
43 static int visor_calc_num_ports(struct usb_serial *serial);
45 static int clie_3_5_startup(struct usb_serial *serial);
46 static int treo_attach(struct usb_serial *serial);
47 static int clie_5_attach(struct usb_serial *serial);
48 static int palm_os_3_probe(struct usb_serial *serial,
50 static int palm_os_4_probe(struct usb_serial *serial,
265 usb_control_msg(port->serial->dev, in visor_close()
266 usb_rcvctrlpipe(port->serial->dev, 0), in visor_close()
314 static int palm_os_3_probe(struct usb_serial *serial, in palm_os_3_probe() argument
[all …]
Dmos7720.c110 struct usb_serial *serial; /* back to containing struct */ member
199 static int write_mos_reg(struct usb_serial *serial, unsigned int serial_portnum, in write_mos_reg() argument
202 struct usb_device *usbdev = serial->dev; in write_mos_reg()
221 static int read_mos_reg(struct usb_serial *serial, unsigned int serial_portnum, in read_mos_reg() argument
224 struct usb_device *usbdev = serial->dev; in read_mos_reg()
255 write_mos_reg(mos_parport->serial, dummy, ECR, mos_parport->shadowECR); in mos7715_change_mode()
294 if (unlikely(mos_parport->serial == NULL)) in send_deferred_urbs()
297 dev = &mos_parport->serial->dev->dev; in send_deferred_urbs()
300 if (!mutex_trylock(&mos_parport->serial->disc_mutex)) { in send_deferred_urbs()
307 if (unlikely(mos_parport->serial->disconnected)) { in send_deferred_urbs()
[all …]
Dkeyspan_pda.c52 struct usb_serial *serial; member
117 struct usb_serial *serial = priv->serial; in keyspan_pda_request_unthrottle() local
122 result = usb_control_msg(serial->dev, in keyspan_pda_request_unthrottle()
123 usb_sndctrlpipe(serial->dev, 0), in keyspan_pda_request_unthrottle()
133 dev_dbg(&serial->dev->dev, "%s - error %d from usb_control_msg\n", in keyspan_pda_request_unthrottle()
224 static speed_t keyspan_pda_setbaud(struct usb_serial *serial, speed_t baud) in keyspan_pda_setbaud() argument
267 rc = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in keyspan_pda_setbaud()
286 struct usb_serial *serial = port->serial; in keyspan_pda_break_ctl() local
294 result = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in keyspan_pda_break_ctl()
311 struct usb_serial *serial = port->serial; in keyspan_pda_set_termios() local
[all …]
Dconsole.c67 struct usb_serial *serial; in usb_console_setup() local
119 serial = port->serial; in usb_console_setup()
121 retval = usb_autopm_get_interface(serial->interface); in usb_console_setup()
131 if (serial->type->set_termios) { in usb_console_setup()
159 retval = serial->type->open(NULL, port); in usb_console_setup()
165 if (serial->type->set_termios) { in usb_console_setup()
169 serial->type->set_termios(tty, port, &dummy); in usb_console_setup()
183 mutex_unlock(&serial->disc_mutex); in usb_console_setup()
192 usb_autopm_put_interface(serial->interface); in usb_console_setup()
194 usb_serial_put(serial); in usb_console_setup()
[all …]
Dsierra.c88 static int sierra_calc_num_ports(struct usb_serial *serial) in sierra_calc_num_ports() argument
93 ifnum = serial->interface->cur_altsetting->desc.bInterfaceNumber; in sierra_calc_num_ports()
94 numendpoints = serial->interface->cur_altsetting->desc.bNumEndpoints; in sierra_calc_num_ports()
140 static int sierra_calc_interface(struct usb_serial *serial) in sierra_calc_interface() argument
147 p_interface = serial->interface; in sierra_calc_interface()
160 static int sierra_probe(struct usb_serial *serial, in sierra_probe() argument
167 udev = serial->dev; in sierra_probe()
168 ifnum = sierra_calc_interface(serial); in sierra_probe()
174 if (serial->interface->num_altsetting == 2) { in sierra_probe()
182 ifnum = sierra_calc_interface(serial); in sierra_probe()
[all …]
Dwhiteheat.c78 static int whiteheat_firmware_download(struct usb_serial *serial,
80 static int whiteheat_firmware_attach(struct usb_serial *serial);
83 static int whiteheat_probe(struct usb_serial *serial,
85 static int whiteheat_attach(struct usb_serial *serial);
86 static void whiteheat_release(struct usb_serial *serial);
157 static int start_command_port(struct usb_serial *serial);
158 static void stop_command_port(struct usb_serial *serial);
198 static int whiteheat_firmware_download(struct usb_serial *serial, in whiteheat_firmware_download() argument
203 response = ezusb_fx1_ihex_firmware_download(serial->dev, "whiteheat_loader.fw"); in whiteheat_firmware_download()
205 response = ezusb_fx1_ihex_firmware_download(serial->dev, "whiteheat.fw"); in whiteheat_firmware_download()
[all …]
Dpl2303.c170 static int pl2303_vendor_read(struct usb_serial *serial, u16 value, in pl2303_vendor_read() argument
173 struct device *dev = &serial->interface->dev; in pl2303_vendor_read()
176 res = usb_control_msg(serial->dev, usb_rcvctrlpipe(serial->dev, 0), in pl2303_vendor_read()
193 static int pl2303_vendor_write(struct usb_serial *serial, u16 value, u16 index) in pl2303_vendor_write() argument
195 struct device *dev = &serial->interface->dev; in pl2303_vendor_write()
200 res = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in pl2303_vendor_write()
212 static int pl2303_probe(struct usb_serial *serial, in pl2303_probe() argument
215 usb_set_serial_data(serial, (void *)id->driver_info); in pl2303_probe()
220 static int pl2303_startup(struct usb_serial *serial) in pl2303_startup() argument
236 if (serial->dev->descriptor.bDeviceClass == 0x02) in pl2303_startup()
[all …]
Dquatech2.c138 static void qt2_release(struct usb_serial *serial) in qt2_release() argument
142 serial_priv = usb_get_serial_data(serial); in qt2_release()
223 struct usb_device *dev = port->serial->dev; in update_mctrl()
249 static int qt2_calc_num_ports(struct usb_serial *serial) in qt2_calc_num_ports() argument
255 if (d.product_id == le16_to_cpu(serial->dev->descriptor.idProduct)) in qt2_calc_num_ports()
260 dev_err(&serial->dev->dev, in qt2_calc_num_ports()
270 struct usb_device *dev = port->serial->dev; in qt2_set_termios()
341 struct usb_serial *serial; in qt2_open() local
350 serial = port->serial; in qt2_open()
355 status = qt2_control_msg(serial->dev, QT2_GET_SET_QMCR, in qt2_open()
[all …]
Dio_ti.c103 struct usb_serial *serial; member
263 return send_cmd(port->serial->dev, in purge_port()
335 static int read_boot_mem(struct edgeport_serial *serial, in read_boot_mem() argument
342 status = ti_vread_sync(serial->serial->dev, in read_boot_mem()
343 UMPC_MEMORY_READ, serial->TI_I2C_Type, in read_boot_mem()
346 dev_dbg(&serial->serial->dev->dev, "%s - ERROR %x\n", __func__, status); in read_boot_mem()
351 dev_dbg(&serial->serial->dev->dev, "%s - start_address = %x, length = %d\n", in read_boot_mem()
353 usb_serial_debug_data(&serial->serial->dev->dev, __func__, length, buffer); in read_boot_mem()
355 serial->TiReadI2C = 1; in read_boot_mem()
361 static int write_boot_mem(struct edgeport_serial *serial, in write_boot_mem() argument
[all …]
Dusb_wwan.c44 intfdata = usb_get_serial_data(port->serial); in usb_wwan_dtr_rts()
85 intfdata = usb_get_serial_data(port->serial); in usb_wwan_tiocmset()
193 intfdata = usb_get_serial_data(port->serial); in usb_wwan_write()
215 err = usb_autopm_get_interface_async(port->serial->interface); in usb_wwan_write()
242 usb_autopm_put_interface_async(port->serial->interface); in usb_wwan_write()
289 usb_mark_last_busy(port->serial->dev); in usb_wwan_indat_callback()
292 usb_mark_last_busy(port->serial->dev); in usb_wwan_indat_callback()
304 intfdata = usb_get_serial_data(port->serial); in usb_wwan_outdat_callback()
307 usb_autopm_put_interface_async(port->serial->interface); in usb_wwan_outdat_callback()
369 struct usb_serial *serial = port->serial; in usb_wwan_open() local
[all …]
Dmos7840.c259 struct usb_device *dev = port->serial->dev; in mos7840_set_reg_sync()
277 struct usb_device *dev = port->serial->dev; in mos7840_get_reg_sync()
305 struct usb_device *dev = port->serial->dev; in mos7840_set_uart_reg()
309 if (port->serial->num_ports == 4) { in mos7840_set_uart_reg()
333 struct usb_device *dev = port->serial->dev; in mos7840_get_uart_reg()
343 if (port->serial->num_ports == 4) { in mos7840_get_uart_reg()
490 struct usb_device *dev = mcs->port->serial->dev; in mos7840_get_reg()
537 struct usb_device *dev = mcs->port->serial->dev; in mos7840_set_led_async()
555 struct usb_device *dev = port->serial->dev; in mos7840_set_led_sync()
601 struct usb_serial *serial; in mos7840_interrupt_callback() local
[all …]
Dkeyspan.c378 keyspan_usa26_send_setup(port->serial, port, in usa26_outcont_callback()
387 struct usb_serial *serial; in usa26_instat_callback() local
393 serial = urb->context; in usa26_instat_callback()
407 if (msg->port >= serial->num_ports) { in usa26_instat_callback()
411 port = serial->port[msg->port]; in usa26_instat_callback()
495 keyspan_usa28_send_setup(port->serial, port, in usa28_outcont_callback()
505 struct usb_serial *serial; in usa28_instat_callback() local
511 serial = urb->context; in usa28_instat_callback()
526 if (msg->port >= serial->num_ports) { in usa28_instat_callback()
530 port = serial->port[msg->port]; in usa28_instat_callback()
[all …]
Dipaq.c36 static int ipaq_calc_num_ports(struct usb_serial *serial);
37 static int ipaq_startup(struct usb_serial *serial);
521 struct usb_serial *serial = port->serial; in ipaq_open() local
536 result = usb_control_msg(serial->dev, in ipaq_open()
537 usb_sndctrlpipe(serial->dev, 0), 0x22, 0x21, in ipaq_open()
553 static int ipaq_calc_num_ports(struct usb_serial *serial) in ipaq_calc_num_ports() argument
562 dev_dbg(&serial->dev->dev, "%s - numberofendpoints: %d\n", __func__, in ipaq_calc_num_ports()
563 (int)serial->interface->cur_altsetting->desc.bNumEndpoints); in ipaq_calc_num_ports()
571 if (serial->interface->cur_altsetting->desc.bNumEndpoints > 3) { in ipaq_calc_num_ports()
579 static int ipaq_startup(struct usb_serial *serial) in ipaq_startup() argument
[all …]
Dmetro-usb.c59 port->serial->dev->descriptor.idProduct); in metrousb_is_unidirectional_mode()
79 ret = usb_interrupt_msg(port->serial->dev, in metrousb_send_unidirectional_cmd()
80 usb_sndintpipe(port->serial->dev, port->interrupt_out_endpointAddress), in metrousb_send_unidirectional_cmd()
140 usb_fill_int_urb(port->interrupt_in_urb, port->serial->dev, in metrousb_read_int_callback()
141 usb_rcvintpipe(port->serial->dev, port->interrupt_in_endpointAddress), in metrousb_read_int_callback()
184 struct usb_serial *serial = port->serial; in metrousb_open() local
205 usb_clear_halt(serial->dev, port->interrupt_in_urb->pipe); in metrousb_open()
208 usb_fill_int_urb(port->interrupt_in_urb, serial->dev, in metrousb_open()
209 usb_rcvintpipe(serial->dev, port->interrupt_in_endpointAddress), in metrousb_open()
236 static int metrousb_set_modem_ctrl(struct usb_serial *serial, unsigned int control_state) in metrousb_set_modem_ctrl() argument
[all …]
Dkobil_sct.c118 struct usb_serial *serial = port->serial; in kobil_port_probe() local
127 priv->device_type = le16_to_cpu(serial->dev->descriptor.idProduct); in kobil_port_probe()
131 dev_dbg(&serial->dev->dev, "KOBIL B1 PRO / KAAN PRO detected\n"); in kobil_port_probe()
134 dev_dbg(&serial->dev->dev, "KOBIL KAAN Standard Plus / SecOVID Reader Plus detected\n"); in kobil_port_probe()
137 dev_dbg(&serial->dev->dev, "KOBIL USBTWIN detected\n"); in kobil_port_probe()
140 dev_dbg(&serial->dev->dev, "KOBIL KAAN SIM detected\n"); in kobil_port_probe()
185 result = usb_control_msg(port->serial->dev, in kobil_open()
186 usb_rcvctrlpipe(port->serial->dev, 0), in kobil_open()
200 result = usb_control_msg(port->serial->dev, in kobil_open()
201 usb_rcvctrlpipe(port->serial->dev, 0), in kobil_open()
[all …]
Domninet.c40 static void omninet_disconnect(struct usb_serial *serial);
132 struct usb_serial *serial = port->serial; in omninet_open() local
135 wport = serial->port[1]; in omninet_open()
165 struct usb_serial *serial = port->serial; in omninet_write() local
166 struct usb_serial_port *wport = serial->port[1]; in omninet_write()
216 struct usb_serial *serial = port->serial; in omninet_write_room() local
217 struct usb_serial_port *wport = serial->port[1]; in omninet_write_room()
247 static void omninet_disconnect(struct usb_serial *serial) in omninet_disconnect() argument
249 struct usb_serial_port *wport = serial->port[1]; in omninet_disconnect()
Dqcserial.c209 static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id) in qcprobe() argument
211 struct usb_host_interface *intf = serial->interface->cur_altsetting; in qcprobe()
212 struct device *dev = &serial->dev->dev; in qcprobe()
222 nintf = serial->dev->actconfig->desc.bNumInterfaces; in qcprobe()
230 if (serial->interface->num_altsetting == 2) in qcprobe()
231 intf = &serial->interface->altsetting[1]; in qcprobe()
232 else if (serial->interface->num_altsetting > 2) in qcprobe()
240 if (serial->interface->num_altsetting == 1) in qcprobe()
390 retval = usb_set_interface(serial->dev, ifnum, altsetting); in qcprobe()
402 static int qc_attach(struct usb_serial *serial) in qc_attach() argument
[all …]
Dmct_u232.c123 static int mct_u232_calculate_baud_rate(struct usb_serial *serial, in mct_u232_calculate_baud_rate() argument
128 if (le16_to_cpu(serial->dev->descriptor.idProduct) == MCT_U232_SITECOM_PID in mct_u232_calculate_baud_rate()
129 || le16_to_cpu(serial->dev->descriptor.idProduct) == MCT_U232_BELKIN_F5U109_PID) { in mct_u232_calculate_baud_rate()
179 struct usb_serial *serial, struct usb_serial_port *port, speed_t value) in mct_u232_set_baud_rate() argument
191 divisor = mct_u232_calculate_baud_rate(serial, value, &speed); in mct_u232_set_baud_rate()
193 rc = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in mct_u232_set_baud_rate()
223 rc = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in mct_u232_set_baud_rate()
239 rc = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in mct_u232_set_baud_rate()
263 rc = usb_control_msg(port->serial->dev, usb_sndctrlpipe(port->serial->dev, 0), in mct_u232_set_line_ctrl()
293 rc = usb_control_msg(port->serial->dev, usb_sndctrlpipe(port->serial->dev, 0), in mct_u232_set_modem_ctrl()
[all …]
Dir-usb.c51 static int ir_startup (struct usb_serial *serial);
93 static inline void irda_usb_dump_class_desc(struct usb_serial *serial, in irda_usb_dump_class_desc() argument
96 struct device *dev = &serial->dev->dev; in irda_usb_dump_class_desc()
123 irda_usb_find_class_desc(struct usb_serial *serial, unsigned int ifnum) in irda_usb_find_class_desc() argument
125 struct usb_device *dev = serial->dev; in irda_usb_find_class_desc()
138 dev_dbg(&serial->dev->dev, "%s - ret=%d\n", __func__, ret); in irda_usb_find_class_desc()
140 dev_dbg(&serial->dev->dev, in irda_usb_find_class_desc()
146 dev_dbg(&serial->dev->dev, "%s - bad class descriptor type\n", in irda_usb_find_class_desc()
151 irda_usb_dump_class_desc(serial, desc); in irda_usb_find_class_desc()
197 static int ir_startup(struct usb_serial *serial) in ir_startup() argument
[all …]
Dopticon.c105 struct usb_serial *serial = port->serial; in send_control_msg() local
116 retval = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in send_control_msg()
142 usb_clear_halt(port->serial->dev, port->read_urb->pipe); in opticon_open()
184 struct usb_serial *serial = port->serial; in opticon_write() local
230 usb_fill_control_urb(urb, serial->dev, in opticon_write()
231 usb_sndctrlpipe(serial->dev, 0), in opticon_write()
335 struct serial_struct __user *serial) in get_serial_info() argument
339 if (!serial) in get_serial_info()
355 if (copy_to_user(serial, &tmp, sizeof(*serial))) in get_serial_info()
374 static int opticon_startup(struct usb_serial *serial) in opticon_startup() argument
[all …]
Dempeg.c37 static int empeg_startup(struct usb_serial *serial);
65 static int empeg_startup(struct usb_serial *serial) in empeg_startup() argument
69 if (serial->dev->actconfig->desc.bConfigurationValue != 1) { in empeg_startup()
70 dev_err(&serial->dev->dev, "active config #%d != 1 ??\n", in empeg_startup()
71 serial->dev->actconfig->desc.bConfigurationValue); in empeg_startup()
75 r = usb_reset_configuration(serial->dev); in empeg_startup()
Dbus.c35 if (driver == port->serial->type) in usb_serial_device_match()
54 retval = usb_autopm_get_interface(port->serial->interface); in usb_serial_device_probe()
58 driver = port->serial->type; in usb_serial_device_probe()
72 usb_autopm_put_interface(port->serial->interface); in usb_serial_device_probe()
74 dev_info(&port->serial->dev->dev, in usb_serial_device_probe()
84 usb_autopm_put_interface(port->serial->interface); in usb_serial_device_probe()
107 autopm_err = usb_autopm_get_interface(port->serial->interface); in usb_serial_device_remove()
112 driver = port->serial->type; in usb_serial_device_remove()
120 usb_autopm_put_interface(port->serial->interface); in usb_serial_device_remove()
Dio_edgeport.c147 struct usb_serial *serial; /* loop back to the owner of this object */ member
214 static int edge_startup(struct usb_serial *serial);
215 static void edge_disconnect(struct usb_serial *serial);
216 static void edge_release(struct usb_serial *serial);
248 static int sram_write(struct usb_serial *serial, __u16 extAddr, __u16 addr,
250 static int rom_read(struct usb_serial *serial, __u16 extAddr, __u16 addr,
252 static int rom_write(struct usb_serial *serial, __u16 extAddr, __u16 addr,
277 struct device *dev = &edge_serial->serial->dev->dev; in update_edgeport_E2PROM()
301 &edge_serial->serial->dev->dev); in update_edgeport_E2PROM()
340 response = rom_write(edge_serial->serial, in update_edgeport_E2PROM()
[all …]
Dspcp8x5.c149 static int spcp8x5_probe(struct usb_serial *serial, in spcp8x5_probe() argument
152 usb_set_serial_data(serial, (void *)id); in spcp8x5_probe()
159 const struct usb_device_id *id = usb_get_serial_data(port->serial); in spcp8x5_port_probe()
189 struct usb_device *dev = port->serial->dev; in spcp8x5_set_ctrl_line()
208 struct usb_device *dev = port->serial->dev; in spcp8x5_get_msr()
236 struct usb_device *dev = port->serial->dev; in spcp8x5_set_work_mode()
291 struct usb_serial *serial = port->serial; in spcp8x5_set_termios() local
378 i = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in spcp8x5_set_termios()
394 struct usb_serial *serial = port->serial; in spcp8x5_open() local
398 usb_clear_halt(serial->dev, port->write_urb->pipe); in spcp8x5_open()
[all …]
Ddigi_acceleport.c236 static int digi_startup_device(struct usb_serial *serial);
237 static int digi_startup(struct usb_serial *serial);
238 static void digi_disconnect(struct usb_serial *serial);
239 static void digi_release(struct usb_serial *serial);
394 …(struct usb_serial_port *)((struct digi_serial *)(usb_get_serial_data(port->serial)))->ds_oob_port; in digi_write_oob_command()
532 …struct usb_serial_port *) ((struct digi_serial *)(usb_get_serial_data(port->serial)))->ds_oob_port; in digi_set_modem_signals()
984 struct usb_serial *serial; in digi_write_bulk_callback() local
996 serial = port->serial; in digi_write_bulk_callback()
997 if (serial == NULL || (serial_priv = usb_get_serial_data(serial)) == NULL) { in digi_write_bulk_callback()
1097 if (digi_startup_device(port->serial) != 0) in digi_open()
[all …]
Dkl5kusb105.c134 rc = usb_control_msg(port->serial->dev, in klsi_105_chg_port_settings()
135 usb_sndctrlpipe(port->serial->dev, 0), in klsi_105_chg_port_settings()
146 dev_info(&port->serial->dev->dev, in klsi_105_chg_port_settings()
178 dev_info(&port->serial->dev->dev, "sending SIO Poll request\n"); in klsi_105_get_line_state()
186 rc = usb_control_msg(port->serial->dev, in klsi_105_get_line_state()
187 usb_rcvctrlpipe(port->serial->dev, 0), in klsi_105_get_line_state()
201 dev_info(&port->serial->dev->dev, "read status %x %x\n", in klsi_105_get_line_state()
302 rc = usb_control_msg(port->serial->dev, in klsi_105_open()
303 usb_sndctrlpipe(port->serial->dev, 0), in klsi_105_open()
337 rc = usb_control_msg(port->serial->dev, in klsi_105_close()
[all …]
Diuu_phoenix.c178 usb_fill_bulk_urb(port->write_urb, port->serial->dev, in iuu_rxcmd()
179 usb_sndbulkpipe(port->serial->dev, in iuu_rxcmd()
202 port->serial->dev, in iuu_reset()
203 usb_sndbulkpipe(port->serial->dev, in iuu_reset()
254 usb_fill_bulk_urb(port->read_urb, port->serial->dev, in iuu_status_callback()
255 usb_rcvbulkpipe(port->serial->dev, in iuu_status_callback()
267 usb_fill_bulk_urb(port->write_urb, port->serial->dev, in iuu_status()
268 usb_sndbulkpipe(port->serial->dev, in iuu_status()
280 struct usb_serial *serial = port->serial; in bulk_immediate() local
286 usb_bulk_msg(serial->dev, in bulk_immediate()
[all …]
Dipw.c138 struct usb_device *udev = port->serial->dev; in ipw_open()
201 static int ipw_attach(struct usb_serial *serial) in ipw_attach() argument
210 usb_set_serial_data(serial, data); in ipw_attach()
214 static void ipw_release(struct usb_serial *serial) in ipw_release() argument
216 struct usb_wwan_intf_private *data = usb_get_serial_data(serial); in ipw_release()
218 usb_set_serial_data(serial, NULL); in ipw_release()
224 struct usb_device *udev = port->serial->dev; in ipw_dtr_rts()
255 struct usb_device *udev = port->serial->dev; in ipw_close()
Dch341.c258 r = ch341_configure(port->serial->dev, priv); in ch341_port_probe()
299 ch341_set_handshake(port->serial->dev, priv->line_control); in ch341_dtr_rts()
312 struct usb_serial *serial = port->serial; in ch341_open() local
316 r = ch341_configure(serial->dev, priv); in ch341_open()
354 ch341_set_baudrate(port->serial->dev, priv); in ch341_set_termios()
361 ch341_set_handshake(port->serial->dev, priv->line_control); in ch341_set_termios()
383 r = ch341_control_in(port->serial->dev, CH341_REQ_READ_REG, in ch341_break_ctl()
404 r = ch341_control_out(port->serial->dev, CH341_REQ_WRITE_REG, in ch341_break_ctl()
433 return ch341_set_handshake(port->serial->dev, control); in ch341_tiocmset()
540 static int ch341_reset_resume(struct usb_serial *serial) in ch341_reset_resume() argument
[all …]
Dcypress_m8.c248 if (is_frwd(port->serial->dev)) in analyze_baud_rate()
260 if (port->serial->dev->speed == USB_SPEED_LOW) { in analyze_baud_rate()
349 retval = usb_control_msg(port->serial->dev, in cypress_serial_control()
350 usb_sndctrlpipe(port->serial->dev, 0), in cypress_serial_control()
387 retval = usb_control_msg(port->serial->dev, in cypress_serial_control()
388 usb_rcvctrlpipe(port->serial->dev, 0), in cypress_serial_control()
447 struct usb_serial *serial = port->serial; in cypress_generic_port_probe() local
469 if (!is_frwd(serial->dev)) in cypress_generic_port_probe()
470 usb_reset_configuration(serial->dev); in cypress_generic_port_probe()
509 struct usb_serial *serial = port->serial; in cypress_earthmate_port_probe() local
[all …]
DKconfig9 Say Y here if you have a USB device that provides normal serial
10 ports, or acts like a serial device, and you want to connect it to
13 Please read <file:Documentation/usb/usb-serial.txt> for more
26 If you say Y here, it will be possible to use a USB to serial
30 terminal or printer is connected to that serial port.
40 kernel will automatically use the first USB to serial converter
48 Say Y here if you want to use the generic USB serial driver. Please
49 read <file:Documentation/usb/usb-serial.txt> for more information on
57 Say Y here to use the USB serial "simple" driver. This driver
63 - Google USB serial devices
[all …]
Dwishbone-serial.c36 struct usb_device *dev = port->serial->dev; in usb_gsi_openclose()
44 port->serial->interface->cur_altsetting->desc.bInterfaceNumber, in usb_gsi_openclose()
56 dev_err(&port->serial->dev->dev, in wishbone_serial_open()
Daircable.c96 static int aircable_probe(struct usb_serial *serial, in aircable_probe() argument
99 struct usb_host_interface *iface_desc = serial->interface-> in aircable_probe()
108 dev_dbg(&serial->dev->dev, in aircable_probe()
115 dev_dbg(&serial->dev->dev, "Invalid interface, discarding\n"); in aircable_probe()
Dcp210x.c322 struct usb_serial *serial = port->serial; in cp210x_get_config() local
335 result = usb_control_msg(serial->dev, usb_rcvctrlpipe(serial->dev, 0), in cp210x_get_config()
367 struct usb_serial *serial = port->serial; in cp210x_set_config() local
384 result = usb_control_msg(serial->dev, in cp210x_set_config()
385 usb_sndctrlpipe(serial->dev, 0), in cp210x_set_config()
390 result = usb_control_msg(serial->dev, in cp210x_set_config()
391 usb_sndctrlpipe(serial->dev, 0), in cp210x_set_config()
877 struct usb_serial *serial = port->serial; in cp210x_port_probe() local
885 cur_altsetting = serial->interface->cur_altsetting; in cp210x_port_probe()
Dbelkin_sa.c112 #define BSA_USB_CMD(c, v) usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), \
118 struct usb_device *dev = port->serial->dev; in belkin_sa_port_probe()
284 struct usb_serial *serial = port->serial; in belkin_sa_set_termios() local
427 struct usb_serial *serial = port->serial; in belkin_sa_break_ctl() local
451 struct usb_serial *serial = port->serial; in belkin_sa_tiocmset() local
Dkeyspan.h42 static int keyspan_startup (struct usb_serial *serial);
43 static void keyspan_disconnect (struct usb_serial *serial);
44 static void keyspan_release (struct usb_serial *serial);
67 static int keyspan_fake_startup (struct usb_serial *serial);
89 static int keyspan_usa28_send_setup (struct usb_serial *serial,
92 static int keyspan_usa26_send_setup (struct usb_serial *serial,
95 static int keyspan_usa49_send_setup (struct usb_serial *serial,
99 static int keyspan_usa90_send_setup (struct usb_serial *serial,
103 static int keyspan_usa67_send_setup (struct usb_serial *serial,
Dftdi_sio.c89 static int ftdi_jtag_probe(struct usb_serial *serial);
90 static int ftdi_NDI_device_setup(struct usb_serial *serial);
91 static int ftdi_stmclite_probe(struct usb_serial *serial);
92 static int ftdi_8u2232c_probe(struct usb_serial *serial);
1035 static int ftdi_sio_probe(struct usb_serial *serial,
1208 rv = usb_control_msg(port->serial->dev, in update_mctrl()
1209 usb_sndctrlpipe(port->serial->dev, 0), in update_mctrl()
1326 port->serial->dev->descriptor.idProduct); in get_ftdi_divisor()
1387 rv = usb_control_msg(port->serial->dev, in change_speed()
1388 usb_sndctrlpipe(port->serial->dev, 0), in change_speed()
[all …]
Doti6858.c209 result = usb_control_msg(port->serial->dev, in setup_line()
210 usb_rcvctrlpipe(port->serial->dev, 0), in setup_line()
233 result = usb_control_msg(port->serial->dev, in setup_line()
234 usb_sndctrlpipe(port->serial->dev, 0), in setup_line()
291 result = usb_control_msg(port->serial->dev, in send_data()
292 usb_rcvctrlpipe(port->serial->dev, 0), in send_data()
507 struct usb_serial *serial = port->serial; in oti6858_open() local
512 usb_clear_halt(serial->dev, port->write_urb->pipe); in oti6858_open()
513 usb_clear_halt(serial->dev, port->read_urb->pipe); in oti6858_open()
519 result = usb_control_msg(serial->dev, usb_rcvctrlpipe(serial->dev, 0), in oti6858_open()
Dxsens_mt.c44 static int xsens_mt_probe(struct usb_serial *serial, in xsens_mt_probe() argument
47 if (serial->interface->cur_altsetting->desc.bInterfaceNumber == 1) in xsens_mt_probe()
Dti_usb_3410_5052.c89 static int ti_startup(struct usb_serial *serial);
90 static void ti_release(struct usb_serial *serial);
291 static int ti_startup(struct usb_serial *serial) in ti_startup() argument
294 struct usb_device *dev = serial->dev; in ti_startup()
309 tdev->td_serial = serial; in ti_startup()
310 usb_set_serial_data(serial, tdev); in ti_startup()
313 if (serial->type == &ti_1port_device) in ti_startup()
346 usb_set_serial_data(serial, NULL); in ti_startup()
351 static void ti_release(struct usb_serial *serial) in ti_release() argument
353 struct ti_device *tdev = usb_get_serial_data(serial); in ti_release()
[all …]
DMakefile9 usbserial-y := usb-serial.o generic.o bus.o
52 obj-$(CONFIG_USB_SERIAL_SIMPLE) += usb-serial-simple.o
59 obj-$(CONFIG_USB_SERIAL_WISHBONE) += wishbone-serial.o
Dusb-wwan.h23 extern int usb_wwan_suspend(struct usb_serial *serial, pm_message_t message);
24 extern int usb_wwan_resume(struct usb_serial *serial);
Dsymbolserial.c152 static int symbol_startup(struct usb_serial *serial) in symbol_startup() argument
154 if (!serial->num_interrupt_in) { in symbol_startup()
155 dev_err(&serial->dev->dev, "no interrupt-in endpoint\n"); in symbol_startup()
Dssu100.c204 struct usb_device *dev = port->serial->dev; in ssu100_set_termios()
278 struct usb_device *dev = port->serial->dev; in ssu100_open()
355 static int ssu100_attach(struct usb_serial *serial) in ssu100_attach() argument
357 return ssu100_initdevice(serial->dev); in ssu100_attach()
388 struct usb_device *dev = port->serial->dev; in ssu100_tiocmget()
420 struct usb_device *dev = port->serial->dev; in ssu100_tiocmset()
427 struct usb_device *dev = port->serial->dev; in ssu100_dtr_rts()
Dsafe_serial.c263 static int safe_startup(struct usb_serial *serial) in safe_startup() argument
267 if (serial->dev->descriptor.bDeviceClass != CDC_DEVICE_CLASS) in safe_startup()
270 desc = &serial->interface->cur_altsetting->desc; in safe_startup()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-driver-hid-srws11 What: /sys/class/leds/SRWS1::<serial>::RPM1
2 What: /sys/class/leds/SRWS1::<serial>::RPM2
3 What: /sys/class/leds/SRWS1::<serial>::RPM3
4 What: /sys/class/leds/SRWS1::<serial>::RPM4
5 What: /sys/class/leds/SRWS1::<serial>::RPM5
6 What: /sys/class/leds/SRWS1::<serial>::RPM6
7 What: /sys/class/leds/SRWS1::<serial>::RPM7
8 What: /sys/class/leds/SRWS1::<serial>::RPM8
9 What: /sys/class/leds/SRWS1::<serial>::RPM9
10 What: /sys/class/leds/SRWS1::<serial>::RPM10
[all …]
/linux-4.1.27/arch/sh/kernel/cpu/sh3/
DMakefile10 obj-$(CONFIG_CPU_SUBTYPE_SH7705) += setup-sh7705.o serial-sh770x.o
11 obj-$(CONFIG_CPU_SUBTYPE_SH7706) += setup-sh770x.o serial-sh770x.o
12 obj-$(CONFIG_CPU_SUBTYPE_SH7707) += setup-sh770x.o serial-sh770x.o
13 obj-$(CONFIG_CPU_SUBTYPE_SH7708) += setup-sh770x.o serial-sh770x.o
14 obj-$(CONFIG_CPU_SUBTYPE_SH7709) += setup-sh770x.o serial-sh770x.o
15 obj-$(CONFIG_CPU_SUBTYPE_SH7710) += setup-sh7710.o serial-sh7710.o
16 obj-$(CONFIG_CPU_SUBTYPE_SH7712) += setup-sh7710.o serial-sh7710.o
17 obj-$(CONFIG_CPU_SUBTYPE_SH7720) += setup-sh7720.o serial-sh7720.o
18 obj-$(CONFIG_CPU_SUBTYPE_SH7721) += setup-sh7720.o serial-sh7720.o
/linux-4.1.27/drivers/tty/serial/8250/
DKconfig2 # The 8250/16550 serial drivers. You shouldn't be in this list unless
7 tristate "8250/16550 and compatible serial support"
11 serial ports. The standard answer is Y. People who might say N
14 serial mouse and don't intend to use their machine's standard serial
15 port for anything. (Note that the Cyclades multi serial port driver
21 non-standard serial ports, since the configuration information will
25 BTW1: If you have a mouseman serial mouse which is not recognized by
32 Most people will say Y or M here, so that they can use serial mice,
33 modems and similar devices connecting to the standard serial ports.
57 This builds standard PNP serial support. You may be able to
[all …]
/linux-4.1.27/drivers/tty/serial/
DKconfig14 the console before standard serial driver is probed. The console is
17 source "drivers/tty/serial/8250/Kconfig"
19 comment "Non-8250 serial port support"
22 tristate "ARM AMBA PL010 serial port support"
33 bool "Support for console on AMBA serial port"
49 tristate "ARM AMBA PL011 serial port support"
60 bool "Support for console on AMBA serial port"
84 the console before standard serial driver is probed. This is enabled
89 tristate "BCM1xxx on-chip DUART serial support"
94 Support for the asynchronous serial interface (DUART) included in
[all …]
DMakefile37 obj-$(CONFIG_SERIAL_68328) += 68328serial.o
65 obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
70 obj-$(CONFIG_SERIAL_OMAP) += omap-serial.o
87 obj-$(CONFIG_SERIAL_TEGRA) += serial-tegra.o
/linux-4.1.27/include/linux/usb/
Dserial.h77 struct usb_serial *serial; member
174 static inline void *usb_get_serial_data(struct usb_serial *serial) in usb_get_serial_data() argument
176 return serial->private; in usb_get_serial_data()
179 static inline void usb_set_serial_data(struct usb_serial *serial, void *data) in usb_set_serial_data() argument
181 serial->private = data; in usb_set_serial_data()
240 int (*probe)(struct usb_serial *serial, const struct usb_device_id *id);
241 int (*attach)(struct usb_serial *serial);
242 int (*calc_num_ports) (struct usb_serial *serial);
244 void (*disconnect)(struct usb_serial *serial);
245 void (*release)(struct usb_serial *serial);
[all …]
/linux-4.1.27/drivers/staging/fwserial/
DKconfig5 This enables TTY over IEEE 1394, providing high-speed serial
11 be called firewire-serial.
16 int "Maximum number of serial ports supported"
19 Set this to the maximum number of serial ports you want the
20 firewire-serial driver to support.
23 int "Maximum number of serial ports supported per adapter"
27 Set this to the maximum number of serial ports each firewire
28 adapter supports. The actual number of serial ports registered
Dfwserial.c257 fw_send_request(peer->serial->card, &txn->fw_txn, tcode, in fwtty_send_data_async()
276 fw_send_request(peer->serial->card, &txn->fw_txn, tcode, in fwtty_send_txn_async()
841 kref_get(&port->serial->kref); in fwtty_port_get()
847 static int fwtty_ports_add(struct fw_serial *serial) in fwtty_ports_add() argument
859 serial->ports[j]->index = i; in fwtty_ports_add()
860 port_table[i] = serial->ports[j]; in fwtty_ports_add()
872 struct fw_serial *serial = to_serial(kref, kref); in fwserial_destroy() local
873 struct fwtty_port **ports = serial->ports; in fwserial_destroy()
893 kfree(serial); in fwserial_destroy()
898 kref_put(&port->serial->kref, fwserial_destroy); in fwtty_port_put()
[all …]
DMakefile1 obj-$(CONFIG_FIREWIRE_SERIAL) += firewire-serial.o
2 firewire-serial-objs := fwserial.o dma_fifo.o
/linux-4.1.27/Documentation/usb/
Dgadget_serial.txt24 This document and the gadget serial driver itself are
33 Versions of the gadget serial driver are available for the
35 version 2.3 or later of the gadget serial driver in a 2.6
41 USB and serial devices. It also assumes you configure the Linux
53 The gadget serial driver is a Linux USB gadget driver, a USB device
58 The gadget serial driver talks over USB to either a CDC ACM driver
59 or a generic USB serial driver running on a host PC.
81 On the device-side Linux system, the gadget serial driver looks
82 like a serial device.
84 On the host-side system, the gadget serial device looks like a
[all …]
Dusb-serial.txt3 The USB serial driver currently supports a number of different USB to
4 serial converter products, as well as some devices that use a serial
13 Currently the driver can handle up to 256 different serial interfaces at
67 (this is usually /dev/ttyUSB1 if you do not have any other usb-serial
101 The driver presents a serial interface (usually on /dev/ttyUSB0) over
136 Toshiba's $350 serial cable for flashing!! :D
145 Single port DB-9 serial adapter, pushed as a PDA adapter for iMacs (mostly
148 This driver also works for the Xircom/Entrega single port serial adapter.
153 blocking write when serial line can't keep up
195 This is a single port DB-25 serial adapter.
[all …]
Diuu_phoenix.txt7 This module provide a serial interface to use your
71 Don't worry about the serial settings, the serial emulation
76 The autodetect feature used is the serial CD. If that doesn't
/linux-4.1.27/arch/powerpc/boot/
Dcuboot-824x.c31 void *serial = NULL; in platform_fixups() local
36 while ((serial = find_node_by_devtype(serial, "serial"))) { in platform_fixups()
37 if (get_parent(serial) != soc) in platform_fixups()
40 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
Dcuboot-83xx.c37 void *serial = NULL; in platform_fixups() local
42 while ((serial = find_node_by_devtype(serial, "serial"))) { in platform_fixups()
43 if (get_parent(serial) != soc) in platform_fixups()
46 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
Dcuboot-85xx.c40 void *serial = NULL; in platform_fixups() local
45 while ((serial = find_node_by_devtype(serial, "serial"))) { in platform_fixups()
46 if (get_parent(serial) != soc) in platform_fixups()
49 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
Dcuboot-85xx-cpm2.c39 void *serial = NULL; in platform_fixups() local
44 while ((serial = find_node_by_devtype(serial, "serial"))) { in platform_fixups()
45 if (get_parent(serial) != devp) in platform_fixups()
48 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups()
/linux-4.1.27/Documentation/
Dserial-console.txt3 To use a serial port as console you need to compile the support into your
4 kernel - by default it is not compiled in. For PC style serial ports
5 it's the config option next to "Standard/generic (dumb) serial support".
6 You must compile serial support into the kernel and not as a module.
18 ttySx for a serial port
20 ttyUSB0 for the first USB serial device
22 options: depend on the driver. For the serial port this
37 console and the 2nd serial port (ttyS1 or COM2) at 9600 baud.
39 Note that you can only define one console per device type (serial, video).
43 first looks for a VGA card and then for a serial port. So if you don't
[all …]
Dbraille-console.txt4 readers can start), you first need to compile the support for the usual serial
5 console (see serial-console.txt), and for braille device (in Device Drivers -
13 where serial_options... are the same as described in serial-console.txt
16 to the first serial port, and console=brl,ttyS0,115200 to override the baud rate
30 the console selection mechanism described in serial-console.txt
Ddevices.txt72 There are still some exceptions in the serial and boot device area. Before
222 64 = /dev/ttyS0 First UART serial port
224 255 = /dev/ttyS191 192nd UART serial port
226 UART serial ports refer to 8250/16450/16550 series devices.
331 10 char Non-serial mice, misc features
341 8 = /dev/smouse Simple serial mouse driver
373 155 = /dev/isictl MultiTech ISICom serial control
385 167 = /dev/specialix_sxctl Specialix serial control
386 168 = /dev/tcldrv Technology Concepts serial control
387 169 = /dev/specialix_rioctl Specialix RIO serial control
[all …]
/linux-4.1.27/lib/
Dlist_sort.c168 unsigned serial; member
176 if (ela->serial >= TEST_LIST_LEN) { in check()
177 pr_err("error: incorrect serial %d\n", ela->serial); in check()
180 if (elb->serial >= TEST_LIST_LEN) { in check()
181 pr_err("error: incorrect serial %d\n", elb->serial); in check()
184 if (elts[ela->serial] != ela || elts[elb->serial] != elb) { in check()
235 el->serial = i; in list_sort_test()
262 if (cmp_result == 0 && el->serial >= el1->serial) { in list_sort_test()
/linux-4.1.27/arch/arm/boot/dts/
Dat91-foxg20.dts64 usart0: serial@fffb0000 {
73 usart1: serial@fffb4000 {
77 usart2: serial@fffb8000 {
86 usart3: serial@fffd0000 {
90 uart0: serial@fffd4000 {
94 uart1: serial@fffd8000 {
98 dbgu: serial@fffff200 {
Dat91-ariag25.dts80 usart0: serial@f801c000 {
87 usart1: serial@f8020000 {
95 usart2: serial@f8024000 {
102 usart3: serial@f8028000 {
127 * Change to "okay" if you need additional serial ports
129 uart0: serial@f8040000 {
133 uart1: serial@f8044000 {
142 dbgu: serial@fffff200 {
Dspear310-evb.dts167 serial@d0000000 {
173 serial@b2000000 {
179 serial@b2080000 {
185 serial@b2100000 {
191 serial@b2180000 {
197 serial@b2200000 {
Ds3c2416-smdk2416.dts35 serial@50000000 {
41 serial@50004000 {
47 serial@50008000 {
53 serial@5000C000 {
Dexynos4412-tiny4412.dts70 serial@13800000 {
74 serial@13810000 {
78 serial@13820000 {
82 serial@13830000 {
Dda850-enbw-cmc.dts20 serial0: serial@1c42000 {
23 serial1: serial@1d0c000 {
26 serial2: serial@1d0d000 {
Dspear310.dtsi58 serial@b2000000 {
66 serial@b2080000 {
74 serial@b2100000 {
82 serial@b2180000 {
90 serial@b2200000 {
Daks-cdu.dts27 usart0: serial@fffb0000 {
31 usart1: serial@fffb4000 {
37 usart2: serial@fffb8000 {
43 usart3: serial@fffd0000 {
Dimx31.dtsi54 uart1: serial@43f90000 {
63 uart2: serial@43f94000 {
72 uart4: serial@43fb0000 {
81 uart5: serial@43fb4000 {
98 uart3: serial@5000c000 {
Dr8a7794.dtsi170 scifa0: serial@e6c40000 {
179 scifa1: serial@e6c50000 {
188 scifa2: serial@e6c60000 {
197 scifa3: serial@e6c70000 {
206 scifa4: serial@e6c78000 {
215 scifa5: serial@e6c80000 {
224 scifb0: serial@e6c20000 {
233 scifb1: serial@e6c30000 {
242 scifb2: serial@e6ce0000 {
251 scif0: serial@e6e60000 {
[all …]
Dexynos5.dtsi60 serial_0: serial@12C00000 {
66 serial_1: serial@12C10000 {
72 serial_2: serial@12C20000 {
78 serial_3: serial@12C30000 {
Dethernut5.dts35 dbgu: serial@fffff200 {
39 usart0: serial@fffb0000 {
43 usart1: serial@fffb4000 {
Ds3c2416.dtsi51 serial@50000000 {
59 serial@50004000 {
67 serial@50008000 {
75 uart3: serial@5000C000 {
Dlpc32xx.dtsi134 uart5: serial@40090000 {
144 uart3: serial@40080000 {
153 uart4: serial@40088000 {
162 uart6: serial@40098000 {
225 uart1: serial@40014000 {
232 uart2: serial@40018000 {
239 uart7: serial@4001c000 {
Dat91-qil_a9260.dts60 usart0: serial@fffb0000 {
71 usart1: serial@fffb4000 {
79 usart2: serial@fffb8000 {
104 dbgu: serial@fffff200 {
Dvt8500.dtsi131 uart0: serial@d8200000 {
139 uart1: serial@d82b0000 {
147 uart2: serial@d8210000 {
155 uart3: serial@d82c0000 {
Dexynos4412-smdk4412.dts135 serial@13800000 {
139 serial@13810000 {
143 serial@13820000 {
147 serial@13830000 {
Ds3c24xx.dtsi52 uart0: serial@50000000 {
59 uart1: serial@50004000 {
66 uart2: serial@50008000 {
Dwm8505.dtsi228 uart0: serial@d8200000 {
236 uart1: serial@d82b0000 {
244 uart2: serial@d8210000 {
252 uart3: serial@d82c0000 {
260 uart4: serial@d8370000 {
268 uart5: serial@d8380000 {
Dls1021a.dtsi245 uart0: serial@21c0500 {
254 uart1: serial@21c0600 {
263 uart2: serial@21d0500 {
272 uart3: serial@21d0600 {
281 lpuart0: serial@2950000 {
290 lpuart1: serial@2960000 {
299 lpuart2: serial@2970000 {
308 lpuart3: serial@2980000 {
317 lpuart4: serial@2990000 {
326 lpuart5: serial@29a0000 {
Dmt6592.dtsi112 uart0: serial@11002000 {
120 uart1: serial@11003000 {
128 uart2: serial@11004000 {
136 uart3: serial@11005000 {
Dmt8127.dtsi110 uart0: serial@11006000 {
118 uart1: serial@11007000 {
126 uart2: serial@11008000 {
134 uart3: serial@11009000 {
Dmt6589.dtsi110 uart0: serial@11006000 {
118 uart1: serial@11007000 {
126 uart2: serial@11008000 {
134 uart3: serial@11009000 {
Dwm8750.dtsi268 uart0: serial@d8200000 {
276 uart1: serial@d82b0000 {
284 uart2: serial@d8210000 {
292 uart3: serial@d82c0000 {
300 uart4: serial@d8370000 {
308 uart5: serial@d8380000 {
Dmt8135.dtsi133 uart0: serial@11006000 {
141 uart1: serial@11007000 {
149 uart2: serial@11008000 {
157 uart3: serial@11009000 {
Dexynos4210-smdkv310.dts50 serial@13800000 {
54 serial@13810000 {
58 serial@13820000 {
62 serial@13830000 {
Dr7s72100.dtsi151 scif0: serial@e8007000 {
163 scif1: serial@e8007800 {
175 scif2: serial@e8008000 {
187 scif3: serial@e8008800 {
199 scif4: serial@e8009000 {
211 scif5: serial@e8009800 {
223 scif6: serial@e800a000 {
235 scif7: serial@e800a800 {
Dsun7i-a20-hummingbird.dts123 uart0: serial@01c28000 {
129 uart2: serial@01c28800 {
135 uart3: serial@01c28c00 {
141 uart4: serial@01c29000 {
147 uart5: serial@01c29400 {
Dkizbox.dts41 dbgu: serial@fffff200 {
45 usart0: serial@fffb0000 {
49 usart1: serial@fffb4000 {
Dimx28-apx4devkit.dts159 duart: serial@80074000 {
165 auart0: serial@8006a000 {
171 auart1: serial@8006c000 {
177 auart2: serial@8006e000 {
Dtegra20.dtsi305 * There are two serial driver i.e. 8250 based simple serial
306 * driver and APB DMA based serial driver for higher baudrate
308 * is "nvidia,tegra20-uart" and to enable the APB DMA based serial
311 uarta: serial@70006000 {
318 reset-names = "serial";
324 uartb: serial@70006040 {
331 reset-names = "serial";
337 uartc: serial@70006200 {
344 reset-names = "serial";
350 uartd: serial@70006300 {
[all …]
Devk-pro3.dts31 usart0: serial@fffb0000 {
35 usart2: serial@fffb8000 {
Darmada-xp-matrix.dts73 serial@12000 {
76 serial@12100 {
79 serial@12200 {
82 serial@12300 {
Danimeo_ip.dts55 usart0: serial@fffb0000 {
61 usart1: serial@fffb4000 {
67 usart2: serial@fffb8000 {
Dkirkwood-dns320.dts50 serial@12000 {
54 serial@12100 {
Dtegra30-apalis-eval.dts48 serial@70006000 {
52 serial@70006040 {
57 serial@70006200 {
62 serial@70006300 {
Dtegra30.dtsi367 * There are two serial driver i.e. 8250 based simple serial
368 * driver and APB DMA based serial driver for higher baudrate
371 * the APB DMA based serial driver, the comptible is
374 uarta: serial@70006000 {
381 reset-names = "serial";
387 uartb: serial@70006040 {
394 reset-names = "serial";
400 uartc: serial@70006200 {
407 reset-names = "serial";
413 uartd: serial@70006300 {
[all …]
Dtegra20-iris-512.dts44 serial@70006000 {
48 serial@70006300 {
Dusb_a9g20-dab-mmx.dtsi12 usart1: serial@fffb4000 {
16 usart3: serial@fffd0000 {
Dat91-cosino_mega2560.dts39 usart1: serial@f8020000 {
43 usart2: serial@f8024000 {
Demev2.dtsi140 uart0: serial@e1020000 {
148 uart1: serial@e1030000 {
156 uart2: serial@e1040000 {
164 uart3: serial@e1050000 {
Dat91-sama5d3_xplained.dts117 usart0: serial@f001c000 {
121 usart1: serial@f0020000 {
126 uart0: serial@f0024000 {
179 dbgu: serial@ffffee00 {
Dea3250.dts88 uart5: serial@40090000 {
92 uart3: serial@40080000 {
96 uart6: serial@40098000 {
152 uart1: serial@40014000 {
Dimx28-m28evk.dts160 duart: serial@80074000 {
174 auart0: serial@8006a000 {
180 auart1: serial@8006c000 {
186 auart2: serial@8006e000 {
/linux-4.1.27/Documentation/arm/SA1100/
Dserial_UART1 The SA1100 serial port had its major/minor numbers officially assigned:
10 > serial devices", so you will have a range of minors on those majors (the
16 > 204 char Low-density serial ports
17 > 5 = /dev/ttySA0 SA1100 builtin serial port 0
18 > 6 = /dev/ttySA1 SA1100 builtin serial port 1
19 > 7 = /dev/ttySA2 SA1100 builtin serial port 2
21 > 205 char Low-density serial ports (alternate device)
DBrutus41 The first Brutus serial port (assumed to be linked to /dev/ttyS0 on your
42 host PC) is used by angel to load the kernel and ramdisk image. The serial
43 console is provided through the second Brutus serial port. To access it,
48 - RS232 serial ports
DADSBitsy21 - SA1100 serial port
25 - serial ports (ttyS[0-2])
26 - ttyS0 is default for serial console
/linux-4.1.27/Documentation/devicetree/bindings/i2c/
Dtrivial-devices.txt24 at,24c08 i2c serial eeprom (24cxx)
25 atmel,24c00 i2c serial eeprom (24cxx)
26 atmel,24c01 i2c serial eeprom (24cxx)
27 atmel,24c02 i2c serial eeprom (24cxx)
28 atmel,24c04 i2c serial eeprom (24cxx)
29 atmel,24c16 i2c serial eeprom (24cxx)
30 atmel,24c32 i2c serial eeprom (24cxx)
31 atmel,24c64 i2c serial eeprom (24cxx)
32 atmel,24c128 i2c serial eeprom (24cxx)
33 atmel,24c256 i2c serial eeprom (24cxx)
[all …]
/linux-4.1.27/Documentation/serial/
D00-INDEX6 - intro to the low level serial driver.
8 - file with info on installing/using Moxa multiport serial driver.
12 - info on the Comtrol RocketPort multiport serial driver.
13 serial-rs485.txt
Dn_gsm.txt9 modems connected to a physical serial port.
14 its serial port. Depending on the modem used, you can pass more or less
16 2- switch the serial line to using the n_gsm line discipline by using
31 /* open the serial port connected to the modem */
34 /* configure the serial port : speed, flow control ... */
63 4- create the devices corresponding to the "virtual" serial ports (take care,
73 5- use these devices as plain serial ports.
/linux-4.1.27/drivers/rapidio/switches/
DKconfig7 Includes support for IDT Tsi57x family of serial RapidIO switches.
12 Includes support for IDT CPS-16/12/10/8 serial RapidIO switches.
18 Includes support for IDT Tsi568 serial RapidIO switch.
24 Includes support for ITD CPS Gen.2 serial RapidIO switches.
/linux-4.1.27/net/rxrpc/
Dar-input.c241 rxrpc_propose_ACK(call, RXRPC_ACK_DELAY, sp->hdr.serial, false); in rxrpc_fast_process_data()
254 __rxrpc_propose_ACK(call, ack, sp->hdr.serial, true); in rxrpc_fast_process_data()
262 __rxrpc_propose_ACK(call, ack, sp->hdr.serial, true); in rxrpc_fast_process_data()
280 static void rxrpc_assume_implicit_ackall(struct rxrpc_call *call, u32 serial) in rxrpc_assume_implicit_ackall() argument
287 call->acks_latest = serial; in rxrpc_assume_implicit_ackall()
314 u32 serial, hi_serial, seq, abort_code; in rxrpc_fast_process_packet() local
333 serial = ntohl(sp->hdr.serial); in rxrpc_fast_process_packet()
335 while (serial > hi_serial) in rxrpc_fast_process_packet()
337 serial); in rxrpc_fast_process_packet()
342 _proto("ACK Requested on %%%u", serial); in rxrpc_fast_process_packet()
[all …]
Dar-ack.c94 __be32 serial, bool immediate) in __rxrpc_propose_ACK() argument
102 call->debug_id, rxrpc_acks(ack_reason), ntohl(serial), in __rxrpc_propose_ACK()
115 call->ackr_serial = serial; in __rxrpc_propose_ACK()
122 call->ackr_serial = serial; in __rxrpc_propose_ACK()
142 if (!immediate || serial == cpu_to_be32(1)) { in __rxrpc_propose_ACK()
160 _debug("cancel timer %%%u", ntohl(serial)); in __rxrpc_propose_ACK()
173 __be32 serial, bool immediate) in rxrpc_propose_ACK() argument
179 __rxrpc_propose_ACK(call, ack_reason, serial, immediate); in rxrpc_propose_ACK()
250 sp->hdr.serial = in rxrpc_resend()
251 htonl(atomic_inc_return(&call->conn->serial)); in rxrpc_resend()
[all …]
Dar-connevent.c112 hdr.serial = htonl(atomic_inc_return(&conn->serial)); in rxrpc_abort_connection()
113 _proto("Tx CONN ABORT %%%u { %d }", ntohl(hdr.serial), abort_code); in rxrpc_abort_connection()
150 u32 serial; in rxrpc_process_event() local
158 serial = ntohl(sp->hdr.serial); in rxrpc_process_event()
160 _enter("{%d},{%u,%%%u},", conn->debug_id, sp->hdr.type, serial); in rxrpc_process_event()
166 _proto("Rx ABORT %%%u { ac=%d }", serial, ntohl(tmp)); in rxrpc_process_event()
/linux-4.1.27/drivers/usb/gadget/legacy/
Ddbgp.c31 struct gserial *serial; member
217 gserial_disconnect(dbgp.serial); in dbgp_disconnect()
224 kfree(dbgp.serial); in dbgp_unbind()
225 dbgp.serial = NULL; in dbgp_unbind()
271 dbgp.serial->in = dbgp.i_ep; in dbgp_configure_endpoints()
272 dbgp.serial->out = dbgp.o_ep; in dbgp_configure_endpoints()
274 dbgp.serial->in->desc = &i_desc; in dbgp_configure_endpoints()
275 dbgp.serial->out->desc = &o_desc; in dbgp_configure_endpoints()
312 dbgp.serial = kzalloc(sizeof(struct gserial), GFP_KERNEL); in dbgp_bind()
313 if (!dbgp.serial) { in dbgp_bind()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/serial/
Dqcom,msm-uartdm.txt3 The MSM serial UARTDM hardware is designed for high-speed use cases where the
5 software perspective it's mostly compatible with the MSM serial UART except
39 serial@f991e000 {
51 serial@19c40000 {
68 uarta: serial@12490000 {
72 uartb: serial@16340000 {
76 uartc: serial@1a240000 {
Dqcom,msm-uart.txt3 The MSM serial UART hardware is designed for low-speed use cases where a
5 with the MSM serial UARTDM except that it only supports reading and writing one
19 serial@a9c00000 {
Dnvidia,tegra20-hsuart.txt12 - serial
25 serial@70006000 {
33 reset-names = "serial";
Dlantiq_asc.txt1 Lantiq SoC ASC serial controller
11 asc1: serial@E100C00 {
Dsnps-dw-apb-uart.txt26 register. Define this if your serial port does not use this pin.
29 register. Define this if your serial port does not use this pin.
32 register. Define this if your serial port does not use this pin.
35 Define this if your serial port does not use this pin.
/linux-4.1.27/drivers/char/
Dapplicom.c308 int serial; in applicom_init() local
314 for (serial = 0; serial < SERIAL_NUMBER - TYPE_CARD; serial++) in applicom_init()
315 boardname[serial] = readb(apbs[i].RamIO + TYPE_CARD + serial); in applicom_init()
317 boardname[serial] = 0; in applicom_init()
325 serial = (readb(apbs[i].RamIO + SERIAL_NUMBER) << 16) + in applicom_init()
329 if (serial != 0) in applicom_init()
330 printk(" S/N %d\n", serial); in applicom_init()
794 int serial; in ac_ioctl() local
800 for (serial = 0; serial < SERIAL_NUMBER - TYPE_CARD; serial++) in ac_ioctl()
801 boardname[serial] = readb(apbs[i].RamIO + TYPE_CARD + serial); in ac_ioctl()
[all …]
/linux-4.1.27/arch/arm64/boot/dts/sprd/
Dsharkl64.dtsi26 uart0: serial@70000000 {
34 uart1: serial@70100000 {
42 uart2: serial@70200000 {
50 uart3: serial@70300000 {
/linux-4.1.27/arch/powerpc/boot/dts/
Dmvme2500.dts164 serial2: serial@1,0 {
165 device_type = "serial";
172 serial3: serial@2,0 {
173 device_type = "serial";
180 serial4: serial@3,0 {
181 device_type = "serial";
188 serial5: serial@4,0 {
189 device_type = "serial";
265 serial@4600 {
Dsam440ep.dts146 UART0: serial@ef600300 {
147 device_type = "serial";
157 UART1: serial@ef600400 {
158 device_type = "serial";
168 UART2: serial@ef600500 {
169 device_type = "serial";
179 UART3: serial@ef600600 {
180 device_type = "serial";
291 linux,stdout-path = "/plb/opb/serial@ef600300";
Dbamboo.dts145 UART0: serial@ef600300 {
146 device_type = "serial";
156 UART1: serial@ef600400 {
157 device_type = "serial";
167 UART2: serial@ef600500 {
168 device_type = "serial";
178 UART3: serial@ef600600 {
179 device_type = "serial";
298 linux,stdout-path = "/plb/opb/serial@ef600300";
Damigaone.dts129 serial@3f8 {
130 device_type = "serial";
138 serial@2f8 {
139 device_type = "serial";
171 linux,stdout-path = "/pci@80000000/isa@7/serial@3f8";
Dyosemite.dts179 UART0: serial@ef600300 {
180 device_type = "serial";
190 UART1: serial@ef600400 {
191 device_type = "serial";
201 UART2: serial@ef600500 {
202 device_type = "serial";
213 UART3: serial@ef600600 {
214 device_type = "serial";
330 linux,stdout-path = "/plb/opb/serial@ef600300";
Dstorcenter.dts74 serial0: serial@4500 {
76 device_type = "serial";
85 serial1: serial@4600 {
87 device_type = "serial";
Drainier.dts189 UART0: serial@ef600300 {
190 device_type = "serial";
200 UART1: serial@ef600400 {
201 device_type = "serial";
211 UART2: serial@ef600500 {
212 device_type = "serial";
222 UART3: serial@ef600600 {
223 device_type = "serial";
347 linux,stdout-path = "/plb/opb/serial@ef600300";
Dmpc866ads.dts140 serial@a80 {
141 device_type = "serial";
151 serial@a90 {
152 device_type = "serial";
188 linux,stdout-path = "/soc/cpm/serial@a80";
Dsequoia.dts238 UART0: serial@ef600300 {
239 device_type = "serial";
249 UART1: serial@ef600400 {
250 device_type = "serial";
260 UART2: serial@ef600500 {
261 device_type = "serial";
271 UART3: serial@ef600600 {
272 device_type = "serial";
409 linux,stdout-path = "/plb/opb/serial@ef600300";
Dmpc885ads.dts181 serial@a80 {
182 device_type = "serial";
192 serial@a90 {
193 device_type = "serial";
230 linux,stdout-path = "/soc/cpm/serial@a80";
Dholly.dts105 serial@7808 {
106 device_type = "serial";
116 serial@7c08 {
117 device_type = "serial";
194 linux,stdout-path = "/tsi109@c0000000/serial@7808";
Dacadia.dts91 UART0: serial@ef600300 {
92 device_type = "serial";
102 UART1: serial@ef600400 {
103 device_type = "serial";
222 linux,stdout-path = "/plb/opb/serial@ef600300";
Dep405.dts95 UART0: serial@ef600300 {
96 device_type = "serial";
106 UART1: serial@ef600400 {
107 device_type = "serial";
228 linux,stdout-path = "/plb/opb/serial@ef600300";
DkuroboxHG.dts84 serial0: serial@80004500 {
86 device_type = "serial";
95 serial1: serial@80004600 {
97 device_type = "serial";
DkuroboxHD.dts84 serial0: serial@80004500 {
86 device_type = "serial";
95 serial1: serial@80004600 {
97 device_type = "serial";
Dep8248e.dts133 smc1: serial@11a80 {
134 device_type = "serial";
146 scc1: serial@11a00 {
147 device_type = "serial";
Dpq2fads.dts153 serial0: serial@11a00 {
154 device_type = "serial";
164 serial1: serial@11a20 {
165 device_type = "serial";
245 linux,stdout-path = "/soc/cpm/serial@11a00";
Dwalnut.dts95 UART0: serial@ef600300 {
96 device_type = "serial";
106 UART1: serial@ef600400 {
107 device_type = "serial";
244 linux,stdout-path = "/plb/opb/serial@ef600300";
Dep88xc.dts176 serial@a80 {
177 device_type = "serial";
189 serial@a20 {
190 device_type = "serial";
Dmpc7448hpc2.dts117 serial0: serial@7808 {
118 device_type = "serial";
126 serial1: serial@7c08 {
127 device_type = "serial";
/linux-4.1.27/tools/virtio/virtio-trace/
DREADME19 write the data to virtio-serial.
38 To use this trace agent for virtio-trace, we need to prepare some virtio-serial
42 virtio-trace uses virtio-serial pipe as trace data paths as to the number
53 2) Set up of virtio-serial pipe in a host
54 Add qemu option to use virtio-serial pipe.
56 ##virtio-serial device##
57 -device virtio-serial-pci,id=virtio-serial0\
74 <address type='virtio-serial' controller='0' bus='0' port='0'/>
79 <address type='virtio-serial' controller='0' bus='0' port='1'/>
113 A host injects read start order to the guest via virtio-serial.
[all …]
/linux-4.1.27/arch/um/
DKconfig.char10 bool "Virtual serial line"
12 The User-Mode Linux environment allows you to create virtual serial
24 This option enables support for attaching UML consoles and serial
31 This option enables support for attaching UML consoles and serial
33 <port number>'. Any number of consoles and serial lines may be
41 This option enables support for attaching UML consoles and serial
51 This option enables support for attaching UML consoles and serial
60 This option enables support for attaching UML consoles and serial
92 string "Default serial line channel initialization"
95 This is the string describing the channel to which the serial lines
/linux-4.1.27/arch/cris/arch-v32/drivers/
DKconfig27 Enables the ETRAX FS serial driver for ser0 (ttyS0)
34 Enables support for RS-485 serial communication.
37 bool "Disable serial receiver"
40 It is necessary to disable the serial receiver to avoid serial
47 Enables the ETRAX FS serial driver for ser0 (ttyS0)
56 Enables the ETRAX FS serial driver for ser1 (ttyS1).
62 Enables the ETRAX FS serial driver for ser2 (ttyS2).
68 Enables the ETRAX FS serial driver for ser3 (ttyS3).
71 bool "Synchronous serial-port support"
74 Enables the ETRAX FS synchronous serial driver.
[all …]
/linux-4.1.27/drivers/parport/
Dparport_serial.c516 struct serial_private *serial; member
527 struct serial_private *serial; in serial_register() local
534 serial = pciserial_init_ports(dev, board); in serial_register()
536 if (IS_ERR(serial)) in serial_register()
537 return PTR_ERR(serial); in serial_register()
539 priv->serial = serial; in serial_register()
644 if (priv->serial) in parport_serial_pci_remove()
645 pciserial_remove_ports(priv->serial); in parport_serial_pci_remove()
660 if (priv->serial) in parport_serial_pci_suspend()
661 pciserial_suspend_ports(priv->serial); in parport_serial_pci_suspend()
[all …]
/linux-4.1.27/arch/mn10300/kernel/
DMakefile18 obj-$(CONFIG_MN10300_TTYSM) += mn10300-serial.o mn10300-serial-low.o \
21 obj-$(CONFIG_GDBSTUB_ON_TTYSx) += gdb-io-serial.o gdb-io-serial-low.o
Dmn10300-serial-low.S3 # Virtual DMA driver for MN10300 serial ports
36 # serial port interrupt virtual DMA entry point
59 # serial port receive interrupt virtual DMA entry point
106 # serial port transmit interrupt virtual DMA entry point
108 # - retrieves data bytes from the ring buffer and passes them to the serial port
/linux-4.1.27/Documentation/devicetree/bindings/soc/qcom/
Dqcom,gsbi.txt4 representing a serial sub-node device that is mux'd as part of the GSBI
14 - qcom,mode : indicates MUX value for configuration of the serial interface.
30 A GSBI controller node can contain 0 or more child nodes representing serial
31 devices. These serial devices can be a QCOM UART, I2C controller, spi
37 Documentation/devicetree/bindings/serial/qcom,msm-uartdm.txt
74 uart4: serial@16340000 {
/linux-4.1.27/arch/m68k/
DKconfig.devices97 tristate "Amiga builtin serial support"
100 If you want to use your Amiga's built-in serial port in Linux,
106 tristate "HP DCA serial support"
109 If you want to use the internal "DCA" serial ports on an HP300
113 tristate "HP APCI serial support"
116 If you want to use the internal "APCI" serial ports on an HP400
120 bool "Support for serial port console"
123 If you say Y here, it will be possible to use a serial port as the
127 to that serial port.
137 kernel will automatically use the first serial line, /dev/ttyS0, as
/linux-4.1.27/arch/cris/arch-v10/drivers/
DKconfig15 Enables the ETRAX 100 serial driver for ser0 (ttyS0)
19 bool "Use fast timers for serial DMA flush (experimental)"
22 Select this to have the serial DMAs flushed at a higher rate than
28 bool "Fast serial port DMA flush"
31 Select this to have the serial DMAs flushed at a higher rate than
50 Enables the ETRAX 100 serial driver for ser0 (ttyS0)
106 Specify the pin of the PB port to carry the DTR signal for serial
115 Specify the pin of the PB port to carry the RI signal for serial
124 Specify the pin of the PB port to carry the DSR signal for serial
133 Specify the pin of the PB port to carry the CD signal for serial
[all …]
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem_userptr.c53 unsigned long serial; member
105 unsigned long serial; in invalidate_range__linear() local
108 serial = mn->serial; in invalidate_range__linear()
125 if (serial != mn->serial) in invalidate_range__linear()
140 unsigned long serial = 0; in i915_gem_userptr_mn_invalidate_range_start() local
149 else if (serial == mn->serial) in i915_gem_userptr_mn_invalidate_range_start()
165 serial = 0; in i915_gem_userptr_mn_invalidate_range_start()
169 serial = mn->serial; in i915_gem_userptr_mn_invalidate_range_start()
196 mn->serial = 1; in i915_mmu_notifier_create()
212 if (++mn->serial == 0) in __i915_mmu_notifier_update_serial()
[all …]
/linux-4.1.27/arch/cris/
DKconfig192 Choose a serial port for the ETRAX debug console. Default to
198 Use serial port 1 for the console.
203 Use serial port 2 for the console.
208 Use serial port 3 for the console.
213 Disable serial-port debugging.
222 Choose a serial port for kernel debugging. NOTE: This port should
229 Use serial port 0 for kernel debugging.
234 Use serial port 1 for kernel debugging.
239 Use serial port 2 for kernel debugging.
244 Use serial port 3 for kernel debugging.
[all …]
/linux-4.1.27/drivers/firmware/
Dpcdp.c92 int i, serial = 0; in efi_setup_pcdp_console() local
103 serial = 1; in efi_setup_pcdp_console()
110 serial = 1; in efi_setup_pcdp_console()
113 if (uart->flags & PCDP_UART_PRIMARY_CONSOLE || serial) { in efi_setup_pcdp_console()
/linux-4.1.27/sound/drivers/
DMakefile11 snd-serial-u16550-objs := serial-u16550.o
19 obj-$(CONFIG_SND_SERIAL_U16550) += snd-serial-u16550.o
/linux-4.1.27/arch/mips/boot/dts/netlogic/
Dxlp_svp.dts19 serial0: serial@30000 {
20 device_type = "serial";
29 serial1: serial@31000 {
30 device_type = "serial";
Dxlp_fvp.dts19 serial0: serial@30000 {
20 device_type = "serial";
29 serial1: serial@31000 {
30 device_type = "serial";
Dxlp_evp.dts19 serial0: serial@30000 {
20 device_type = "serial";
29 serial1: serial@31000 {
30 device_type = "serial";
Dxlp_gvp.dts19 serial0: serial@30000 {
20 device_type = "serial";
Dxlp_rvp.dts19 serial0: serial@30000 {
20 device_type = "serial";
/linux-4.1.27/Documentation/ia64/
Dserial.txt3 As of 2.6.10, serial devices on ia64 are named based on the
13 as a serial console. If the user specified "console=ttyS0"
29 For example, an HP rx1600 with a single built-in serial port
47 table[1] does tell the kernel where potential serial console
60 to specify "console=ttyS0" to get a serial console.)
65 NOTE: Don't assume that a serial console device will be /dev/ttyS0.
72 The kernel can't start using a serial console until it knows where
74 all the serial devices, which can happen a minute or more after the
113 your console lives until the driver discovers serial
127 No ACPI serial devices found in 2.6.17 or later:
[all …]
/linux-4.1.27/Documentation/driver-model/
Dplatform.txt149 These are concatenated, so name/id "serial"/0 indicates bus_id "serial.0", and
150 "serial/3" indicates bus_id "serial.3"; both would use the platform_driver
151 named "serial". While "my_rtc"/-1 would be bus_id "my_rtc" (no instance id)
179 Example: "earlyprintk" class early serial console in 6 steps
184 early_platform_add_devices(). In the case of early serial console this
185 should be hardware configuration for the serial port. Devices registered
193 For the early serial console case the user can specify port on the
194 kernel command line as "earlyprintk=serial.0" where "earlyprintk" is
195 the class string, "serial" is the name of the platform driver and
204 step 2 have priority over these. This step is omitted by the serial
[all …]
/linux-4.1.27/drivers/staging/speakup/
DTODO11 The first issue has to do with the way speakup communicates with serial
13 ports. This however conflicts with the standard serial port drivers,
15 such as PCI-based serial ports. Also, there is not a way we can
16 communicate with USB devices. The current serial port handling code is
22 as was already done for the serial port driving part.
/linux-4.1.27/Documentation/frv/
Dgdbstub.txt6 The kernel contains a GDB stub that talks GDB remote protocol across a serial
9 permits the NMI interrupt button or serial port events to jump the kernel into
13 GDB stub hijacks a serial port for its own purposes, and makes it
14 generate level 15 interrupts (NMI). The kernel proper cannot see the serial
19 PDK there is no externally accessible serial port and the serial port to
56 debugging the serial drivers that'd otherwise be used to pass console
70 Set the serial port on the computer that's going to run GDB to the appropriate
114 kernel by sending an RS232 BREAK over the serial line to the GDB
/linux-4.1.27/Documentation/networking/
Dbaycom.txt18 serial port. Its devices are called bcsf0 through bcsf3.
43 for handling the HDLC protocol. The modem connects to a serial port,
44 hence the name. Since the serial port is not used as an async serial
45 port, the kernel driver for serial ports cannot be used, and this
46 driver only supports standard serial hardware (8250, 16450, 16550)
103 serial port (COM1 under DOS). The * in the mode parameter instructs the driver to use
142 The serial driver and the baycom serial drivers compete
144 interface at a time. The serial driver grabs all interfaces it can find at
146 access a serial port. You might therefore find it necessary to release
147 a port owned by the serial driver with 'setserial /dev/ttyS# uart none', where
/linux-4.1.27/security/keys/
Dproc.c112 if (id < key->serial) { in find_ge_key()
113 if (!minkey || minkey->serial > key->serial) in find_ge_key()
116 } else if (id > key->serial) { in find_ge_key()
151 *_pos = key->serial; in proc_keys_start()
158 return key->serial; in key_node_serial()
247 key->serial, in proc_keys_show()
Dkey.c145 get_random_bytes(&key->serial, sizeof(key->serial)); in key_alloc_serial()
147 key->serial >>= 1; /* negative numbers are not permitted */ in key_alloc_serial()
148 } while (key->serial < 3); in key_alloc_serial()
160 if (key->serial < xkey->serial) in key_alloc_serial()
162 else if (key->serial > xkey->serial) in key_alloc_serial()
179 key->serial++; in key_alloc_serial()
180 if (key->serial < 3) { in key_alloc_serial()
181 key->serial = 3; in key_alloc_serial()
190 if (key->serial < xkey->serial) in key_alloc_serial()
626 if (id < key->serial) in key_lookup()
[all …]
Drequest_key.c35 kenter("{%d,%d},%d", cons->key->serial, cons->authkey->serial, error); in complete_request_key()
107 kenter("{%d},{%d},%s", key->serial, authkey->serial, op); in call_sbin_request_key()
114 sprintf(desc, "_req.%u", key->serial); in call_sbin_request_key()
136 sprintf(key_str, "%d", key->serial); in call_sbin_request_key()
140 cred->thread_keyring ? cred->thread_keyring->serial : 0); in call_sbin_request_key()
144 prkey = cred->process_keyring->serial; in call_sbin_request_key()
151 sskey = session->serial; in call_sbin_request_key()
212 kenter("%d,%p,%zu,%p", key->serial, callout_info, callout_len, aux); in construct_key()
Drequest_key_auth.c115 kenter("{%d}", key->serial); in request_key_auth_revoke()
130 kenter("{%d}", key->serial); in request_key_auth_destroy()
156 kenter("%d,", target->serial); in request_key_auth_new()
200 sprintf(desc, "%x", target->serial); in request_key_auth_new()
216 kleave(" = {%d,%d}", authkey->serial, atomic_read(&authkey->usage)); in request_key_auth_new()
Dkeyring.c431 key->type->name, key->serial, ctx->count, ctx->qty); in keyring_read_iterator()
436 ret = put_user(key->serial, ctx->buffer); in keyring_read_iterator()
440 ctx->count += sizeof(key->serial); in keyring_read_iterator()
531 kenter("{%d}", key->serial); in keyring_search_iterator()
628 keyring->serial, in search_nested_keyrings()
659 kdebug("descend to %d", keyring->serial); in search_nested_keyrings()
801 kdebug("ascend to %d [%d]", keyring->serial, slot); in search_nested_keyrings()
942 keyring->serial, index_key->type->name, index_key->description); in find_key_to_update()
961 kleave(" = {%d}", key->serial); in find_key_to_update()
1031 kenter("{%d}", key->serial); in keyring_detect_cycle_iterator()
[all …]
/linux-4.1.27/drivers/net/slip/
DKconfig6 tristate "SLIP (serial line) support"
14 serial connections such as telephone lines or null modem cables;
21 <ftp://ibiblio.org/pub/Linux/system/network/serial/>) which
39 This option enables Van Jacobsen serial line header compression
54 <ftp://ibiblio.org/pub/Linux/system/network/serial/>) which
72 Just occasionally you may need to run IP over hostile serial
76 the serial device. Naturally, this has to be supported at the other
/linux-4.1.27/arch/arm/mach-pxa/
Dcolibri-pxa3xx.c41 u64 serial = ((u64) system_serial_high << 32) | system_serial_low; in colibri_pxa3xx_init_eth() local
51 ether_mac_addr[i] = serial & 0xff; in colibri_pxa3xx_init_eth()
52 serial >>= 8; in colibri_pxa3xx_init_eth()
/linux-4.1.27/arch/powerpc/boot/dts/fsl/
Dpq3-duart-0.dtsi35 serial0: serial@4500 {
37 device_type = "serial";
44 serial1: serial@4600 {
46 device_type = "serial";
Dqoriq-duart-1.dtsi35 serial2: serial@11d500 {
37 device_type = "serial";
44 serial3: serial@11d600 {
46 device_type = "serial";
Dqoriq-duart-0.dtsi35 serial0: serial@11c500 {
37 device_type = "serial";
44 serial1: serial@11c600 {
46 device_type = "serial";
/linux-4.1.27/Documentation/sound/alsa/
Dserial-u16550.txt24 Usage example for simple serial converter:
27 /sbin/modprobe snd-serial-u16550 port=0x3f8 irq=4 speed=115200
32 /sbin/modprobe snd-serial-u16550 port=0x3f8 irq=4 outs=4
42 /sbin/modprobe snd-serial-u16550 port=0x3f8 irq=4 adaptor=1 \
52 /sbin/modprobe snd-serial-u16550 port=0x3f8 irq=4 adaptor=2
68 /sbin/modprobe snd-serial-u16550 port=0x3f8 irq=4 adaptor=3
85 serial port. Similar to Roland Soundcanvas mode, F5 NN is used to select the
/linux-4.1.27/drivers/bluetooth/
DKconfig52 serial port interface. You will also need this driver if you have
63 UART (H4) is serial protocol for communication between Bluetooth
74 BCSP (BlueCore Serial Protocol) is serial protocol for communication
82 bool "Atheros AR300x serial support"
86 HCIATH3K (HCI Atheros AR300x) is a serial protocol for
90 Enable this if you have Atheros AR300x serial Bluetooth device.
98 HCILL (HCI Low Level) is a serial protocol for communication
100 serial Bluetooth devices that are based on Texas Instruments'
110 user the Bluetooth HCI over a serial port interface. The HCI
122 The Intel protocol support enables Bluetooth HCI over serial
[all …]
/linux-4.1.27/sound/pci/ca0106/
Dca0106_main.c179 { .serial = 0x10131102,
197 { .serial = 0x10121102,
203 { .serial = 0x10021102,
207 { .serial = 0x10051102,
211 { .serial = 0x10061102,
216 { .serial = 0x10071102,
226 { .serial = 0x100a1102,
237 { .serial = 0x10111102,
246 { .serial = 0x10041102,
258 { .serial = 0x10091462,
[all …]
/linux-4.1.27/drivers/tty/
DKconfig7 TTY is required for any text terminals or serial port
38 memory; the only way to log into such a system is then via a serial
62 the kernel messages be output only to a serial port (in which case
63 you should say Y to "Console on serial port", below).
179 bool "Non-standard serial port support"
182 Say Y here if you have any non-standard serial boards -- boards
183 which aren't supported using the standard "dumb" serial driver.
184 This includes intelligent serial boards such as Cyclades,
186 serial ports because they serve many terminals or dial-in
191 the questions about non-standard serial boards.
[all …]
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_eeprom.c249 char *snp = dd->serial; in qib_get_eeprom_info()
259 len = sizeof(dd->serial) - len; in qib_get_eeprom_info()
264 memcpy(dd->serial, ifp->if_serial, sizeof(ifp->if_serial)); in qib_get_eeprom_info()
269 dd->serial, ifp->if_comment); in qib_get_eeprom_info()
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/
Dmpc5121-psc.txt6 For PSC in UART mode the needed PSC serial devices
43 Example for a board using PSC0 and PSC1 devices in serial mode:
45 serial@11000 {
55 serial@11100 {
/linux-4.1.27/Documentation/i2c/busses/
Di2c-taos-evm7 be controlled over the serial port. Virtually all evaluation modules
26 serial port:
44 module. The communication is rather slow, because the serial port has
/linux-4.1.27/arch/arm64/boot/dts/mediatek/
Dmt8173.dtsi150 uart0: serial@11002000 {
159 uart1: serial@11003000 {
168 uart2: serial@11004000 {
177 uart3: serial@11005000 {
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/
Dserial.txt21 serial@11a00 {
22 device_type = "serial";
/linux-4.1.27/Documentation/zh_CN/
Dmagic-number.txt76 SERIAL_MAGIC 0x5301 async_struct include/linux/serial.h
77 SSTATE_MAGIC 0x5302 serial_state include/linux/serial.h
88 USB_SERIAL_MAGIC 0x6702 usb_serial drivers/usb/serial/usb-serial.h
92 USB_SERIAL_PORT_MAGIC 0x7301 usb_serial_port drivers/usb/serial/usb-serial.h
/linux-4.1.27/Documentation/filesystems/
Dqnx6.txt36 Each qnx6fs got two superblocks, each one having a 64bit serial number.
37 That serial number is used to identify the "active" superblock.
39 serial of the new master superblock is increased (old superblock serial + 1)
42 update of the serial number. Before updating that serial, all modifications
165 (system area of the inactive - resp. lower serial numbered superblock) while
170 time or a filesystem sync is requested), serial of the previously inactive
/linux-4.1.27/Documentation/devicetree/bindings/sound/
Dfsl,esai.txt3 The Enhanced Serial Audio Interface (ESAI) provides a full-duplex serial port
4 for serial communication with a variety of serial devices, including industry
/linux-4.1.27/Documentation/filesystems/nfs/
Dpnfs-block-server.txt25 how to translate the device into a serial number from SCSI EVPD 0x80:
33 grep "Unit serial number:" | \
36 echo "fencing client ${CLIENT} serial ${EVPD}" >> /var/log/pnfsd-fence.log
/linux-4.1.27/arch/mips/
DKconfig.debug28 "8250/16550 and compatible serial early printk driver"
29 If you say Y here, it will be possible to use a 8250/16550 serial
105 board supports uart16550 compatible serial port, please select
109 If your board doesn't support uart16550 compatible serial port, you
111 debug it. for example, add a new serial port support just as
/linux-4.1.27/drivers/accessibility/
DKconfig25 serial port. For now only the VisioBraille device is supported.
29 to the kernel. Options are the same as for serial console.

123456