Lines Matching refs:channel
34 struct dma_channel *channel = get_dma_channel(i); in dma_show_devices() local
36 if (unlikely(!info) || !channel) in dma_show_devices()
40 channel->chan, info->name, in dma_show_devices()
41 channel->dev_id); in dma_show_devices()
64 struct dma_channel *channel = to_dma_channel(dev); in dma_show_dev_id() local
65 return sprintf(buf, "%s\n", channel->dev_id); in dma_show_dev_id()
72 struct dma_channel *channel = to_dma_channel(dev); in dma_store_dev_id() local
73 strcpy(channel->dev_id, buf); in dma_store_dev_id()
83 struct dma_channel *channel = to_dma_channel(dev); in dma_store_config() local
87 dma_configure_channel(channel->vchan, config); in dma_store_config()
97 struct dma_channel *channel = to_dma_channel(dev); in dma_show_mode() local
98 return sprintf(buf, "0x%08x\n", channel->mode); in dma_show_mode()
105 struct dma_channel *channel = to_dma_channel(dev); in dma_store_mode() local
106 channel->mode = simple_strtoul(buf, NULL, 0); in dma_store_mode()
116 struct dma_channel *channel = to_dma_channel(dev); \
117 return sprintf(buf, fmt, channel->field); \