Lines Matching defs:di
38 #define DMA64TXREGOFFS(di, field) (di->d64txregbase + DMA64REGOFFS(field)) argument
39 #define DMA64RXREGOFFS(di, field) (di->d64rxregbase + DMA64REGOFFS(field)) argument
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()
383 static bool _dma64_addrext(struct dma_info *di, uint ctrl_offset) in _dma64_addrext()
396 static bool _dma_isaddrext(struct dma_info *di) in _dma_isaddrext()
418 static bool _dma_descriptor_align(struct dma_info *di) in _dma_descriptor_align()
441 static void *dma_alloc_consistent(struct dma_info *di, uint size, in dma_alloc_consistent()
469 static void *dma_ringalloc(struct dma_info *di, u32 boundary, uint size, in dma_ringalloc()
493 static bool dma64_alloc(struct dma_info *di, uint direction) in dma64_alloc()
543 static bool _dma_alloc(struct dma_info *di, uint direction) in _dma_alloc()
555 struct dma_info *di; in dma_attach() local
715 dma64_dd_upd(struct dma_info *di, struct dma64desc *ddring, in dma64_dd_upd()
749 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_detach() local
774 _dma_ddtable_init(struct dma_info *di, uint direction, dma_addr_t pa) in _dma_ddtable_init()
822 static void _dma_rxenable(struct dma_info *di) in _dma_rxenable()
845 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxinit() local
869 static struct sk_buff *dma64_getnextrxp(struct dma_info *di, bool forceall) in dma64_getnextrxp()
907 static struct sk_buff *_dma_getnextrxp(struct dma_info *di, bool forceall) in _dma_getnextrxp()
927 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rx() local
992 static bool dma64_rxidle(struct dma_info *di) in dma64_rxidle()
1005 static bool dma64_txidle(struct dma_info *di) in dma64_txidle()
1025 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxfill() local
1111 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxreclaim() local
1131 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_getvar() local
1142 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txinit() local
1175 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txsuspend() local
1187 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txresume() local
1199 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txsuspended() local
1209 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txreclaim() local
1230 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txreset() local
1257 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxreset() local
1271 static void dma_txenq(struct dma_info *di, struct sk_buff *p) in dma_txenq()
1317 static void ampdu_finalize(struct dma_info *di) in ampdu_finalize()
1344 static void prep_ampdu_frame(struct dma_info *di, struct sk_buff *p) in prep_ampdu_frame()
1363 static void dma_update_txavail(struct dma_info *di) in dma_update_txavail()
1382 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txfast() local
1432 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txflush() local
1441 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txpending() local
1451 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_kick_tx() local
1470 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_getnexttxp() local
1552 struct dma_info *di = container_of(dmah, struct dma_info, dma); in dma_walk_packets() local