hvc_console.h (60f41e8484926c2a82fe6fe0585edfccaf1208f5) | hvc_console.h (5d420399073770134d2b03e004b2c0201c7fa26f) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* 3 * hvc_console.h 4 * Copyright (C) 2005 IBM Corporation 5 * 6 * Author(s): 7 * Ryan S. Arnold <rsa@us.ibm.com> 8 * --- 52 unchanged lines hidden (view full) --- 61 void (*notifier_del)(struct hvc_struct *hp, int irq); 62 void (*notifier_hangup)(struct hvc_struct *hp, int irq); 63 64 /* tiocmget/set implementation */ 65 int (*tiocmget)(struct hvc_struct *hp); 66 int (*tiocmset)(struct hvc_struct *hp, unsigned int set, unsigned int clear); 67 68 /* Callbacks to handle tty ports */ | 1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* 3 * hvc_console.h 4 * Copyright (C) 2005 IBM Corporation 5 * 6 * Author(s): 7 * Ryan S. Arnold <rsa@us.ibm.com> 8 * --- 52 unchanged lines hidden (view full) --- 61 void (*notifier_del)(struct hvc_struct *hp, int irq); 62 void (*notifier_hangup)(struct hvc_struct *hp, int irq); 63 64 /* tiocmget/set implementation */ 65 int (*tiocmget)(struct hvc_struct *hp); 66 int (*tiocmset)(struct hvc_struct *hp, unsigned int set, unsigned int clear); 67 68 /* Callbacks to handle tty ports */ |
69 void (*dtr_rts)(struct hvc_struct *hp, int raise); | 69 void (*dtr_rts)(struct hvc_struct *hp, bool raise); |
70}; 71 72/* Register a vterm and a slot index for use as a console (console_init) */ 73extern int hvc_instantiate(uint32_t vtermno, int index, 74 const struct hv_ops *ops); 75 76/* register a vterm for hvc tty operation (module_init or hotplug add) */ 77extern struct hvc_struct * hvc_alloc(uint32_t vtermno, int data, --- 36 unchanged lines hidden --- | 70}; 71 72/* Register a vterm and a slot index for use as a console (console_init) */ 73extern int hvc_instantiate(uint32_t vtermno, int index, 74 const struct hv_ops *ops); 75 76/* register a vterm for hvc tty operation (module_init or hotplug add) */ 77extern struct hvc_struct * hvc_alloc(uint32_t vtermno, int data, --- 36 unchanged lines hidden --- |