Lines Matching refs:drm_printer
49 * void log_some_info(struct drm_printer *p)
58 * struct drm_printer p = drm_seq_file_printer(f);
65 * struct drm_printer p = drm_info_printer(drm->dev);
71 * struct drm_printer - drm output "stream"
76 struct drm_printer {
78 void (*printfn)(struct drm_printer *p, struct va_format *vaf);
79 void (*puts)(struct drm_printer *p, const char *str);
84 void __drm_printfn_coredump(struct drm_printer *p, struct va_format *vaf);
85 void __drm_puts_coredump(struct drm_printer *p, const char *str);
86 void __drm_printfn_seq_file(struct drm_printer *p, struct va_format *vaf);
87 void __drm_puts_seq_file(struct drm_printer *p, const char *str);
88 void __drm_printfn_info(struct drm_printer *p, struct va_format *vaf);
89 void __drm_printfn_debug(struct drm_printer *p, struct va_format *vaf);
90 void __drm_printfn_err(struct drm_printer *p, struct va_format *vaf);
93 void drm_printf(struct drm_printer *p, const char *f, ...);
94 void drm_puts(struct drm_printer *p, const char *str);
95 void drm_print_regset32(struct drm_printer *p, struct debugfs_regset32 *regset);
96 void drm_print_bits(struct drm_printer *p, unsigned long value,
101 * drm_vprintf - print to a &drm_printer stream
102 * @p: the &drm_printer
107 drm_vprintf(struct drm_printer *p, const char *fmt, va_list *va)
115 * drm_printf_indent - Print to a &drm_printer stream with indentation
138 * drm_coredump_printer - construct a &drm_printer that can output to a buffer
152 * struct drm_printer p;
171 * The &drm_printer object
173 static inline struct drm_printer
176 struct drm_printer p = {
189 * drm_seq_file_printer - construct a &drm_printer that outputs to &seq_file
193 * The &drm_printer object
195 static inline struct drm_printer drm_seq_file_printer(struct seq_file *f)
197 struct drm_printer p = {
206 * drm_info_printer - construct a &drm_printer that outputs to dev_printk()
210 * The &drm_printer object
212 static inline struct drm_printer drm_info_printer(struct device *dev)
214 struct drm_printer p = {
222 * drm_debug_printer - construct a &drm_printer that outputs to pr_debug()
226 * The &drm_printer object
228 static inline struct drm_printer drm_debug_printer(const char *prefix)
230 struct drm_printer p = {
238 * drm_err_printer - construct a &drm_printer that outputs to pr_err()
242 * The &drm_printer object
244 static inline struct drm_printer drm_err_printer(const char *prefix)
246 struct drm_printer p = {