Home | History | Annotate | Download | only in ath5k

Lines Matching refs:iob

222 	if (!bf->iob)
225 net80211_tx_complete(sc->dev, bf->iob, 0, ECANCELED);
226 bf->iob = NULL;
232 free_iob(bf->iob);
233 bf->iob = NULL;
780 struct io_buffer *iob;
787 iob = alloc_iob(sc->rxbufsize + sc->cachelsz - 1);
789 if (!iob) {
795 *iob_addr = virt_to_bus(iob->data);
804 iob_reserve(iob, sc->cachelsz - off);
808 return iob;
815 struct io_buffer *iob = bf->iob;
818 if (!iob) {
819 iob = ath5k_rx_iob_alloc(sc, &bf->iobaddr);
820 if (!iob)
822 bf->iob = iob;
844 iob_tailroom(iob), /* buffer size */
846 DBG("ath5k: error setting up RX descriptor for %d bytes\n", iob_tailroom(iob));
862 struct io_buffer *iob = bf->iob;
869 bf->iobaddr = virt_to_bus(iob->data);
870 pktlen = iob_len(iob);
1139 struct io_buffer *iob, *next_iob;
1156 assert(bf->iob != NULL);
1157 iob = bf->iob;
1231 * If we can't replace bf->iob with a new iob under memory
1239 iob_put(iob, rs.rs_datalen);
1250 net80211_rx(sc->dev, iob, rs.rs_rssi,
1253 bf->iob = next_iob;
1274 struct io_buffer *iob;
1293 iob = bf->iob;
1294 bf->iob = NULL;
1297 iob_len(iob), ts.ts_retry[0]);
1299 net80211_tx_complete(sc->dev, iob, ts.ts_retry[0],
1503 ath5k_tx(struct net80211_device *dev, struct io_buffer *iob)
1523 bf->iob = iob;
1526 bf->iob = NULL;