lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 10 Jul 2013 10:30:55 +0100 From: Russell King - ARM Linux <linux@....linux.org.uk> To: Jonas Jensen <jonas.jensen@...il.com> Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, arm@...nel.org, vinod.koul@...el.com, djbw@...com, arnd@...db.de Subject: Re: [PATCH] dmaengine: Add MOXA ART DMA engine driver On Wed, Jul 10, 2013 at 10:51:03AM +0200, Jonas Jensen wrote: > +#include "virt-dma.h" ... > +struct moxart_dma_chan { > + struct virt_dma_chan vchan; ... > +static inline struct moxart_dma_chan *to_moxart_dma_chan(struct dma_chan *c) > +{ > + return container_of(c, struct moxart_dma_chan, vchan.chan); > +} ... > + for (i = 0; i < APB_DMA_MAX_CHANNEL; i++, mchan++) { > + mchan->ch_num = i; > + mchan->reg = (struct moxart_dma_reg *)(dma_base_addr + 0x80 > + + i * sizeof(struct moxart_dma_reg)); > + mchan->callback = NULL; > + mchan->allocated = 0; > + mchan->callback_param = NULL; > + vchan_init(&mchan->vchan, &mdc->dma_slave); Do you actually make any use what so ever of the vchan support? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists