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" },
56 [DIAG_STAT_X49C] = { .code = 0x49c, .name = "Warning-Track Interruption" },
75 static int show_diag_stat(struct seq_file *m, void *v) in show_diag_stat() argument
78 unsigned long n = (unsigned long) v - 1; in show_diag_stat()
83 seq_puts(m, " "); in show_diag_stat()
88 prec--; in show_diag_stat()
89 seq_printf(m, "%*s%d", prec, "CPU", cpu); in show_diag_stat()
91 seq_putc(m, '\n'); in show_diag_stat()
93 seq_printf(m, "diag %03x:", diag_map[n-1].code); in show_diag_stat()
96 seq_printf(m, " %10u", stat->counter[n-1]); in show_diag_stat()
98 seq_printf(m, " %s\n", diag_map[n-1].name); in show_diag_stat()
104 static void *show_diag_stat_start(struct seq_file *m, loff_t *pos) in show_diag_stat_start() argument
109 static void *show_diag_stat_next(struct seq_file *m, void *v, loff_t *pos) in show_diag_stat_next() argument
112 return show_diag_stat_start(m, pos); in show_diag_stat_next()
115 static void show_diag_stat_stop(struct seq_file *m, void *v) in show_diag_stat_stop() argument
161 * Diagnose 14: Input spool file manipulation
163 * The subcode parameter determines the type of the first parameter rx.
171 * address translation. For other subcommands the rx parameter is not
174 int diag14(unsigned long rx, unsigned long ry1, unsigned long subcode) in diag14() argument
180 rx = virt_to_phys((void *)rx); in diag14()
186 return diag_amode31_ops.diag14(rx, ry1, subcode); in diag14()
206 * diag204() - Issue diagnose 204 call.
222 return -EINVAL; in diag204()
224 return -EINVAL; in diag204()
231 return -EBUSY; in diag204()
233 return -EOPNOTSUPP; in diag204()
284 int rc = -EOPNOTSUPP; in diag224()
293 , "=m" (*(struct { char buf[PAGE_SIZE]; } *)ptr) in diag224()