Lines Matching refs:seq

275 static int rproc_rsc_table_show(struct seq_file *seq, void *p)  in rproc_rsc_table_show()  argument
278 struct rproc *rproc = seq->private; in rproc_rsc_table_show()
287 seq_puts(seq, "No resource table found\n"); in rproc_rsc_table_show()
299 seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]); in rproc_rsc_table_show()
300 seq_printf(seq, " Device Address 0x%x\n", c->da); in rproc_rsc_table_show()
301 seq_printf(seq, " Physical Address 0x%x\n", c->pa); in rproc_rsc_table_show()
302 seq_printf(seq, " Length 0x%x Bytes\n", c->len); in rproc_rsc_table_show()
303 seq_printf(seq, " Flags 0x%x\n", c->flags); in rproc_rsc_table_show()
304 seq_printf(seq, " Reserved (should be zero) [%d]\n", c->reserved); in rproc_rsc_table_show()
305 seq_printf(seq, " Name %s\n\n", c->name); in rproc_rsc_table_show()
309 seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]); in rproc_rsc_table_show()
310 seq_printf(seq, " Device Address 0x%x\n", d->da); in rproc_rsc_table_show()
311 seq_printf(seq, " Physical Address 0x%x\n", d->pa); in rproc_rsc_table_show()
312 seq_printf(seq, " Length 0x%x Bytes\n", d->len); in rproc_rsc_table_show()
313 seq_printf(seq, " Flags 0x%x\n", d->flags); in rproc_rsc_table_show()
314 seq_printf(seq, " Reserved (should be zero) [%d]\n", d->reserved); in rproc_rsc_table_show()
315 seq_printf(seq, " Name %s\n\n", d->name); in rproc_rsc_table_show()
319 seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]); in rproc_rsc_table_show()
320 seq_printf(seq, " Device Address 0x%x\n", t->da); in rproc_rsc_table_show()
321 seq_printf(seq, " Length 0x%x Bytes\n", t->len); in rproc_rsc_table_show()
322 seq_printf(seq, " Reserved (should be zero) [%d]\n", t->reserved); in rproc_rsc_table_show()
323 seq_printf(seq, " Name %s\n\n", t->name); in rproc_rsc_table_show()
327 seq_printf(seq, "Entry %d is of type %s\n", i, types[hdr->type]); in rproc_rsc_table_show()
329 seq_printf(seq, " ID %d\n", v->id); in rproc_rsc_table_show()
330 seq_printf(seq, " Notify ID %d\n", v->notifyid); in rproc_rsc_table_show()
331 seq_printf(seq, " Device features 0x%x\n", v->dfeatures); in rproc_rsc_table_show()
332 seq_printf(seq, " Guest features 0x%x\n", v->gfeatures); in rproc_rsc_table_show()
333 seq_printf(seq, " Config length 0x%x\n", v->config_len); in rproc_rsc_table_show()
334 seq_printf(seq, " Status 0x%x\n", v->status); in rproc_rsc_table_show()
335 seq_printf(seq, " Number of vrings %d\n", v->num_of_vrings); in rproc_rsc_table_show()
336 seq_printf(seq, " Reserved (should be zero) [%d][%d]\n\n", in rproc_rsc_table_show()
340 seq_printf(seq, " Vring %d\n", j); in rproc_rsc_table_show()
341 seq_printf(seq, " Device Address 0x%x\n", v->vring[j].da); in rproc_rsc_table_show()
342 seq_printf(seq, " Alignment %d\n", v->vring[j].align); in rproc_rsc_table_show()
343 seq_printf(seq, " Number of buffers %d\n", v->vring[j].num); in rproc_rsc_table_show()
344 seq_printf(seq, " Notify ID %d\n", v->vring[j].notifyid); in rproc_rsc_table_show()
345 seq_printf(seq, " Physical Address 0x%x\n\n", in rproc_rsc_table_show()
350 seq_printf(seq, "Unknown resource type found: %d [hdr: %pK]\n", in rproc_rsc_table_show()
362 static int rproc_carveouts_show(struct seq_file *seq, void *p) in rproc_carveouts_show() argument
364 struct rproc *rproc = seq->private; in rproc_carveouts_show()
368 seq_puts(seq, "Carveout memory entry:\n"); in rproc_carveouts_show()
369 seq_printf(seq, "\tName: %s\n", carveout->name); in rproc_carveouts_show()
370 seq_printf(seq, "\tVirtual address: %pK\n", carveout->va); in rproc_carveouts_show()
371 seq_printf(seq, "\tDMA address: %pad\n", &carveout->dma); in rproc_carveouts_show()
372 seq_printf(seq, "\tDevice address: 0x%x\n", carveout->da); in rproc_carveouts_show()
373 seq_printf(seq, "\tLength: 0x%zx Bytes\n\n", carveout->len); in rproc_carveouts_show()