Lines Matching refs:p
14 libata_trace_parse_status(struct trace_seq *p, unsigned char status) in libata_trace_parse_status() argument
16 const char *ret = trace_seq_buffer_ptr(p); in libata_trace_parse_status()
18 trace_seq_printf(p, "{ "); in libata_trace_parse_status()
20 trace_seq_printf(p, "BUSY "); in libata_trace_parse_status()
22 trace_seq_printf(p, "DRDY "); in libata_trace_parse_status()
24 trace_seq_printf(p, "DF "); in libata_trace_parse_status()
26 trace_seq_printf(p, "DSC "); in libata_trace_parse_status()
28 trace_seq_printf(p, "DRQ "); in libata_trace_parse_status()
30 trace_seq_printf(p, "CORR "); in libata_trace_parse_status()
32 trace_seq_printf(p, "SENSE "); in libata_trace_parse_status()
34 trace_seq_printf(p, "ERR "); in libata_trace_parse_status()
35 trace_seq_putc(p, '}'); in libata_trace_parse_status()
36 trace_seq_putc(p, 0); in libata_trace_parse_status()
42 libata_trace_parse_host_stat(struct trace_seq *p, unsigned char host_stat) in libata_trace_parse_host_stat() argument
44 const char *ret = trace_seq_buffer_ptr(p); in libata_trace_parse_host_stat()
46 trace_seq_printf(p, "{ "); in libata_trace_parse_host_stat()
48 trace_seq_printf(p, "INTR "); in libata_trace_parse_host_stat()
50 trace_seq_printf(p, "ERR "); in libata_trace_parse_host_stat()
52 trace_seq_printf(p, "ACTIVE "); in libata_trace_parse_host_stat()
53 trace_seq_putc(p, '}'); in libata_trace_parse_host_stat()
54 trace_seq_putc(p, 0); in libata_trace_parse_host_stat()
60 libata_trace_parse_eh_action(struct trace_seq *p, unsigned int eh_action) in libata_trace_parse_eh_action() argument
62 const char *ret = trace_seq_buffer_ptr(p); in libata_trace_parse_eh_action()
64 trace_seq_printf(p, "%x", eh_action); in libata_trace_parse_eh_action()
66 trace_seq_printf(p, "{ "); in libata_trace_parse_eh_action()
68 trace_seq_printf(p, "REVALIDATE "); in libata_trace_parse_eh_action()
70 trace_seq_printf(p, "RESET "); in libata_trace_parse_eh_action()
72 trace_seq_printf(p, "SOFTRESET "); in libata_trace_parse_eh_action()
74 trace_seq_printf(p, "HARDRESET "); in libata_trace_parse_eh_action()
76 trace_seq_printf(p, "ENABLE_LINK "); in libata_trace_parse_eh_action()
78 trace_seq_printf(p, "PARK "); in libata_trace_parse_eh_action()
79 trace_seq_putc(p, '}'); in libata_trace_parse_eh_action()
81 trace_seq_putc(p, 0); in libata_trace_parse_eh_action()
87 libata_trace_parse_eh_err_mask(struct trace_seq *p, unsigned int eh_err_mask) in libata_trace_parse_eh_err_mask() argument
89 const char *ret = trace_seq_buffer_ptr(p); in libata_trace_parse_eh_err_mask()
91 trace_seq_printf(p, "%x", eh_err_mask); in libata_trace_parse_eh_err_mask()
93 trace_seq_printf(p, "{ "); in libata_trace_parse_eh_err_mask()
95 trace_seq_printf(p, "DEV "); in libata_trace_parse_eh_err_mask()
97 trace_seq_printf(p, "HSM "); in libata_trace_parse_eh_err_mask()
99 trace_seq_printf(p, "TIMEOUT "); in libata_trace_parse_eh_err_mask()
101 trace_seq_printf(p, "MEDIA "); in libata_trace_parse_eh_err_mask()
103 trace_seq_printf(p, "ATA_BUS "); in libata_trace_parse_eh_err_mask()
105 trace_seq_printf(p, "HOST_BUS "); in libata_trace_parse_eh_err_mask()
107 trace_seq_printf(p, "SYSTEM "); in libata_trace_parse_eh_err_mask()
109 trace_seq_printf(p, "INVALID "); in libata_trace_parse_eh_err_mask()
111 trace_seq_printf(p, "OTHER "); in libata_trace_parse_eh_err_mask()
113 trace_seq_printf(p, "NODEV_HINT "); in libata_trace_parse_eh_err_mask()
115 trace_seq_printf(p, "NCQ "); in libata_trace_parse_eh_err_mask()
116 trace_seq_putc(p, '}'); in libata_trace_parse_eh_err_mask()
118 trace_seq_putc(p, 0); in libata_trace_parse_eh_err_mask()
124 libata_trace_parse_qc_flags(struct trace_seq *p, unsigned int qc_flags) in libata_trace_parse_qc_flags() argument
126 const char *ret = trace_seq_buffer_ptr(p); in libata_trace_parse_qc_flags()
128 trace_seq_printf(p, "%x", qc_flags); in libata_trace_parse_qc_flags()
130 trace_seq_printf(p, "{ "); in libata_trace_parse_qc_flags()
132 trace_seq_printf(p, "ACTIVE "); in libata_trace_parse_qc_flags()
134 trace_seq_printf(p, "DMAMAP "); in libata_trace_parse_qc_flags()
136 trace_seq_printf(p, "IO "); in libata_trace_parse_qc_flags()
138 trace_seq_printf(p, "RESULT_TF "); in libata_trace_parse_qc_flags()
140 trace_seq_printf(p, "CLEAR_EXCL "); in libata_trace_parse_qc_flags()
142 trace_seq_printf(p, "QUIET "); in libata_trace_parse_qc_flags()
144 trace_seq_printf(p, "RETRY "); in libata_trace_parse_qc_flags()
146 trace_seq_printf(p, "FAILED "); in libata_trace_parse_qc_flags()
148 trace_seq_printf(p, "SENSE_VALID "); in libata_trace_parse_qc_flags()
150 trace_seq_printf(p, "EH_SCHEDULED "); in libata_trace_parse_qc_flags()
151 trace_seq_putc(p, '}'); in libata_trace_parse_qc_flags()
153 trace_seq_putc(p, 0); in libata_trace_parse_qc_flags()
159 libata_trace_parse_tf_flags(struct trace_seq *p, unsigned int tf_flags) in libata_trace_parse_tf_flags() argument
161 const char *ret = trace_seq_buffer_ptr(p); in libata_trace_parse_tf_flags()
163 trace_seq_printf(p, "%x", tf_flags); in libata_trace_parse_tf_flags()
165 trace_seq_printf(p, "{ "); in libata_trace_parse_tf_flags()
167 trace_seq_printf(p, "LBA48 "); in libata_trace_parse_tf_flags()
169 trace_seq_printf(p, "ISADDR "); in libata_trace_parse_tf_flags()
171 trace_seq_printf(p, "DEV "); in libata_trace_parse_tf_flags()
173 trace_seq_printf(p, "WRITE "); in libata_trace_parse_tf_flags()
175 trace_seq_printf(p, "LBA "); in libata_trace_parse_tf_flags()
177 trace_seq_printf(p, "FUA "); in libata_trace_parse_tf_flags()
179 trace_seq_printf(p, "POLL "); in libata_trace_parse_tf_flags()
180 trace_seq_putc(p, '}'); in libata_trace_parse_tf_flags()
182 trace_seq_putc(p, 0); in libata_trace_parse_tf_flags()
188 libata_trace_parse_subcmd(struct trace_seq *p, unsigned char cmd, in libata_trace_parse_subcmd() argument
191 const char *ret = trace_seq_buffer_ptr(p); in libata_trace_parse_subcmd()
197 trace_seq_printf(p, " READ_LOG_DMA_EXT"); in libata_trace_parse_subcmd()
200 trace_seq_printf(p, " ZAC_MGMT_IN"); in libata_trace_parse_subcmd()
207 trace_seq_printf(p, " WRITE_LOG_DMA_EXT"); in libata_trace_parse_subcmd()
210 trace_seq_printf(p, " DATASET_MANAGEMENT"); in libata_trace_parse_subcmd()
217 trace_seq_printf(p, " ABORT_QUEUE"); in libata_trace_parse_subcmd()
220 trace_seq_printf(p, " SET_FEATURES"); in libata_trace_parse_subcmd()
223 trace_seq_printf(p, " ZERO_EXT"); in libata_trace_parse_subcmd()
226 trace_seq_printf(p, " ZAC_MGMT_OUT"); in libata_trace_parse_subcmd()
233 trace_seq_printf(p, " REPORT_ZONES"); in libata_trace_parse_subcmd()
240 trace_seq_printf(p, " CLOSE_ZONE"); in libata_trace_parse_subcmd()
243 trace_seq_printf(p, " FINISH_ZONE"); in libata_trace_parse_subcmd()
246 trace_seq_printf(p, " OPEN_ZONE"); in libata_trace_parse_subcmd()
249 trace_seq_printf(p, " RESET_WRITE_POINTER"); in libata_trace_parse_subcmd()
254 trace_seq_putc(p, 0); in libata_trace_parse_subcmd()