Lines Matching defs:o
28 void host1x_debug_output(struct output *o, const char *fmt, ...)
34 len = vsnprintf(o->buf, sizeof(o->buf), fmt, args);
37 o->fn(o->ctx, o->buf, len, false);
40 void host1x_debug_cont(struct output *o, const char *fmt, ...)
46 len = vsnprintf(o->buf, sizeof(o->buf), fmt, args);
49 o->fn(o->ctx, o->buf, len, true);
55 struct output *o = data;
66 host1x_hw_show_channel_fifo(m, ch, o);
68 host1x_hw_show_channel_cdma(m, ch, o);
78 static void show_syncpts(struct host1x *m, struct output *o, bool show_all)
85 host1x_debug_output(o, "---- syncpts ----\n");
107 host1x_debug_output(o,
117 host1x_debug_output(o, "waitbase id %u val %d\n", i,
123 host1x_debug_output(o, "\n");
126 static void show_all(struct host1x *m, struct output *o, bool show_fifo)
130 host1x_hw_show_mlocks(m, o);
131 show_syncpts(m, o, true);
132 host1x_debug_output(o, "---- channels ----\n");
138 show_channel(ch, o, show_fifo);
146 struct output o = {
151 show_all(s->private, &o, true);
159 struct output o = {
164 show_all(s->private, &o, false);
213 struct output o = {
217 show_all(host1x, &o, true);