Lines Matching refs:dma_info

208 struct dma_info {  struct
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()
561 di = kzalloc(sizeof(struct dma_info), GFP_ATOMIC); in dma_attach()
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()
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()
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()
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()
1111 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxreclaim()
1131 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_getvar()
1142 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txinit()
1175 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txsuspend()
1187 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txresume()
1199 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txsuspended()
1209 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txreclaim()
1230 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txreset()
1257 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxreset()
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()
1432 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txflush()
1441 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txpending()
1451 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_kick_tx()
1470 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_getnexttxp()
1552 struct dma_info *di = container_of(dmah, struct dma_info, dma); in dma_walk_packets()