Lines Matching refs:drm_printer

48  *     void log_some_info(struct drm_printer *p)
57 * struct drm_printer p = drm_seq_file_printer(f);
64 * struct drm_printer p = drm_info_printer(drm->dev);
70 * struct drm_printer - drm output "stream"
75 struct drm_printer {
77 void (*printfn)(struct drm_printer *p, struct va_format *vaf);
78 void (*puts)(struct drm_printer *p, const char *str);
83 void __drm_printfn_coredump(struct drm_printer *p, struct va_format *vaf);
84 void __drm_puts_coredump(struct drm_printer *p, const char *str);
85 void __drm_printfn_seq_file(struct drm_printer *p, struct va_format *vaf);
86 void __drm_puts_seq_file(struct drm_printer *p, const char *str);
87 void __drm_printfn_info(struct drm_printer *p, struct va_format *vaf);
88 void __drm_printfn_debug(struct drm_printer *p, struct va_format *vaf);
89 void __drm_printfn_err(struct drm_printer *p, struct va_format *vaf);
92 void drm_printf(struct drm_printer *p, const char *f, ...);
93 void drm_puts(struct drm_printer *p, const char *str);
94 void drm_print_regset32(struct drm_printer *p, struct debugfs_regset32 *regset);
95 void drm_print_bits(struct drm_printer *p, unsigned long value,
100 * drm_vprintf - print to a &drm_printer stream
101 * @p: the &drm_printer
106 drm_vprintf(struct drm_printer *p, const char *fmt, va_list *va)
114 * drm_printf_indent - Print to a &drm_printer stream with indentation
137 * drm_coredump_printer - construct a &drm_printer that can output to a buffer
151 * struct drm_printer p;
170 * The &drm_printer object
172 static inline struct drm_printer
175 struct drm_printer p = {
188 * drm_seq_file_printer - construct a &drm_printer that outputs to &seq_file
192 * The &drm_printer object
194 static inline struct drm_printer drm_seq_file_printer(struct seq_file *f)
196 struct drm_printer p = {
205 * drm_info_printer - construct a &drm_printer that outputs to dev_printk()
209 * The &drm_printer object
211 static inline struct drm_printer drm_info_printer(struct device *dev)
213 struct drm_printer p = {
221 * drm_debug_printer - construct a &drm_printer that outputs to pr_debug()
225 * The &drm_printer object
227 static inline struct drm_printer drm_debug_printer(const char *prefix)
229 struct drm_printer p = {
237 * drm_err_printer - construct a &drm_printer that outputs to pr_err()
241 * The &drm_printer object
243 static inline struct drm_printer drm_err_printer(const char *prefix)
245 struct drm_printer p = {