Home
last modified time | relevance | path

Searched refs:memcons (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/powerpc/sysdev/
H A Dudbg_memcons.c23 struct memcons { struct
35 struct memcons memcons = { argument
48 *memcons.output_pos = c; in memcons_putc()
52 new_output_pos = memcons.output_start; in memcons_putc()
54 memcons.output_pos = new_output_pos; in memcons_putc()
62 if (*memcons.input_pos) { in memcons_getc_poll()
63 c = *memcons.input_pos; in memcons_getc_poll()
67 new_input_pos = memcons.input_start; in memcons_getc_poll()
69 new_input_pos = memcons.input_start; in memcons_getc_poll()
71 *memcons.input_pos = '\0'; in memcons_getc_poll()
[all …]
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dpowernv.h40 struct memcons;
41 ssize_t memcons_copy(struct memcons *mc, char *to, loff_t pos, size_t count);
42 u32 __init memcons_get_size(struct memcons *mc);
43 struct memcons *__init memcons_init(struct device_node *node, const char *mc_prop_name);
H A Dopal-msglog.c18 struct memcons { struct
32 static struct memcons *opal_memcons = NULL; argument
34 ssize_t memcons_copy(struct memcons *mc, char *to, loff_t pos, size_t count) in memcons_copy()
108 struct memcons *__init memcons_init(struct device_node *node, const char *mc_prop_name) in memcons_init()
111 struct memcons *mc; in memcons_init()
136 u32 __init memcons_get_size(struct memcons *mc) in memcons_get_size()
H A Dultravisor.c32 static struct memcons *uv_memcons;