• Home
  • Raw
  • Download

Lines Matching refs:s

15 static void hidma_ll_chstats(struct seq_file *s, void *llhndl, u32 tre_ch)  in hidma_ll_chstats()  argument
29 seq_printf(s, "------Channel %d -----\n", tre_ch); in hidma_ll_chstats()
30 seq_printf(s, "allocated=%d\n", atomic_read(&tre->allocated)); in hidma_ll_chstats()
31 seq_printf(s, "queued = 0x%x\n", tre->queued); in hidma_ll_chstats()
32 seq_printf(s, "err_info = 0x%x\n", tre->err_info); in hidma_ll_chstats()
33 seq_printf(s, "err_code = 0x%x\n", tre->err_code); in hidma_ll_chstats()
34 seq_printf(s, "status = 0x%x\n", tre->status); in hidma_ll_chstats()
35 seq_printf(s, "idx = 0x%x\n", tre->idx); in hidma_ll_chstats()
36 seq_printf(s, "dma_sig = 0x%x\n", tre->dma_sig); in hidma_ll_chstats()
37 seq_printf(s, "dev_name=%s\n", tre->dev_name); in hidma_ll_chstats()
38 seq_printf(s, "callback=%p\n", tre->callback); in hidma_ll_chstats()
39 seq_printf(s, "data=%p\n", tre->data); in hidma_ll_chstats()
40 seq_printf(s, "tre_index = 0x%x\n", tre->tre_index); in hidma_ll_chstats()
49 seq_printf(s, "src=%pap\n", &src_start); in hidma_ll_chstats()
50 seq_printf(s, "dest=%pap\n", &dest_start); in hidma_ll_chstats()
51 seq_printf(s, "length = 0x%x\n", length); in hidma_ll_chstats()
54 static void hidma_ll_devstats(struct seq_file *s, void *llhndl) in hidma_ll_devstats() argument
58 seq_puts(s, "------Device -----\n"); in hidma_ll_devstats()
59 seq_printf(s, "lldev init = 0x%x\n", lldev->initialized); in hidma_ll_devstats()
60 seq_printf(s, "trch_state = 0x%x\n", lldev->trch_state); in hidma_ll_devstats()
61 seq_printf(s, "evch_state = 0x%x\n", lldev->evch_state); in hidma_ll_devstats()
62 seq_printf(s, "chidx = 0x%x\n", lldev->chidx); in hidma_ll_devstats()
63 seq_printf(s, "nr_tres = 0x%x\n", lldev->nr_tres); in hidma_ll_devstats()
64 seq_printf(s, "trca=%p\n", lldev->trca); in hidma_ll_devstats()
65 seq_printf(s, "tre_ring=%p\n", lldev->tre_ring); in hidma_ll_devstats()
66 seq_printf(s, "tre_ring_handle=%pap\n", &lldev->tre_dma); in hidma_ll_devstats()
67 seq_printf(s, "tre_ring_size = 0x%x\n", lldev->tre_ring_size); in hidma_ll_devstats()
68 seq_printf(s, "tre_processed_off = 0x%x\n", lldev->tre_processed_off); in hidma_ll_devstats()
69 seq_printf(s, "pending_tre_count=%d\n", in hidma_ll_devstats()
71 seq_printf(s, "evca=%p\n", lldev->evca); in hidma_ll_devstats()
72 seq_printf(s, "evre_ring=%p\n", lldev->evre_ring); in hidma_ll_devstats()
73 seq_printf(s, "evre_ring_handle=%pap\n", &lldev->evre_dma); in hidma_ll_devstats()
74 seq_printf(s, "evre_ring_size = 0x%x\n", lldev->evre_ring_size); in hidma_ll_devstats()
75 seq_printf(s, "evre_processed_off = 0x%x\n", lldev->evre_processed_off); in hidma_ll_devstats()
76 seq_printf(s, "tre_write_offset = 0x%x\n", lldev->tre_write_offset); in hidma_ll_devstats()
84 static int hidma_chan_show(struct seq_file *s, void *unused) in hidma_chan_show() argument
86 struct hidma_chan *mchan = s->private; in hidma_chan_show()
91 seq_printf(s, "paused=%u\n", mchan->paused); in hidma_chan_show()
92 seq_printf(s, "dma_sig=%u\n", mchan->dma_sig); in hidma_chan_show()
93 seq_puts(s, "prepared\n"); in hidma_chan_show()
95 hidma_ll_chstats(s, mchan->dmadev->lldev, mdesc->tre_ch); in hidma_chan_show()
97 seq_puts(s, "active\n"); in hidma_chan_show()
99 hidma_ll_chstats(s, mchan->dmadev->lldev, mdesc->tre_ch); in hidma_chan_show()
101 seq_puts(s, "completed\n"); in hidma_chan_show()
103 hidma_ll_chstats(s, mchan->dmadev->lldev, mdesc->tre_ch); in hidma_chan_show()
105 hidma_ll_devstats(s, mchan->dmadev->lldev); in hidma_chan_show()
116 static int hidma_dma_show(struct seq_file *s, void *unused) in hidma_dma_show() argument
118 struct hidma_dev *dmadev = s->private; in hidma_dma_show()
121 seq_printf(s, "nr_descriptors=%d\n", dmadev->nr_descriptors); in hidma_dma_show()
122 seq_printf(s, "dev_trca=%p\n", &dmadev->dev_trca); in hidma_dma_show()
123 seq_printf(s, "dev_trca_phys=%pa\n", &dmadev->trca_resource->start); in hidma_dma_show()
125 seq_printf(s, "dev_trca_size=%pa\n", &sz); in hidma_dma_show()
126 seq_printf(s, "dev_evca=%p\n", &dmadev->dev_evca); in hidma_dma_show()
127 seq_printf(s, "dev_evca_phys=%pa\n", &dmadev->evca_resource->start); in hidma_dma_show()
129 seq_printf(s, "dev_evca_size=%pa\n", &sz); in hidma_dma_show()