Loading drivers/dma/qcom/hidma_dbg.c +6 −27 Original line number Original line Diff line number Diff line Loading @@ -85,11 +85,11 @@ static void hidma_ll_devstats(struct seq_file *s, void *llhndl) } } /* /* * hidma_chan_stats: display HIDMA channel statistics * hidma_chan_show: display HIDMA channel statistics * * * Display the statistics for the current HIDMA virtual channel device. * Display the statistics for the current HIDMA virtual channel device. */ */ static int hidma_chan_stats(struct seq_file *s, void *unused) static int hidma_chan_show(struct seq_file *s, void *unused) { { struct hidma_chan *mchan = s->private; struct hidma_chan *mchan = s->private; struct hidma_desc *mdesc; struct hidma_desc *mdesc; Loading Loading @@ -117,11 +117,11 @@ static int hidma_chan_stats(struct seq_file *s, void *unused) } } /* /* * hidma_dma_info: display HIDMA device info * hidma_dma_show: display HIDMA device info * * * Display the info for the current HIDMA device. * Display the info for the current HIDMA device. */ */ static int hidma_dma_info(struct seq_file *s, void *unused) static int hidma_dma_show(struct seq_file *s, void *unused) { { struct hidma_dev *dmadev = s->private; struct hidma_dev *dmadev = s->private; resource_size_t sz; resource_size_t sz; Loading @@ -138,29 +138,8 @@ static int hidma_dma_info(struct seq_file *s, void *unused) return 0; return 0; } } static int hidma_chan_stats_open(struct inode *inode, struct file *file) DEFINE_SHOW_ATTRIBUTE(hidma_chan); { DEFINE_SHOW_ATTRIBUTE(hidma_dma); return single_open(file, hidma_chan_stats, inode->i_private); } static int hidma_dma_info_open(struct inode *inode, struct file *file) { return single_open(file, hidma_dma_info, inode->i_private); } static const struct file_operations hidma_chan_fops = { .open = hidma_chan_stats_open, .read = seq_read, .llseek = seq_lseek, .release = single_release, }; static const struct file_operations hidma_dma_fops = { .open = hidma_dma_info_open, .read = seq_read, .llseek = seq_lseek, .release = single_release, }; void hidma_debug_uninit(struct hidma_dev *dmadev) void hidma_debug_uninit(struct hidma_dev *dmadev) { { Loading Loading
drivers/dma/qcom/hidma_dbg.c +6 −27 Original line number Original line Diff line number Diff line Loading @@ -85,11 +85,11 @@ static void hidma_ll_devstats(struct seq_file *s, void *llhndl) } } /* /* * hidma_chan_stats: display HIDMA channel statistics * hidma_chan_show: display HIDMA channel statistics * * * Display the statistics for the current HIDMA virtual channel device. * Display the statistics for the current HIDMA virtual channel device. */ */ static int hidma_chan_stats(struct seq_file *s, void *unused) static int hidma_chan_show(struct seq_file *s, void *unused) { { struct hidma_chan *mchan = s->private; struct hidma_chan *mchan = s->private; struct hidma_desc *mdesc; struct hidma_desc *mdesc; Loading Loading @@ -117,11 +117,11 @@ static int hidma_chan_stats(struct seq_file *s, void *unused) } } /* /* * hidma_dma_info: display HIDMA device info * hidma_dma_show: display HIDMA device info * * * Display the info for the current HIDMA device. * Display the info for the current HIDMA device. */ */ static int hidma_dma_info(struct seq_file *s, void *unused) static int hidma_dma_show(struct seq_file *s, void *unused) { { struct hidma_dev *dmadev = s->private; struct hidma_dev *dmadev = s->private; resource_size_t sz; resource_size_t sz; Loading @@ -138,29 +138,8 @@ static int hidma_dma_info(struct seq_file *s, void *unused) return 0; return 0; } } static int hidma_chan_stats_open(struct inode *inode, struct file *file) DEFINE_SHOW_ATTRIBUTE(hidma_chan); { DEFINE_SHOW_ATTRIBUTE(hidma_dma); return single_open(file, hidma_chan_stats, inode->i_private); } static int hidma_dma_info_open(struct inode *inode, struct file *file) { return single_open(file, hidma_dma_info, inode->i_private); } static const struct file_operations hidma_chan_fops = { .open = hidma_chan_stats_open, .read = seq_read, .llseek = seq_lseek, .release = single_release, }; static const struct file_operations hidma_dma_fops = { .open = hidma_dma_info_open, .read = seq_read, .llseek = seq_lseek, .release = single_release, }; void hidma_debug_uninit(struct hidma_dev *dmadev) void hidma_debug_uninit(struct hidma_dev *dmadev) { { Loading