Lines Matching refs:txq
881 struct host_txq* txq = &fore200e->host_txq;
891 entry = &txq->host_entry[ txq->tail ];
898 entry, txq->tail, entry->vc_map, entry->skb);
968 FORE200E_NEXT_ENTRY(txq->tail, QUEUE_SIZE_TX);
1584 struct host_txq* txq = &fore200e->host_txq;
1665 entry = &txq->host_entry[ txq->head ];
1667 if ((*entry->status != STATUS_FREE) || (txq->txing >= QUEUE_SIZE_TX - 2)) {
1710 FORE200E_NEXT_ENTRY(txq->head, QUEUE_SIZE_TX);
1711 txq->txing++;
2260 struct host_txq* txq = &fore200e->host_txq;
2268 &txq->status,
2277 &txq->tpd,
2282 fore200e->bus->dma_chunk_free(fore200e, &txq->status);
2292 txq->host_entry[ i ].status =
2293 FORE200E_INDEX(txq->status.align_addr, enum status, i);
2294 txq->host_entry[ i ].tpd =
2295 FORE200E_INDEX(txq->tpd.align_addr, struct tpd, i);
2296 txq->host_entry[ i ].tpd_dma =
2297 FORE200E_DMA_INDEX(txq->tpd.dma_addr, struct tpd, i);
2298 txq->host_entry[ i ].cp_entry = &cp_entry[ i ];
2300 *txq->host_entry[ i ].status = STATUS_FREE;
2302 fore200e->bus->write(FORE200E_DMA_INDEX(txq->status.dma_addr, enum status, i),
2312 txq->head = 0;
2313 txq->tail = 0;