Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 25 of 2151) sorted by relevance

12345678910>>...87

/openbmc/libmctp/
H A Dserial.c182 return mctp_write_all(serial->tx_fn, serial->tx_fn_data, in mctp_binding_serial_tx()
201 serial->rx_pkt = mctp_pktbuf_alloc(&serial->binding, len); in mctp_serial_start_packet()
294 if (serial->rx_fcs == serial->rx_fcs_calc) { in mctp_rx_consume_one()
304 serial->rx_fcs, serial->rx_fcs_calc); in mctp_rx_consume_one()
328 len = read(serial->fd, serial->rxbuf, sizeof(serial->rxbuf)); in mctp_serial_read()
337 mctp_rx_consume(serial, serial->rxbuf, len); in mctp_serial_read()
363 serial->fd = fd; in mctp_serial_open_fd()
396 serial = __mctp_alloc(sizeof(*serial)); in mctp_serial_init()
397 memset(serial, 0, sizeof(*serial)); in mctp_serial_init()
398 serial->fd = -1; in mctp_serial_init()
[all …]
H A Dlibmctp-serial.h15 void mctp_serial_destroy(struct mctp_binding_serial *serial);
21 int mctp_serial_init_pollfd(struct mctp_binding_serial *serial,
24 int mctp_serial_read(struct mctp_binding_serial *serial);
25 int mctp_serial_open_path(struct mctp_binding_serial *serial, const char *path);
26 void mctp_serial_open_fd(struct mctp_binding_serial *serial, int fd);
31 void mctp_serial_set_tx_fn(struct mctp_binding_serial *serial,
33 int mctp_serial_rx(struct mctp_binding_serial *serial, const void *buf,
/openbmc/linux/drivers/net/usb/
H A Dhso.c1139 curr_urb = serial->rx_urb[serial->curr_rx_urb_idx]; in put_rxbuf_data_and_resubmit_bulk_urb()
1215 struct hso_serial *serial = from_tasklet(serial, t, in hso_unthrottle_tasklet() local
1729 swap(serial->tx_buffer, serial->tx_data); in hso_kick_transmit()
1730 serial->tx_data_count = serial->tx_buffer_count; in hso_kick_transmit()
1734 if (serial->tx_data && serial->write_data) { in hso_kick_transmit()
1735 res = serial->write_data(serial); in hso_kick_transmit()
1824 serial->rx_data[0], serial->rx_data_length); in hso_mux_serial_read()
1896 serial->tx_data, serial->tx_data_count); in hso_mux_serial_write_data()
1937 serial->tx_data, serial->tx_data_count, in hso_std_serial_write_data()
2621 serial = kzalloc(sizeof(*serial), GFP_KERNEL); in hso_create_bulk_serial_device()
[all …]
/openbmc/linux/drivers/usb/serial/
H A Dusb-serial.c71 serial = port->serial; in usb_serial_port_get_by_minor()
175 serial->type->release(serial); in destroy_serial()
226 serial = port->serial; in serial_install()
258 struct usb_serial *serial = port->serial; in serial_port_activate() local
357 serial = port->serial; in serial_cleanup()
393 struct usb_serial *serial = port->serial; in serial_chars_in_buffer() local
406 struct usb_serial *serial = port->serial; in serial_wait_until_sent() local
558 serial = port->serial; in serial_proc_show()
1071 port->serial = serial; in usb_serial_probe()
1208 serial->type->disconnect(serial); in usb_serial_disconnect()
[all …]
H A Dmxuport.c287 struct usb_serial *serial = port->serial; in mxuport_throttle() local
306 struct usb_serial *serial = port->serial; in mxuport_unthrottle() local
466 struct usb_serial *serial = port->serial; in mxuport_process_read_urb_demux_data() local
513 struct usb_serial *serial = port->serial; in mxuport_process_read_urb_demux_event() local
557 struct usb_serial *serial = port->serial; in mxuport_process_read_urb() local
572 struct usb_serial *serial = port->serial; in mxuport_tx_empty() local
600 struct usb_serial *serial = port->serial; in mxuport_set_mcr() local
616 struct usb_serial *serial = port->serial; in mxuport_set_dtr() local
638 struct usb_serial *serial = port->serial; in mxuport_set_rts() local
839 struct usb_serial *serial = port->serial; in mxuport_set_termios() local
[all …]
H A Dmos7720.c565 mos_parport->serial = serial; in mos7715_parport_init()
844 struct usb_serial *serial; in mos7720_open() local
853 serial = port->serial; in mos7720_open()
967 struct usb_serial *serial; in mos7720_close() local
971 serial = port->serial; in mos7720_close()
1006 serial = port->serial; in mos7720_break()
1059 serial = port->serial; in mos7720_write()
1191 serial = port->serial; in set_higher_rates()
1325 serial = port->serial; in send_cmd_write_baud_rate()
1376 serial = port->serial; in change_port_settings()
[all …]
H A Dark3116.c52 struct usb_device *dev = serial->dev; in is_irda()
83 usb_sndctrlpipe(serial->dev, 0), in ark3116_write_reg()
98 usb_rcvctrlpipe(serial->dev, 0), in ark3116_read_reg()
102 dev_err(&serial->interface->dev, in ark3116_read_reg()
126 struct usb_serial *serial = port->serial; in ark3116_port_probe() local
136 priv->irda = is_irda(serial); in ark3116_port_probe()
171 ark3116_write_reg(serial, 0xe, 0); in ark3116_port_probe()
174 ark3116_write_reg(serial, 0x9, 0); in ark3116_port_probe()
194 struct usb_serial *serial = port->serial; in ark3116_set_termios() local
298 struct usb_serial *serial = port->serial; in ark3116_close() local
[all …]
H A Dsierra.c131 udev = serial->dev; in sierra_probe()
290 struct usb_serial *serial = port->serial; in sierra_send_setup() local
334 retval = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in sierra_send_setup()
420 struct usb_serial *serial = port->serial; in sierra_write() local
565 struct usb_serial *serial = port->serial; in sierra_instat_callback() local
729 struct usb_serial *serial = port->serial; in sierra_close() local
772 struct usb_serial *serial = port->serial; in sierra_open() local
789 usb_clear_halt(serial->dev, in sierra_open()
859 struct usb_serial *serial = port->serial; in sierra_port_probe() local
921 port = serial->port[i]; in stop_read_write_urbs()
[all …]
H A Dvisor.c262 usb_control_msg(port->serial->dev, in visor_close()
327 retval = usb_control_msg(serial->dev, in palm_os_3_probe()
328 usb_rcvctrlpipe(serial->dev, 0), in palm_os_3_probe()
351 serial->type->description); in palm_os_3_probe()
377 serial->type->description, in palm_os_3_probe()
391 retval = usb_control_msg(serial->dev, in palm_os_3_probe()
461 retval = startup(serial, id); in visor_probe()
474 usb_set_serial_data(serial, NULL); in visor_calc_num_ports()
518 return serial->type->num_ports; in clie_5_calc_num_ports()
536 result = usb_control_msg(serial->dev, usb_rcvctrlpipe(serial->dev, 0), in clie_3_5_startup()
[all …]
H A Dconsole.c64 struct usb_serial *serial; in usb_console_setup() local
118 serial = port->serial; in usb_console_setup()
130 if (serial->type->set_termios) { in usb_console_setup()
162 if (serial->type->set_termios) { in usb_console_setup()
181 mutex_unlock(&serial->disc_mutex); in usb_console_setup()
192 mutex_unlock(&serial->disc_mutex); in usb_console_setup()
193 usb_serial_put(serial); in usb_console_setup()
202 struct usb_serial *serial; in usb_console_write() local
207 serial = port->serial; in usb_console_write()
269 if (serial->port[0] && serial->port[0] == usbcons_info.port) { in usb_serial_console_disconnect()
[all …]
H A Dpl2303.c256 res = usb_control_msg(serial->dev, usb_rcvctrlpipe(serial->dev, 0), in pl2303_vendor_read()
287 res = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in pl2303_vendor_write()
465 dev_err(&serial->interface->dev, in pl2303_detect_type()
477 ret = pl2303_detect_type(serial); in pl2303_startup()
492 usb_set_serial_data(serial, spriv); in pl2303_startup()
692 struct usb_serial *serial = port->serial; in pl2303_encode_baud_rate() local
796 struct usb_serial *serial = port->serial; in pl2303_set_termios() local
961 struct usb_serial *serial = port->serial; in pl2303_open() local
1066 struct usb_serial *serial = port->serial; in pl2303_set_break() local
1078 result = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in pl2303_set_break()
[all …]
H A Dio_ti.c388 status = ti_vread_sync(serial->serial->dev, in read_boot_mem()
444 struct device *dev = &serial->serial->dev->dev; in write_i2c_mem()
676 struct device *dev = &serial->serial->dev->dev; in check_i2c_image()
760 struct device *dev = &serial->serial->dev->dev; in get_manuf_info()
867 struct device *dev = &serial->serial->dev->dev; in i2c_type_bootmode()
1038 status = choose_config(serial->serial->dev); in download_fw()
1241 status = ti_vsend_sync(serial->serial->dev, in do_download_mode()
1356 status = ti_vsend_sync(serial->serial->dev, in do_download_mode()
1391 status = config_boot_dev(serial->serial->dev); in do_boot_mode()
2466 dev_err(&serial->serial->interface->dev, in edge_heartbeat_work()
[all …]
H A Dkeyspan_pda.c36 struct usb_serial *serial; member
79 struct usb_serial *serial = port->serial; in keyspan_pda_get_write_room() local
108 struct usb_serial *serial = port->serial; in keyspan_pda_request_unthrottle() local
286 rc = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in keyspan_pda_setbaud()
305 struct usb_serial *serial = port->serial; in keyspan_pda_break_ctl() local
314 result = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in keyspan_pda_break_ctl()
331 struct usb_serial *serial = port->serial; in keyspan_pda_set_termios() local
401 rc = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in keyspan_pda_set_modem_info()
411 struct usb_serial *serial = port->serial; in keyspan_pda_tiocmget() local
434 struct usb_serial *serial = port->serial; in keyspan_pda_tiocmset() local
[all …]
H A Dcp210x.c646 struct usb_serial *serial = port->serial; in cp210x_read_reg_block() local
700 struct usb_serial *serial = port->serial; in cp210x_write_u16_reg() local
704 result = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in cp210x_write_u16_reg()
723 struct usb_serial *serial = port->serial; in cp210x_write_reg_block() local
928 struct usb_serial *serial = port->serial; in cp210x_get_tx_queue_byte_count() local
1055 struct usb_serial *serial = port->serial; in cp210x_change_speed() local
2004 struct usb_serial *serial = port->serial; in cp210x_port_probe() local
2089 ret = usb_control_msg(serial->dev, usb_rcvctrlpipe(serial->dev, 0), in cp2102_determine_quirks()
2170 cp210x_determine_type(serial); in cp210x_attach()
2184 cp210x_gpio_remove(serial); in cp210x_disconnect()
[all …]
H A Dwhiteheat.c280 serial->type->description, in whiteheat_attach()
301 dev_err(&serial->dev->dev, in whiteheat_attach()
303 serial->type->description); in whiteheat_attach()
304 dev_err(&serial->dev->dev, in whiteheat_attach()
306 serial->type->description); in whiteheat_attach()
307 dev_err(&serial->dev->dev, in whiteheat_attach()
309 serial->type->description); in whiteheat_attach()
363 stop_command_port(port->serial); in whiteheat_open()
370 stop_command_port(port->serial); in whiteheat_open()
399 stop_command_port(port->serial); in whiteheat_close()
[all …]
H A Dusb_wwan.c43 struct usb_serial *serial = port->serial; in usb_wwan_send_setup() local
62 res = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in usb_wwan_send_setup()
251 usb_mark_last_busy(port->serial->dev); in usb_wwan_indat_callback()
329 struct usb_serial *serial = port->serial; in usb_wwan_open() local
384 struct usb_serial *serial = port->serial; in usb_wwan_close() local
424 struct usb_serial *serial = port->serial; in usb_wwan_setup_urb() local
432 usb_fill_bulk_urb(urb, serial->dev, in usb_wwan_setup_urb()
533 port = serial->port[i]; in stop_urbs()
559 stop_urbs(serial); in usb_wwan_suspend()
568 struct usb_serial *serial = port->serial; in usb_wwan_submit_delayed_urbs() local
[all …]
H A Df81534.c197 usb_get_serial_data(port->serial); in f81534_logic_to_phy_port()
369 dev_err(&serial->interface->dev, in f81534_wait_for_spi_idle()
882 dev_err(&serial->interface->dev, in f81534_calc_num_ports()
888 dev_dbg(&serial->interface->dev, in f81534_calc_num_ports()
931 dev_dbg(&serial->interface->dev, in f81534_calc_num_ports()
1239 struct usb_serial *serial; in f81534_process_read_urb() local
1251 serial = port->serial; in f81534_process_read_urb()
1315 struct usb_serial *serial; in f81534_set_port_output_pin() local
1322 serial = port->serial; in f81534_set_port_output_pin()
1499 usb_get_serial_data(serial); in f81534_resume()
[all …]
H A Dquatech2.c249 dev_err(&serial->dev->dev, in qt2_calc_num_ports()
316 struct usb_serial *serial; in qt2_open() local
325 serial = port->serial; in qt2_open()
386 struct usb_serial *serial; in qt2_close() local
390 serial = port->serial; in qt2_close()
448 struct usb_serial *serial; in qt2_process_read_urb() local
461 serial = urb->context; in qt2_process_read_urb()
578 dev_err(&serial->dev->dev, in qt2_read_bulk_callback()
589 port0 = serial->port[0]; in qt2_setup_urbs()
620 status = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in qt2_attach()
[all …]
H A Dmetro-usb.c65 static int metrousb_calc_num_ports(struct usb_serial *serial, in metrousb_calc_num_ports() argument
68 if (metrousb_is_unidirectional_mode(serial)) { in metrousb_calc_num_ports()
84 if (!metrousb_is_unidirectional_mode(port->serial)) in metrousb_send_unidirectional_cmd()
93 ret = usb_interrupt_msg(port->serial->dev, in metrousb_send_unidirectional_cmd()
172 struct usb_serial *serial = port->serial; in metrousb_open() local
187 usb_fill_int_urb(port->interrupt_in_urb, serial->dev, in metrousb_open()
223 dev_dbg(&serial->dev->dev, "%s - control state = %d\n", in metrousb_set_modem_ctrl()
233 retval = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in metrousb_set_modem_ctrl()
237 dev_err(&serial->dev->dev, in metrousb_set_modem_ctrl()
297 struct usb_serial *serial = port->serial; in metrousb_tiocmset() local
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A 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 …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-pyserial_3.5.bb19 ${PYTHON_SITEPACKAGES_DIR}/serial/*java* \
20 ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*java* \
24 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/*osx* \
25 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/*osx* \
29 ${PYTHON_SITEPACKAGES_DIR}/serial/*serialcli* \
30 ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*serialcli* \
31 ${PYTHON_SITEPACKAGES_DIR}/serial/*win32* \
32 ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*win32* \
33 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/miniterm* \
34 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/miniterm* \
[all …]
/openbmc/libmctp/tests/
H A Dtest_serial.c29 struct mctp_binding_serial *serial; member
114 scenario[0].binding.serial = mctp_serial_init(); in main()
115 assert(scenario[0].binding.serial); in main()
119 mctp_serial_open_fd(a->serial, a->ingress); in main()
120 mctp_serial_set_tx_fn(a->serial, mctp_binding_serial_pipe_tx, a); in main()
128 scenario[1].binding.serial = mctp_serial_init(); in main()
129 assert(scenario[1].binding.serial); in main()
133 mctp_serial_open_fd(b->serial, b->ingress); in main()
147 mctp_serial_read(b->serial); in main()
152 mctp_serial_destroy(scenario[1].binding.serial); in main()
[all …]
/openbmc/libmctp/utils/
H A Dmctp-pipe.c30 struct mctp_binding_serial *serial[2]; in main() local
41 serial[0] = mctp_serial_init(); in main()
42 serial[1] = mctp_serial_init(); in main()
44 assert(serial[0] && serial[1]); in main()
50 mctp_serial_open_fd(serial[0], mctp_fds[0]); in main()
51 mctp_serial_open_fd(serial[1], mctp_fds[1]); in main()
53 mctp_register_bus(mctp[0], mctp_binding_serial_core(serial[0]), in main()
55 mctp_register_bus(mctp[1], mctp_binding_serial_core(serial[1]), in main()
76 rc = mctp_serial_read(serial[0]); in main()
82 rc = mctp_serial_read(serial[1]); in main()
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dserial-midi.yaml5 $id: http://devicetree.org/schemas/sound/serial-midi.yaml#
14 Generic MIDI interface using a serial device. This denotes that a serial device is
17 child node of a serial node.
20 parent serial device. If the standard MIDI baud of 31.25 kBaud is needed
22 configure the clocks of the parent serial device so that a requested baud of 38.4 kBaud
27 const: serial-midi
30 description: Baudrate to set the serial port to when this MIDI device is opened.
40 serial {
42 compatible = "serial-midi";
46 serial {
[all …]
/openbmc/linux/arch/sh/kernel/cpu/sh3/
H A DMakefile11 obj-$(CONFIG_CPU_SUBTYPE_SH7705) += setup-sh7705.o serial-sh770x.o
12 obj-$(CONFIG_CPU_SUBTYPE_SH7706) += setup-sh770x.o serial-sh770x.o
13 obj-$(CONFIG_CPU_SUBTYPE_SH7707) += setup-sh770x.o serial-sh770x.o
14 obj-$(CONFIG_CPU_SUBTYPE_SH7708) += setup-sh770x.o serial-sh770x.o
15 obj-$(CONFIG_CPU_SUBTYPE_SH7709) += setup-sh770x.o serial-sh770x.o
16 obj-$(CONFIG_CPU_SUBTYPE_SH7710) += setup-sh7710.o serial-sh7710.o
17 obj-$(CONFIG_CPU_SUBTYPE_SH7712) += setup-sh7710.o serial-sh7710.o
18 obj-$(CONFIG_CPU_SUBTYPE_SH7720) += setup-sh7720.o serial-sh7720.o
19 obj-$(CONFIG_CPU_SUBTYPE_SH7721) += setup-sh7720.o serial-sh7720.o

12345678910>>...87