Lines Matching +full:rx +full:- +full:input +full:- +full:m
1 // SPDX-License-Identifier: GPL-2.0
15 #include <asm/asm-extable.h>
43 [DIAG_STAT_X204] = { .code = 0x204, .name = "Logical-CPU Utilization" },
45 [DIAG_STAT_X224] = { .code = 0x224, .name = "EBCDIC-Name Table" },
47 [DIAG_STAT_X258] = { .code = 0x258, .name = "Page-Reference Services" },
52 [DIAG_STAT_X304] = { .code = 0x304, .name = "Partition-Resource Service" },
53 [DIAG_STAT_X308] = { .code = 0x308, .name = "List-Directed IPL" },
58 [DIAG_STAT_X49C] = { .code = 0x49c, .name = "Warning-Track Interruption" },
77 static int show_diag_stat(struct seq_file *m, void *v) in show_diag_stat() argument
80 unsigned long n = (unsigned long) v - 1; in show_diag_stat()
85 seq_puts(m, " "); in show_diag_stat()
90 prec--; in show_diag_stat()
91 seq_printf(m, "%*s%d", prec, "CPU", cpu); in show_diag_stat()
93 seq_putc(m, '\n'); in show_diag_stat()
95 seq_printf(m, "diag %03x:", diag_map[n-1].code); in show_diag_stat()
98 seq_printf(m, " %10u", stat->counter[n-1]); in show_diag_stat()
100 seq_printf(m, " %s\n", diag_map[n-1].name); in show_diag_stat()
106 static void *show_diag_stat_start(struct seq_file *m, loff_t *pos) in show_diag_stat_start() argument
111 static void *show_diag_stat_next(struct seq_file *m, void *v, loff_t *pos) in show_diag_stat_next() argument
114 return show_diag_stat_start(m, pos); in show_diag_stat_next()
117 static void show_diag_stat_stop(struct seq_file *m, void *v) in show_diag_stat_stop() argument
163 * Diagnose 14: Input spool file manipulation
165 * The subcode parameter determines the type of the first parameter rx.
173 * address translation. For other subcommands the rx parameter is not
176 int diag14(unsigned long rx, unsigned long ry1, unsigned long subcode) in diag14() argument
182 rx = virt_to_phys((void *)rx); in diag14()
188 return diag_amode31_ops.diag14(rx, ry1, subcode); in diag14()
208 * diag204() - Issue diagnose 204 call.
224 return -EINVAL; in diag204()
226 return -EINVAL; in diag204()
233 return -EBUSY; in diag204()
235 return -EOPNOTSUPP; in diag204()
286 int rc = -EOPNOTSUPP; in diag224()
295 , "=m" (*(struct { char buf[PAGE_SIZE]; } *)ptr) in diag224()