Lines Matching refs:d
87 struct native_uart_status *d; in np_uart_0_init() local
89 d = (struct native_uart_status *)dev->data; in np_uart_0_init()
94 d->in_fd = tty_fn; in np_uart_0_init()
95 d->out_fd = tty_fn; in np_uart_0_init()
97 d->in_fd = np_uart_ptty_get_stdin_fileno(); in np_uart_0_init()
98 d->out_fd = np_uart_ptty_get_stdout_fileno(); in np_uart_0_init()
111 struct native_uart_status *d; in np_uart_1_init() local
114 d = (struct native_uart_status *)dev->data; in np_uart_1_init()
118 d->in_fd = tty_fn; in np_uart_1_init()
119 d->out_fd = tty_fn; in np_uart_1_init()
135 struct native_uart_status *d = (struct native_uart_status *)dev->data; in np_uart_poll_out() local
140 int rc = np_uart_slave_connected(d->out_fd); in np_uart_poll_out()
152 ret = nsi_host_write(d->out_fd, &out_char, 1); in np_uart_poll_out()