Searched refs:hvc_struct (Results 1 - 13 of 13) sorted by relevance

/linux-master/drivers/tty/hvc/
H A Dhvc_console.h35 struct hvc_struct { struct
60 int (*notifier_add)(struct hvc_struct *hp, int irq);
61 void (*notifier_del)(struct hvc_struct *hp, int irq);
62 void (*notifier_hangup)(struct hvc_struct *hp, int irq);
65 int (*tiocmget)(struct hvc_struct *hp);
66 int (*tiocmset)(struct hvc_struct *hp, unsigned int set, unsigned int clear);
69 void (*dtr_rts)(struct hvc_struct *hp, bool active);
77 extern struct hvc_struct * hvc_alloc(uint32_t vtermno, int data,
80 extern void hvc_remove(struct hvc_struct *hp);
83 int hvc_poll(struct hvc_struct *h
[all...]
H A Dhvc_irq.c21 * iterate through each hvc_struct.
29 int notifier_add_irq(struct hvc_struct *hp, int irq)
44 void notifier_del_irq(struct hvc_struct *hp, int irq)
52 void notifier_hangup_irq(struct hvc_struct *hp, int irq)
H A Dhvc_console.c69 /* dynamic list of hvc_struct instances */
73 * Protect the list of hvc_struct instances from inserts and removals during
79 * This value is used to assign a tty->index value to a hvc_struct based
86 * Do not call this function with either the hvc_structs_mutex or the hvc_struct
88 * count against the target hvc_struct so it should be released when finished.
90 static struct hvc_struct *hvc_get_by_index(int index)
92 struct hvc_struct *hp;
131 static int hvc_flush(struct hvc_struct *hp)
251 struct hvc_struct *hp = container_of(port, struct hvc_struct, por
[all...]
H A Dhvc_udbg.c20 static struct hvc_struct *hvc_udbg_dev;
56 struct hvc_struct *hp;
H A Dhvc_rtas.c29 static struct hvc_struct *hvc_rtas_dev;
69 struct hvc_struct *hp;
83 /* Allocate an hvc_struct for the console device we instantiated
H A Dhvc_opal.c82 static int hvc_opal_hvsi_open(struct hvc_struct *hp, int data)
96 static void hvc_opal_hvsi_close(struct hvc_struct *hp, int data)
107 static void hvc_opal_hvsi_hangup(struct hvc_struct *hp, int data)
118 static int hvc_opal_hvsi_tiocmget(struct hvc_struct *hp)
127 static int hvc_opal_hvsi_tiocmset(struct hvc_struct *hp, unsigned int set,
157 struct hvc_struct *hp;
238 struct hvc_struct *hp = dev_get_drvdata(&dev->dev);
H A Dhvc_vio.c158 static int hvterm_hvsi_open(struct hvc_struct *hp, int data)
172 static void hvterm_hvsi_close(struct hvc_struct *hp, int data)
183 static void hvterm_hvsi_hangup(struct hvc_struct *hp, int data)
194 static int hvterm_hvsi_tiocmget(struct hvc_struct *hp)
203 static int hvterm_hvsi_tiocmset(struct hvc_struct *hp, unsigned int set,
302 struct hvc_struct *hp;
H A Dhvsi_lib.c376 int hvsilib_open(struct hvsi_priv *pv, struct hvc_struct *hp)
388 void hvsilib_close(struct hvsi_priv *pv, struct hvc_struct *hp)
H A Dhvc_iucv.c64 struct hvc_struct *hvc; /* HVC struct reference */
478 * @hp: Pointer to the HVC device (struct hvc_struct)
487 static int hvc_iucv_notifier_add(struct hvc_struct *hp, int id)
618 * @hp: Pointer to the HVC device (struct hvc_struct)
633 static void hvc_iucv_notifier_hangup(struct hvc_struct *hp, int id)
660 * @hp: Pointer the HVC device (struct hvc_struct)
667 static void hvc_iucv_dtr_rts(struct hvc_struct *hp, bool active)
703 * @hp: Pointer to the HVC device (struct hvc_struct)
714 static void hvc_iucv_notifier_del(struct hvc_struct *hp, int id)
H A Dhvc_dcc.c280 struct hvc_struct *p;
H A Dhvc_xen.c42 struct hvc_struct *hvc;
/linux-master/arch/powerpc/include/asm/
H A Dhvsi.h81 struct hvc_struct;
88 extern int hvsilib_open(struct hvsi_priv *pv, struct hvc_struct *hp);
89 extern void hvsilib_close(struct hvsi_priv *pv, struct hvc_struct *hp);
/linux-master/drivers/char/
H A Dvirtio_console.c68 struct hvc_struct *hvc;
1166 static int notifier_add_vio(struct hvc_struct *hp, int data)
1180 static void notifier_del_vio(struct hvc_struct *hp, int data)

Completed in 266 milliseconds