Lines Matching refs:txsd
90 struct ofld_tx_sdesc *txsd = &toep->txsd[toep->txsd_pidx]; in send_flowc_wr() local
151 txsd->tx_credits = howmany(flowclen, 16); in send_flowc_wr()
152 txsd->plen = 0; in send_flowc_wr()
153 KASSERT(toep->tx_credits >= txsd->tx_credits && toep->txsd_avail > 0, in send_flowc_wr()
155 toep->tx_credits -= txsd->tx_credits; in send_flowc_wr()
191 struct ofld_tx_sdesc *txsd = &toep->txsd[toep->txsd_pidx]; in update_tx_rate_limit() local
218 txsd->tx_credits = flowclen16; in update_tx_rate_limit()
219 txsd->plen = 0; in update_tx_rate_limit()
220 toep->tx_credits -= txsd->tx_credits; in update_tx_rate_limit()
648 struct ofld_tx_sdesc *txsd; in t4_push_frames() local
685 txsd = &toep->txsd[toep->txsd_pidx]; in t4_push_frames()
873 txsd->plen = plen; in t4_push_frames()
874 txsd->tx_credits = credits; in t4_push_frames()
875 txsd++; in t4_push_frames()
878 txsd = &toep->txsd[0]; in t4_push_frames()
1126 struct ofld_tx_sdesc *txsd = &toep->txsd[toep->txsd_pidx]; in t4_push_pdus() local
1214 txsd->plen = plen; in t4_push_pdus()
1215 txsd->tx_credits = credits; in t4_push_pdus()
1216 txsd++; in t4_push_pdus()
1219 txsd = &toep->txsd[0]; in t4_push_pdus()
1817 struct ofld_tx_sdesc *txsd; in do_fw4_ack() local
1873 txsd = &toep->txsd[toep->txsd_cidx]; in do_fw4_ack()
1876 KASSERT(credits >= txsd->tx_credits, in do_fw4_ack()
1878 credits -= txsd->tx_credits; in do_fw4_ack()
1879 toep->tx_credits += txsd->tx_credits; in do_fw4_ack()
1880 plen += txsd->plen; in do_fw4_ack()
1881 txsd++; in do_fw4_ack()
1886 txsd = &toep->txsd[0]; in do_fw4_ack()
1949 struct ofld_tx_sdesc *txsd; in t4_set_tcb_field() local
1971 txsd = &toep->txsd[toep->txsd_pidx]; in t4_set_tcb_field()
1972 txsd->tx_credits = howmany(sizeof(*req), 16); in t4_set_tcb_field()
1973 txsd->plen = 0; in t4_set_tcb_field()
1974 KASSERT(toep->tx_credits >= txsd->tx_credits && in t4_set_tcb_field()
1978 toep->tx_credits -= txsd->tx_credits; in t4_set_tcb_field()