Lines Matching refs:hn_txdesc_cnt
1034 KASSERT(txr->hn_txdesc_cnt > 0, ("tx ring is not setup yet")); in hn_get_txswq_depth()
1035 if (hn_tx_swq_depth < txr->hn_txdesc_cnt) in hn_get_txswq_depth()
1036 return txr->hn_txdesc_cnt; in hn_get_txswq_depth()
2745 txr->hn_txdesc_avail < txr->hn_txdesc_cnt, in hn_txdesc_put()
2830 if (txr->hn_txdesc_avail != txr->hn_txdesc_cnt) in hn_tx_ring_pending()
5182 txr->hn_txdesc_cnt = HN_TX_DESC_CNT; in hn_tx_ring_create()
5183 txr->hn_txdesc = malloc(sizeof(struct hn_txdesc) * txr->hn_txdesc_cnt, in hn_tx_ring_create()
5188 txr->hn_txdesc_br = buf_ring_alloc(txr->hn_txdesc_cnt, M_DEVBUF, in hn_tx_ring_create()
5266 for (i = 0; i < txr->hn_txdesc_cnt; ++i) { in hn_tx_ring_create()
5320 txr->hn_txdesc_avail = txr->hn_txdesc_cnt; in hn_tx_ring_create()
5414 for (i = 0; i < txr->hn_txdesc_cnt; ++i) in hn_tx_ring_destroy()
5416 for (i = 0; i < txr->hn_txdesc_cnt; ++i) in hn_tx_ring_destroy()
5510 CTLFLAG_RD, &sc->hn_tx_ring[0].hn_txdesc_cnt, 0, in hn_create_tx_data()