HelenOS sources
indev 43 kernel/genarch/include/genarch/drivers/omap/uart.h indev_t *indev;
indev 51 kernel/genarch/include/genarch/drivers/omap/uart.h extern void omap_uart_input_wire(omap_uart_t *uart, indev_t *indev);
indev 150 kernel/genarch/include/genarch/drivers/pl011/pl011.h indev_t *indev;
indev 83 kernel/genarch/include/genarch/drivers/s3c24xx/uart.h indev_t *indev;
indev 80 kernel/genarch/src/drivers/omap/uart.c if (uart->indev && val) {
indev 81 kernel/genarch/src/drivers/omap/uart.c indev_push_character(uart->indev, val);
indev 175 kernel/genarch/src/drivers/omap/uart.c void omap_uart_input_wire(omap_uart_t *uart, indev_t *indev)
indev 179 kernel/genarch/src/drivers/omap/uart.c uart->indev = indev;
indev 95 kernel/genarch/src/drivers/pl011/pl011.c if (uart->indev)
indev 96 kernel/genarch/src/drivers/pl011/pl011.c indev_push_character(uart->indev, data);
indev 147 kernel/genarch/src/drivers/pl011/pl011.c void pl011_uart_input_wire(pl011_uart_t *uart, indev_t *indev)
indev 150 kernel/genarch/src/drivers/pl011/pl011.c assert(indev);
indev 152 kernel/genarch/src/drivers/pl011/pl011.c uart->indev = indev;
indev 91 kernel/genarch/src/drivers/s3c24xx/uart.c indev_push_character(uart->indev, data & 0xff);
indev 120 kernel/genarch/src/drivers/s3c24xx/uart.c uart->indev = NULL;
indev 160 kernel/genarch/src/drivers/s3c24xx/uart.c void s3c24xx_uart_input_wire(s3c24xx_uart_t *uart, indev_t *indev)
indev 163 kernel/genarch/src/drivers/s3c24xx/uart.c assert(indev);
indev 165 kernel/genarch/src/drivers/s3c24xx/uart.c uart->indev = indev;
indev 52 kernel/generic/include/console/chardev.h struct indev;
indev 57 kernel/generic/include/console/chardev.h char32_t (*poll)(struct indev *);
indev 60 kernel/generic/include/console/chardev.h void (*signal)(struct indev *, indev_signal_t);
indev 50 kernel/generic/src/console/chardev.c void indev_initialize(const char *name, indev_t *indev,
indev 53 kernel/generic/src/console/chardev.c indev->name = name;
indev 54 kernel/generic/src/console/chardev.c semaphore_initialize(&indev->wq, 0);
indev 55 kernel/generic/src/console/chardev.c irq_spinlock_initialize(&indev->lock, "chardev.indev.lock");
indev 56 kernel/generic/src/console/chardev.c indev->counter = 0;
indev 57 kernel/generic/src/console/chardev.c indev->index = 0;
indev 58 kernel/generic/src/console/chardev.c indev->op = op;
indev 67 kernel/generic/src/console/chardev.c void indev_push_character(indev_t *indev, char32_t ch)
indev 69 kernel/generic/src/console/chardev.c assert(indev);
indev 71 kernel/generic/src/console/chardev.c irq_spinlock_lock(&indev->lock, true);
indev 72 kernel/generic/src/console/chardev.c if (indev->counter == INDEV_BUFLEN - 1) {
indev 74 kernel/generic/src/console/chardev.c irq_spinlock_unlock(&indev->lock, true);
indev 78 kernel/generic/src/console/chardev.c indev->counter++;
indev 79 kernel/generic/src/console/chardev.c indev->buffer[indev->index++] = ch;
indev 82 kernel/generic/src/console/chardev.c indev->index = indev->index % INDEV_BUFLEN;
indev 83 kernel/generic/src/console/chardev.c semaphore_up(&indev->wq);
indev 84 kernel/generic/src/console/chardev.c irq_spinlock_unlock(&indev->lock, true);
indev 94 kernel/generic/src/console/chardev.c char32_t indev_pop_character(indev_t *indev)
indev 102 kernel/generic/src/console/chardev.c if (check_poll(indev))
indev 103 kernel/generic/src/console/chardev.c return indev->op->poll(indev);
indev 117 kernel/generic/src/console/chardev.c semaphore_down(&indev->wq);
indev 118 kernel/generic/src/console/chardev.c irq_spinlock_lock(&indev->lock, true);
indev 119 kernel/generic/src/console/chardev.c char32_t ch = indev->buffer[(indev->index - indev->counter) %
indev 121 kernel/generic/src/console/chardev.c indev->counter--;
indev 122 kernel/generic/src/console/chardev.c irq_spinlock_unlock(&indev->lock, true);
indev 133 kernel/generic/src/console/chardev.c void indev_signal(indev_t *indev, indev_signal_t signal)
indev 135 kernel/generic/src/console/chardev.c if ((indev != NULL) && (indev->op != NULL) &&
indev 136 kernel/generic/src/console/chardev.c (indev->op->signal != NULL))
indev 137 kernel/generic/src/console/chardev.c indev->op->signal(indev, signal);
indev 156 kernel/generic/src/console/chardev.c bool check_poll(indev_t *indev)
indev 158 kernel/generic/src/console/chardev.c if (indev == NULL)
indev 161 kernel/generic/src/console/chardev.c if (indev->op == NULL)
indev 164 kernel/generic/src/console/chardev.c return (indev->op->poll != NULL);
indev 126 kernel/generic/src/console/console.c static void stdin_signal(indev_t *indev, indev_signal_t signal)
indev 207 kernel/generic/src/console/kconsole.c _NO_TRACE static int cmdtab_compl(char *input, size_t size, indev_t *indev,
indev 250 kernel/generic/src/console/kconsole.c console_prompt_display_all_hints(indev, found);
indev 270 kernel/generic/src/console/kconsole.c console_prompt_more_hints(indev, &hints_to_show);
indev 335 kernel/generic/src/console/kconsole.c _NO_TRACE static char32_t *clever_readline(const char *prompt, indev_t *indev,
indev 345 kernel/generic/src/console/kconsole.c char32_t ch = indev_pop_character(indev);
indev 413 kernel/generic/src/console/kconsole.c found = cmdtab_compl(tmp, STR_BOUNDS(MAX_CMDLINE), indev,
indev 420 kernel/generic/src/console/kconsole.c found = cmdtab_compl(tmp, STR_BOUNDS(MAX_CMDLINE), indev,
indev 50 kernel/generic/src/console/prompt.c bool console_prompt_display_all_hints(indev_t *indev, size_t hints)
indev 52 kernel/generic/src/console/prompt.c assert(indev);
indev 58 kernel/generic/src/console/prompt.c char32_t answer = indev_pop_character(indev);
indev 82 kernel/generic/src/console/prompt.c bool console_prompt_more_hints(indev_t *indev, size_t *display_hints)
indev 84 kernel/generic/src/console/prompt.c assert(indev);
indev 89 kernel/generic/src/console/prompt.c char32_t continue_showing_hints = indev_pop_character(indev);
HelenOS homepage, sources at GitHub