Lines Matching full:uint

222 	uint d64txregbase;
224 uint d64rxregbase;
265 uint rxextrahdrroom; /* extra rx headroom, reverseved to assist upper
272 uint nrxpost; /* # rx buffers to keep posted */
275 uint ddoffsetlow;
277 uint ddoffsethigh;
279 uint dataoffsetlow;
281 uint dataoffsethigh;
308 static uint xxd(uint x, uint n) in xxd()
313 static uint txd(struct dma_info *di, uint x) in txd()
318 static uint rxd(struct dma_info *di, uint x) in rxd()
323 static uint nexttxd(struct dma_info *di, uint i) in nexttxd()
328 static uint prevtxd(struct dma_info *di, uint i) in prevtxd()
333 static uint nextrxd(struct dma_info *di, uint i) in nextrxd()
338 static uint ntxdactive(struct dma_info *di, uint h, uint t) in ntxdactive()
343 static uint nrxdactive(struct dma_info *di, uint h, uint t) in nrxdactive()
348 static uint _dma_ctrlflags(struct dma_info *di, uint mask, uint flags) in _dma_ctrlflags()
350 uint dmactrlflags; in _dma_ctrlflags()
383 static bool _dma64_addrext(struct dma_info *di, uint ctrl_offset) in _dma64_addrext()
441 static void *dma_alloc_consistent(struct dma_info *di, uint size, in dma_alloc_consistent()
442 u16 align_bits, uint *alloced, in dma_alloc_consistent()
455 u8 dma_align_sizetobits(uint size) in dma_align_sizetobits()
469 static void *dma_ringalloc(struct dma_info *di, u32 boundary, uint size, in dma_ringalloc()
470 u16 *alignbits, uint *alloced, in dma_ringalloc()
493 static bool dma64_alloc(struct dma_info *di, uint direction) in dma64_alloc()
496 uint ddlen; in dma64_alloc()
498 uint alloced = 0; in dma64_alloc()
520 di->txdalign = (uint) ((s8 *)di->txd64 - (s8 *) va); in dma64_alloc()
535 di->rxdalign = (uint) ((s8 *)di->rxd64 - (s8 *) va); in dma64_alloc()
543 static bool _dma_alloc(struct dma_info *di, uint direction) in _dma_alloc()
549 uint txregbase, uint rxregbase, uint ntxd, uint nrxd, in dma_attach()
550 uint rxbufsize, int rxextheadroom, in dma_attach()
551 uint nrxpost, uint rxoffset) in dma_attach()
557 uint size; in dma_attach()
715 dma_addr_t pa, uint outidx, u32 *flags, u32 bufcount) in dma64_dd_upd()
773 _dma_ddtable_init(struct dma_info *di, uint direction, dma_addr_t pa) in _dma_ddtable_init()
823 uint dmactrlflags = di->dma.dmactrlflags; in _dma_rxenable()
870 uint i, curr; in dma64_getnextrxp()
929 uint len; in dma_rx()
930 uint pkt_len; in dma_rx()
953 pkt_len = min_t(uint, resid, di->rxbufsize); in dma_rx()
962 uint cur; in dma_rx()
1028 uint n; in dma_rxfill()
1029 uint i; in dma_rxfill()
1031 uint extra_offset = 0; in dma_rxfill()
1273 uint len; in dma_txenq()
1512 uint size; in dma_getnexttxp()
1552 uint i = di->txin; in dma_walk_packets()
1553 uint end = di->txout; in dma_walk_packets()