Lines Matching +full:rx +full:- +full:input +full:- +full:m

1 // SPDX-License-Identifier: GPL-2.0
15 #include <asm/asm-extable.h>
42 [DIAG_STAT_X204] = { .code = 0x204, .name = "Logical-CPU Utilization" },
44 [DIAG_STAT_X224] = { .code = 0x224, .name = "EBCDIC-Name Table" },
46 [DIAG_STAT_X258] = { .code = 0x258, .name = "Page-Reference Services" },
51 [DIAG_STAT_X304] = { .code = 0x304, .name = "Partition-Resource Service" },
52 [DIAG_STAT_X308] = { .code = 0x308, .name = "List-Directed IPL" },
55 [DIAG_STAT_X49C] = { .code = 0x49c, .name = "Warning-Track Interruption" },
74 static int show_diag_stat(struct seq_file *m, void *v) in show_diag_stat() argument
77 unsigned long n = (unsigned long) v - 1; in show_diag_stat()
82 seq_puts(m, " "); in show_diag_stat()
87 prec--; in show_diag_stat()
88 seq_printf(m, "%*s%d", prec, "CPU", cpu); in show_diag_stat()
90 seq_putc(m, '\n'); in show_diag_stat()
92 seq_printf(m, "diag %03x:", diag_map[n-1].code); in show_diag_stat()
95 seq_printf(m, " %10u", stat->counter[n-1]); in show_diag_stat()
97 seq_printf(m, " %s\n", diag_map[n-1].name); in show_diag_stat()
103 static void *show_diag_stat_start(struct seq_file *m, loff_t *pos) in show_diag_stat_start() argument
108 static void *show_diag_stat_next(struct seq_file *m, void *v, loff_t *pos) in show_diag_stat_next() argument
111 return show_diag_stat_start(m, pos); in show_diag_stat_next()
114 static void show_diag_stat_stop(struct seq_file *m, void *v) in show_diag_stat_stop() argument
160 * Diagnose 14: Input spool file manipulation
162 * The subcode parameter determines the type of the first parameter rx.
170 * address translation. For other subcommands the rx parameter is not
173 int diag14(unsigned long rx, unsigned long ry1, unsigned long subcode) in diag14() argument
179 rx = virt_to_phys((void *)rx); in diag14()
185 return diag_amode31_ops.diag14(rx, ry1, subcode); in diag14()
205 * diag204() - Issue diagnose 204 call.
221 return -EINVAL; in diag204()
223 return -EINVAL; in diag204()
230 return -EBUSY; in diag204()
232 return -EOPNOTSUPP; in diag204()
283 int rc = -EOPNOTSUPP; in diag224()
292 , "=m" (*(struct { char buf[PAGE_SIZE]; } *)ptr) in diag224()