/* * helper functions for physically contiguous capture buffers * * The functions support hardware lacking scatter gather support * (i.e. the buffers must be linear in physical memory) * * Copyright (c) 2008 Magnus Damm * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 */ #ifndef _VIDEOBUF_DMA_CONTIG_H #define _VIDEOBUF_DMA_CONTIG_H #include <linux/dma-mapping.h> #include <media/videobuf-core.h> void videobuf_queue_dma_contig_init(struct videobuf_queue *q, const struct videobuf_queue_ops *ops, struct device *dev, spinlock_t *irqlock, enum v4l2_buf_type type, enum v4l2_field field, unsigned int msize, void *priv, struct mutex *ext_lock); dma_addr_t videobuf_to_dma_contig(struct videobuf_buffer *buf); void videobuf_dma_contig_free(struct videobuf_queue *q, struct videobuf_buffer *buf); #endif /* _VIDEOBUF_DMA_CONTIG_H */ cted'>master</option> <option value='nds-private-remove'>nds-private-remove</option> <option value='packet-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=ba94f3088b792b16ea576a256a6030feddc87f24'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/net/mac802154/llsec.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/mac802154/llsec.h?id=ba94f3088b792b16ea576a256a6030feddc87f24'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/mac802154/llsec.h?id=ba94f3088b792b16ea576a256a6030feddc87f24'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/mac802154/llsec.h?id=ba94f3088b792b16ea576a256a6030feddc87f24'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/mac802154/llsec.h'> <input type='hidden' name='id' value='ba94f3088b792b16ea576a256a6030feddc87f24'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=ba94f3088b792b16ea576a256a6030feddc87f24'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/net?id=ba94f3088b792b16ea576a256a6030feddc87f24'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/mac802154?id=ba94f3088b792b16ea576a256a6030feddc87f24'>mac802154</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/mac802154/llsec.h?id=ba94f3088b792b16ea576a256a6030feddc87f24'>llsec.h</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/net/mac802154/llsec.h?id=ba94f3088b792b16ea576a256a6030feddc87f24&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>