Lines Matching refs:tpd
376 fore200e->bus->dma_chunk_free(fore200e, &fore200e->host_txq.tpd); in fore200e_shutdown()
880 fore200e->bus->dma_unmap(fore200e, entry->tpd->tsd[ 0 ].buffer, entry->tpd->tsd[ 0 ].length, in fore200e_tx_irq()
1564 struct tpd* tpd; in fore200e_send() local
1684 tpd = entry->tpd; in fore200e_send()
1685 tpd->tsd[ 0 ].buffer = fore200e->bus->dma_map(fore200e, data, tx_len, DMA_TO_DEVICE); in fore200e_send()
1686 tpd->tsd[ 0 ].length = tx_len; in fore200e_send()
1697 tpd->tsd[0].length, skb_len); in fore200e_send()
1706 tpd->rate.data_cells = fore200e_vcc->rate.data_cells; in fore200e_send()
1707 tpd->rate.idle_cells = fore200e_vcc->rate.idle_cells; in fore200e_send()
1710 tpd->atm_header.clp = (*cell_header & ATM_HDR_CLP); in fore200e_send()
1711 tpd->atm_header.plt = (*cell_header & ATM_HDR_PTI_MASK) >> ATM_HDR_PTI_SHIFT; in fore200e_send()
1712 tpd->atm_header.vci = (*cell_header & ATM_HDR_VCI_MASK) >> ATM_HDR_VCI_SHIFT; in fore200e_send()
1713 tpd->atm_header.vpi = (*cell_header & ATM_HDR_VPI_MASK) >> ATM_HDR_VPI_SHIFT; in fore200e_send()
1714 tpd->atm_header.gfc = (*cell_header & ATM_HDR_GFC_MASK) >> ATM_HDR_GFC_SHIFT; in fore200e_send()
1718 tpd->atm_header.clp = 0; in fore200e_send()
1719 tpd->atm_header.plt = 0; in fore200e_send()
1720 tpd->atm_header.vci = vcc->vci; in fore200e_send()
1721 tpd->atm_header.vpi = vcc->vpi; in fore200e_send()
1722 tpd->atm_header.gfc = 0; in fore200e_send()
1725 tpd->spec.length = tx_len; in fore200e_send()
1726 tpd->spec.nseg = 1; in fore200e_send()
1727 tpd->spec.aal = fore200e_atm2fore_aal(vcc->qos.aal); in fore200e_send()
1728 tpd->spec.intr = 1; in fore200e_send()
1730 …tpd_haddr.size = sizeof(struct tpd) / (1<<TPD_HADDR_SHIFT); /* size is expressed in 32 byte bloc… in fore200e_send()
2292 &txq->tpd, in fore200e_init_tx_queue()
2293 sizeof(struct tpd), in fore200e_init_tx_queue()
2309 txq->host_entry[ i ].tpd = in fore200e_init_tx_queue()
2310 FORE200E_INDEX(txq->tpd.align_addr, struct tpd, i); in fore200e_init_tx_queue()
2312 FORE200E_DMA_INDEX(txq->tpd.dma_addr, struct tpd, i); in fore200e_init_tx_queue()