Home
last modified time | relevance | path

Searched refs:auto_attach_cmd (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/serial/
Duart_native_pty_bottom.c115 static void attach_to_pty(const char *slave_pty, const char *auto_attach_cmd) in attach_to_pty() argument
117 char command[strlen(auto_attach_cmd) + strlen(slave_pty) + 1]; in attach_to_pty()
119 sprintf(command, auto_attach_cmd, slave_pty); in attach_to_pty()
135 int np_uart_open_pty(const char *uart_name, const char *auto_attach_cmd, in np_uart_open_pty() argument
234 attach_to_pty(slave_pty_name, auto_attach_cmd); in np_uart_open_pty()
Duart_native_pty.c48 char *auto_attach_cmd; /* If auto_attach, which command to launch the terminal emulator */ member
111 if (d->auto_attach_cmd == NULL) { in np_uart_init()
112 d->auto_attach_cmd = CONFIG_UART_NATIVE_PTY_AUTOATTACH_DEFAULT_CMD; in np_uart_init()
116 int tty_fn = np_uart_open_pty(dev->name, d->auto_attach_cmd, d->auto_attach, in np_uart_init()
213 native_pty_status_##inst.auto_attach_cmd = cmd;
258 .dest = &native_pty_status_##inst.auto_attach_cmd, \
Duart_native_pty_bottom.h25 int np_uart_open_pty(const char *uart_name, const char *auto_attach_cmd,