Home
last modified time | relevance | path

Searched refs:tty (Results 1 – 25 of 186) sorted by relevance

12345678

/openbmc/openbmc/meta-facebook/meta-santabarbara/recipes-phosphor/console/obmc-console/
H A D81-plat-obmc-console-uart.rules1 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E78E000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS2", TAG+="s…
4 SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ENV{ID_PATH}=="platform-1e6a1000.usb-usb-0:1.1.2.1:1.0", SYMLI…
5 SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ENV{ID_PATH}=="platform-1e6a1000.usb-usb-0:1.1.2.1:1.1", SYMLI…
6 SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ENV{ID_PATH}=="platform-1e6a1000.usb-usb-0:1.1.2.1:1.2", SYMLI…
7 SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ENV{ID_PATH}=="platform-1e6a1000.usb-usb-0:1.1.2.1:1.3", SYMLI…
9 SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ENV{ID_PATH}=="platform-1e6a1000.usb-usb-0:1.1.2.2:1.0", SYMLI…
10 SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ENV{ID_PATH}=="platform-1e6a1000.usb-usb-0:1.1.2.2:1.1", SYMLI…
11 SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ENV{ID_PATH}=="platform-1e6a1000.usb-usb-0:1.1.2.2:1.2", SYMLI…
12 SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ENV{ID_PATH}=="platform-1e6a1000.usb-usb-0:1.1.2.2:1.3", SYMLI…
14 SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ENV{ID_PATH}=="platform-1e6a1000.usb-usb-0:1.1.2.3:1.0", SYMLI…
[all …]
/openbmc/phosphor-modbus/rtu/modbus/
H A Dmodbus.cpp34 static auto applyParitySettings(Parity parity, termios& tty) -> bool in applyParitySettings() argument
39 tty.c_cflag &= ~PARENB; in applyParitySettings()
40 tty.c_iflag &= ~INPCK; in applyParitySettings()
43 tty.c_cflag |= PARENB; in applyParitySettings()
44 tty.c_cflag |= PARODD; in applyParitySettings()
45 tty.c_iflag |= INPCK; in applyParitySettings()
48 tty.c_cflag |= PARENB; in applyParitySettings()
49 tty.c_cflag &= ~PARODD; in applyParitySettings()
50 tty.c_iflag |= INPCK; in applyParitySettings()
67 termios tty; in setProperties() local
[all …]
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/console/obmc-console/
H A Dplat-80-obmc-console-uart.rules1 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E78F000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS2", TAG+="s…
2 SUBSYSTEM=="tty", KERNEL=="ttyUSB0", ENV{SYSTEMD_WANTS}="obmc-console@ttyUSB0", TAG+="systemd"
3 SUBSYSTEM=="tty", KERNEL=="ttyUSB1", ENV{SYSTEMD_WANTS}="obmc-console@ttyUSB1", TAG+="systemd"
4 SUBSYSTEM=="tty", KERNEL=="ttyUSB2", ENV{SYSTEMD_WANTS}="obmc-console@ttyUSB2", TAG+="systemd"
5 SUBSYSTEM=="tty", KERNEL=="ttyUSB3", ENV{SYSTEMD_WANTS}="obmc-console@ttyUSB3", TAG+="systemd"
6 SUBSYSTEM=="tty", KERNEL=="ttyUSB4", ENV{SYSTEMD_WANTS}="obmc-console@ttyUSB4", TAG+="systemd"
7 SUBSYSTEM=="tty", KERNEL=="ttyUSB5", ENV{SYSTEMD_WANTS}="obmc-console@ttyUSB5", TAG+="systemd"
8 SUBSYSTEM=="tty", KERNEL=="ttyUSB6", ENV{SYSTEMD_WANTS}="obmc-console@ttyUSB6", TAG+="systemd"
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/console/obmc-console/
H A Dplat-80-obmc-console-uart.rules1 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E783000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS0", TAG+="s…
2 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E78D000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS1", TAG+="s…
3 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E78E000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS2", TAG+="s…
4 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E78F000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS3", TAG+="s…
5 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E790000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS5", TAG+="s…
6 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E790100", ENV{SYSTEMD_WANTS}="obmc-console@ttyS6", TAG+="s…
7 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E790200", ENV{SYSTEMD_WANTS}="obmc-console@ttyS7", TAG+="s…
8 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E790300", ENV{SYSTEMD_WANTS}="obmc-console@ttyS8", TAG+="s…
H A D99-terminus-usb-serial.rules1 SUBSYSTEM=="tty",ENV{ID_PATH}=="platform-1e6a3000.usb-usb-0:1.2.1.6:1.0",SYMLINK+="ctrlcpnic1",ENV{…
2 SUBSYSTEM=="tty",ENV{ID_PATH}=="platform-1e6a3000.usb-usb-0:1.2.2.6:1.0",SYMLINK+="ctrlcpnic2",ENV{…
3 SUBSYSTEM=="tty",ENV{ID_PATH}=="platform-1e6a3000.usb-usb-0:1.2.3.6:1.0",SYMLINK+="ctrlcpnic3",ENV{…
4 SUBSYSTEM=="tty",ENV{ID_PATH}=="platform-1e6a3000.usb-usb-0:1.2.4.6:1.0",SYMLINK+="ctrlcpnic4",ENV{…
/openbmc/qemu/chardev/
H A Dchar-stdio.c61 struct termios tty; in qemu_chr_set_echo_stdio() local
64 tty = oldtty; in qemu_chr_set_echo_stdio()
66 tty.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP in qemu_chr_set_echo_stdio()
68 tty.c_oflag |= OPOST; in qemu_chr_set_echo_stdio()
69 tty.c_lflag &= ~(ECHO | ECHONL | ICANON | IEXTEN); in qemu_chr_set_echo_stdio()
70 tty.c_cflag &= ~(CSIZE | PARENB); in qemu_chr_set_echo_stdio()
71 tty.c_cflag |= CS8; in qemu_chr_set_echo_stdio()
72 tty.c_cc[VMIN] = 1; in qemu_chr_set_echo_stdio()
73 tty.c_cc[VTIME] = 0; in qemu_chr_set_echo_stdio()
76 tty.c_lflag &= ~ISIG; in qemu_chr_set_echo_stdio()
[all …]
H A Dchar-serial.c61 struct termios tty = {0}; in tty_serial_init() local
68 tcgetattr(fd, &tty); in tty_serial_init()
138 cfsetispeed(&tty, spd); in tty_serial_init()
139 cfsetospeed(&tty, spd); in tty_serial_init()
141 tty.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP in tty_serial_init()
143 tty.c_oflag &= ~OPOST; in tty_serial_init()
144 tty.c_lflag &= ~(ECHO | ECHONL | ICANON | IEXTEN | ISIG); in tty_serial_init()
145 tty.c_cflag &= ~(CSIZE | PARENB | PARODD | CRTSCTS | CSTOPB); in tty_serial_init()
149 tty.c_cflag |= CS8; in tty_serial_init()
152 tty.c_cflag |= CS7; in tty_serial_init()
[all …]
/openbmc/obmc-console/
H A Dconsole-server.c149 server->tty.type = TTY_DEVICE_UNDEFINED; in tty_find_device()
151 assert(server->tty.kname); in tty_find_device()
152 if (!strlen(server->tty.kname)) { in tty_find_device()
158 if (server->tty.kname[0] == '/') { in tty_find_device()
159 tty_path_input = strdup(server->tty.kname); in tty_find_device()
165 rc = asprintf(&tty_path_input, "/dev/%s", server->tty.kname); in tty_find_device()
185 server->tty.type = TTY_DEVICE_PTY; in tty_find_device()
186 server->tty.dev = strdup(server->tty.kname); in tty_find_device()
187 rc = server->tty.dev ? 0 : -1; in tty_find_device()
193 warn("Can't find real name for %s", server->tty.kname); in tty_find_device()
[all …]
H A Dconsole-dbus.c53 rc = type->baudrate(handler, console->server->tty.uart.baud); in tty_change_baudrate()
86 assert(console->server->tty.type == TTY_DEVICE_UART); in set_baud_handler()
87 console->server->tty.uart.baud = speed; in set_baud_handler()
107 assert(server->tty.type == TTY_DEVICE_UART); in get_baud_handler()
108 baudrate = parse_baud_to_int(server->tty.uart.baud); in get_baud_handler()
110 warnx("Invalid baud rate: '%d'", server->tty.uart.baud); in get_baud_handler()
228 if (console->server->tty.type == TTY_DEVICE_UART) { in dbus_init()
/openbmc/obmc-console/conf/
H A D80-obmc-console-uart.rules.in1 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E787000", ENV{SYSTEMD_WANTS}="obmc-console@ttyVUART0", SYM…
2 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E788000", ENV{SYSTEMD_WANTS}="obmc-console@ttyVUART1", SYM…
3 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E783000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS0", TAG+="s…
4 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E78D000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS1", TAG+="s…
5 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E78E000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS2", TAG+="s…
6 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E78F000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS3", TAG+="s…
H A Dserver.ttyVUART0.conf.in3 upstream-tty = ttyVUART0
4 local-tty = ttyS0
5 local-tty-baud = 115200
/openbmc/u-boot/tools/
H A Dkwboot.c285 kwboot_bootmsg(int tty, void *msg) in kwboot_bootmsg() argument
297 rc = tcflush(tty, TCIOFLUSH); in kwboot_bootmsg()
302 rc = kwboot_tty_send(tty, msg, 8); in kwboot_bootmsg()
309 rc = kwboot_tty_recv(tty, &c, 1, msg_rsp_timeo); in kwboot_bootmsg()
321 kwboot_debugmsg(int tty, void *msg) in kwboot_debugmsg() argument
330 rc = tcflush(tty, TCIOFLUSH); in kwboot_debugmsg()
334 rc = kwboot_tty_send(tty, msg, 8); in kwboot_debugmsg()
340 rc = kwboot_tty_recv(tty, buf, 16, msg_rsp_timeo); in kwboot_debugmsg()
422 kwboot_xmodem(int tty, const void *_data, size_t size) in kwboot_xmodem() argument
433 tcflush(tty, TCIOFLUSH); in kwboot_xmodem()
[all …]
/openbmc/openbmc/meta-facebook/meta-minerva/recipes-phosphor/console/obmc-console/
H A D80-minerva-obmc-console-uart.rules1 SUBSYSTEM=="tty", ATTRS{iomem_base}=="0x1E790000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS5", TAG+="s…
3 SUBSYSTEM=="tty", ATTRS{bInterfaceNumber}=="03", SYMLINK+="ttyPOE"
4 SUBSYSTEM=="tty", ATTRS{bInterfaceNumber}=="02", SYMLINK+="ttyRS485-1"
5 SUBSYSTEM=="tty", ATTRS{bInterfaceNumber}=="01", SYMLINK+="ttyRS485-0"
/openbmc/openbmc/poky/meta/files/
H A Ddevice_table-minimal.txt12 /dev/console c 662 root tty 5 1 - - -
31 /dev/tty c 662 root tty 5 0 - - -
32 /dev/tty c 666 root tty 4 0 0 1 8
33 /dev/ttyS c 640 root tty 4 64 0 1 2
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/plymouth/plymouth/
H A D0001-Make-full-path-to-systemd-tty-ask-password-agent-con.patch4 Subject: [PATCH] Make full path to systemd-tty-ask-password-agent configurable
27 - systemd_ask_password_agent = find_program('systemd-tty-ask-password-agent')
28 + systemd_ask_password_agent = get_option('systemd-tty-ask-password-agent')
40 +option('systemd-tty-ask-password-agent',
42 + value: '/bin/systemd-tty-ask-password-agent',
43 + description: 'Path of systemd-tty-ask-password-agent',
/openbmc/openbmc/meta-ampere/meta-jefferson/recipes-phosphor/console/obmc-console/
H A Dserver.ttyS0.conf2 local-tty = ttyS0
3 local-tty-baud = 115200
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/console/obmc-console/
H A Dserver.ttyS0.conf2 local-tty = ttyS0
3 local-tty-baud = 115200
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-phosphor/console/obmc-console/
H A Dserver.ttyS0.conf2 local-tty = ttyS0
3 local-tty-baud = 115200
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf2 local-tty = ttyS3
3 local-tty-baud = 115200
/openbmc/openbmc/meta-tyan/meta-common/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf2 local-tty = ttyS3
3 local-tty-baud = 115200
/openbmc/openbmc/meta-yadro/meta-vegman/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf2 local-tty = ttyS3
3 local-tty-baud = 115200
/openbmc/openbmc/meta-nvidia/meta-gb200nvl-obmc/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf2 local-tty = ttyS2
3 local-tty-baud = 115200
/openbmc/openbmc/meta-nvidia/meta-nvl32-obmc/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf2 local-tty = ttyS3
3 local-tty-baud = 115200
/openbmc/openbmc/meta-yadro/meta-nicole/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf3 local-tty = ttyS0
4 local-tty-baud = 115200
/openbmc/openbmc/meta-ibm/meta-palmetto/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf3 local-tty = ttyS0
4 local-tty-baud = 115200

12345678