Lines Matching refs:pub
558 struct si_info *sii = container_of(sih, struct si_info, pub); in dma_attach()
747 void dma_detach(struct dma_pub *pub) in dma_detach() argument
749 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_detach()
843 void dma_rxinit(struct dma_pub *pub) in dma_rxinit() argument
845 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxinit()
925 int dma_rx(struct dma_pub *pub, struct sk_buff_head *skb_list) in dma_rx() argument
927 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rx()
1023 bool dma_rxfill(struct dma_pub *pub) in dma_rxfill() argument
1025 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxfill()
1109 void dma_rxreclaim(struct dma_pub *pub) in dma_rxreclaim() argument
1111 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxreclaim()
1120 void dma_counterreset(struct dma_pub *pub) in dma_counterreset() argument
1123 pub->rxgiants = 0; in dma_counterreset()
1124 pub->rxnobuf = 0; in dma_counterreset()
1125 pub->txnobuf = 0; in dma_counterreset()
1129 unsigned long dma_getvar(struct dma_pub *pub, const char *name) in dma_getvar() argument
1131 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_getvar()
1140 void dma_txinit(struct dma_pub *pub) in dma_txinit() argument
1142 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txinit()
1173 void dma_txsuspend(struct dma_pub *pub) in dma_txsuspend() argument
1175 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txsuspend()
1185 void dma_txresume(struct dma_pub *pub) in dma_txresume() argument
1187 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txresume()
1197 bool dma_txsuspended(struct dma_pub *pub) in dma_txsuspended() argument
1199 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txsuspended()
1207 void dma_txreclaim(struct dma_pub *pub, enum txd_range range) in dma_txreclaim() argument
1209 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txreclaim()
1221 while ((p = dma_getnexttxp(pub, range))) { in dma_txreclaim()
1228 bool dma_txreset(struct dma_pub *pub) in dma_txreset() argument
1230 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txreset()
1255 bool dma_rxreset(struct dma_pub *pub) in dma_rxreset() argument
1257 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_rxreset()
1379 int dma_txfast(struct brcms_c_info *wlc, struct dma_pub *pub, in dma_txfast() argument
1382 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txfast()
1430 void dma_txflush(struct dma_pub *pub) in dma_txflush() argument
1432 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txflush()
1439 int dma_txpending(struct dma_pub *pub) in dma_txpending() argument
1441 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_txpending()
1449 void dma_kick_tx(struct dma_pub *pub) in dma_kick_tx() argument
1451 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_kick_tx()
1468 struct sk_buff *dma_getnexttxp(struct dma_pub *pub, enum txd_range range) in dma_getnexttxp() argument
1470 struct dma_info *di = container_of(pub, struct dma_info, dma); in dma_getnexttxp()