Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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, int raise);
77 extern struct hvc_struct * hvc_alloc(uint32_t vtermno, int data,
80 extern int hvc_remove(struct hvc_struct *hp);
83 int hvc_poll(struct hvc_struct *h
[all...]
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) in hvc_get_by_index()
92 struct hvc_struct *hp; in hvc_get_by_index()
131 static int hvc_flush(struct hvc_struct *hp) in hvc_flush()
251 struct hvc_struct *hp = container_of(port, struct hvc_struct, por in hvc_port_destruct()
[all...]
H A Dhvc_irq.c21 * iterate through each hvc_struct. in hvc_handle_interrupt()
29 int notifier_add_irq(struct hvc_struct *hp, int irq) in notifier_add_irq()
44 void notifier_del_irq(struct hvc_struct *hp, int irq) in notifier_del_irq()
52 void notifier_hangup_irq(struct hvc_struct *hp, int irq) in notifier_hangup_irq()
H A Dhvc_opal.c81 static int hvc_opal_hvsi_open(struct hvc_struct *hp, int data) in hvc_opal_hvsi_open()
95 static void hvc_opal_hvsi_close(struct hvc_struct *hp, int data) in hvc_opal_hvsi_close()
106 void hvc_opal_hvsi_hangup(struct hvc_struct *hp, int data) in hvc_opal_hvsi_hangup()
117 static int hvc_opal_hvsi_tiocmget(struct hvc_struct *hp) in hvc_opal_hvsi_tiocmget()
126 static int hvc_opal_hvsi_tiocmset(struct hvc_struct *hp, unsigned int set, in hvc_opal_hvsi_tiocmset()
156 struct hvc_struct *hp; in hvc_opal_probe()
237 struct hvc_struct *hp = dev_get_drvdata(&dev->dev); in hvc_opal_remove()
H A Dhvc_vio.c156 static int hvterm_hvsi_open(struct hvc_struct *hp, int data) in hvterm_hvsi_open()
170 static void hvterm_hvsi_close(struct hvc_struct *hp, int data) in hvterm_hvsi_close()
181 void hvterm_hvsi_hangup(struct hvc_struct *hp, int data) in hvterm_hvsi_hangup()
192 static int hvterm_hvsi_tiocmget(struct hvc_struct *hp) in hvterm_hvsi_tiocmget()
201 static int hvterm_hvsi_tiocmset(struct hvc_struct *hp, unsigned int set, in hvterm_hvsi_tiocmset()
300 struct hvc_struct *hp; in hvc_vio_probe()
H A Dhvc_udbg.c20 struct hvc_struct *hvc_udbg_dev;
55 struct hvc_struct *hp; in hvc_udbg_init()
H A Dhvc_rtas.c29 struct hvc_struct *hvc_rtas_dev;
68 struct hvc_struct *hp; in hvc_rtas_init()
82 /* Allocate an hvc_struct for the console device we instantiated in hvc_rtas_init()
H A Dhvc_iucv.c65 struct hvc_struct *hvc; /* HVC struct reference */
481 * @hp: Pointer to the HVC device (struct hvc_struct)
490 static int hvc_iucv_notifier_add(struct hvc_struct *hp, int id) in hvc_iucv_notifier_add()
621 * @hp: Pointer to the HVC device (struct hvc_struct)
636 static void hvc_iucv_notifier_hangup(struct hvc_struct *hp, int id) in hvc_iucv_notifier_hangup()
663 * @hp: Pointer the HVC device (struct hvc_struct)
670 static void hvc_iucv_dtr_rts(struct hvc_struct *hp, int raise) in hvc_iucv_dtr_rts()
706 * @hp: Pointer to the HVC device (struct hvc_struct)
717 static void hvc_iucv_notifier_del(struct hvc_struct *hp, int id) in hvc_iucv_notifier_del()
H A Dhvc_dcc.c106 struct hvc_struct *p; in hvc_dcc_init()
H A Dhvsi_lib.c374 int hvsilib_open(struct hvsi_priv *pv, struct hvc_struct *hp) in hvsilib_open()
386 void hvsilib_close(struct hvsi_priv *pv, struct hvc_struct *hp) in hvsilib_close()
H A Dhvc_xen.c42 struct hvc_struct *hvc;
/kernel/linux/linux-6.6/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 int hvc_remove(struct hvc_struct *hp);
83 int hvc_poll(struct hvc_struct *h
[all...]
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) in hvc_get_by_index()
92 struct hvc_struct *hp; in hvc_get_by_index()
131 static int hvc_flush(struct hvc_struct *hp) in hvc_flush()
251 struct hvc_struct *hp = container_of(port, struct hvc_struct, por in hvc_port_destruct()
[all...]
H A Dhvc_irq.c21 * iterate through each hvc_struct. in hvc_handle_interrupt()
29 int notifier_add_irq(struct hvc_struct *hp, int irq) in notifier_add_irq()
44 void notifier_del_irq(struct hvc_struct *hp, int irq) in notifier_del_irq()
52 void notifier_hangup_irq(struct hvc_struct *hp, int irq) in notifier_hangup_irq()
H A Dhvc_opal.c81 static int hvc_opal_hvsi_open(struct hvc_struct *hp, int data) in hvc_opal_hvsi_open()
95 static void hvc_opal_hvsi_close(struct hvc_struct *hp, int data) in hvc_opal_hvsi_close()
106 static void hvc_opal_hvsi_hangup(struct hvc_struct *hp, int data) in hvc_opal_hvsi_hangup()
117 static int hvc_opal_hvsi_tiocmget(struct hvc_struct *hp) in hvc_opal_hvsi_tiocmget()
126 static int hvc_opal_hvsi_tiocmset(struct hvc_struct *hp, unsigned int set, in hvc_opal_hvsi_tiocmset()
156 struct hvc_struct *hp; in hvc_opal_probe()
237 struct hvc_struct *hp = dev_get_drvdata(&dev->dev); in hvc_opal_remove()
H A Dhvc_vio.c156 static int hvterm_hvsi_open(struct hvc_struct *hp, int data) in hvterm_hvsi_open()
170 static void hvterm_hvsi_close(struct hvc_struct *hp, int data) in hvterm_hvsi_close()
181 static void hvterm_hvsi_hangup(struct hvc_struct *hp, int data) in hvterm_hvsi_hangup()
192 static int hvterm_hvsi_tiocmget(struct hvc_struct *hp) in hvterm_hvsi_tiocmget()
201 static int hvterm_hvsi_tiocmset(struct hvc_struct *hp, unsigned int set, in hvterm_hvsi_tiocmset()
300 struct hvc_struct *hp; in hvc_vio_probe()
H A Dhvc_udbg.c20 static struct hvc_struct *hvc_udbg_dev;
55 struct hvc_struct *hp; in hvc_udbg_init()
H A Dhvc_rtas.c29 static struct hvc_struct *hvc_rtas_dev;
68 struct hvc_struct *hp; in hvc_rtas_init()
82 /* Allocate an hvc_struct for the console device we instantiated in hvc_rtas_init()
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) in hvc_iucv_notifier_add()
618 * @hp: Pointer to the HVC device (struct hvc_struct)
633 static void hvc_iucv_notifier_hangup(struct hvc_struct *hp, int id) in hvc_iucv_notifier_hangup()
660 * @hp: Pointer the HVC device (struct hvc_struct)
667 static void hvc_iucv_dtr_rts(struct hvc_struct *hp, bool active) in hvc_iucv_dtr_rts()
703 * @hp: Pointer to the HVC device (struct hvc_struct)
714 static void hvc_iucv_notifier_del(struct hvc_struct *hp, int id) in hvc_iucv_notifier_del()
H A Dhvsi_lib.c374 int hvsilib_open(struct hvsi_priv *pv, struct hvc_struct *hp) in hvsilib_open()
386 void hvsilib_close(struct hvsi_priv *pv, struct hvc_struct *hp) in hvsilib_close()
H A Dhvc_dcc.c272 struct hvc_struct *p; in hvc_dcc_init()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dhvsi.h81 struct hvc_struct;
87 extern int hvsilib_open(struct hvsi_priv *pv, struct hvc_struct *hp);
88 extern void hvsilib_close(struct hvsi_priv *pv, struct hvc_struct *hp);
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dhvsi.h81 struct hvc_struct;
87 extern int hvsilib_open(struct hvsi_priv *pv, struct hvc_struct *hp);
88 extern void hvsilib_close(struct hvsi_priv *pv, struct hvc_struct *hp);
/kernel/linux/linux-5.10/drivers/char/
H A Dvirtio_console.c76 struct hvc_struct *hvc;
1182 static int notifier_add_vio(struct hvc_struct *hp, int data) in notifier_add_vio()
1196 static void notifier_del_vio(struct hvc_struct *hp, int data) in notifier_del_vio()
/kernel/linux/linux-6.6/drivers/char/
H A Dvirtio_console.c68 struct hvc_struct *hvc;
1176 static int notifier_add_vio(struct hvc_struct *hp, int data) in notifier_add_vio()
1190 static void notifier_del_vio(struct hvc_struct *hp, int data) in notifier_del_vio()

Completed in 18 milliseconds

12