Lines Matching refs:tpd
399 fore200e_dma_chunk_free(fore200e, &fore200e->host_txq.tpd); in fore200e_shutdown()
795 dma_unmap_single(fore200e->dev, entry->tpd->tsd[ 0 ].buffer, entry->tpd->tsd[ 0 ].length, in fore200e_tx_irq()
1474 struct tpd* tpd; in fore200e_send() local
1602 tpd = entry->tpd; in fore200e_send()
1603 tpd->tsd[ 0 ].buffer = dma_map_single(fore200e->dev, data, tx_len, in fore200e_send()
1605 if (dma_mapping_error(fore200e->dev, tpd->tsd[0].buffer)) { in fore200e_send()
1611 tpd->tsd[ 0 ].length = tx_len; in fore200e_send()
1622 tpd->tsd[0].length, skb_len); in fore200e_send()
1631 tpd->rate.data_cells = fore200e_vcc->rate.data_cells; in fore200e_send()
1632 tpd->rate.idle_cells = fore200e_vcc->rate.idle_cells; in fore200e_send()
1635 tpd->atm_header.clp = (*cell_header & ATM_HDR_CLP); in fore200e_send()
1636 tpd->atm_header.plt = (*cell_header & ATM_HDR_PTI_MASK) >> ATM_HDR_PTI_SHIFT; in fore200e_send()
1637 tpd->atm_header.vci = (*cell_header & ATM_HDR_VCI_MASK) >> ATM_HDR_VCI_SHIFT; in fore200e_send()
1638 tpd->atm_header.vpi = (*cell_header & ATM_HDR_VPI_MASK) >> ATM_HDR_VPI_SHIFT; in fore200e_send()
1639 tpd->atm_header.gfc = (*cell_header & ATM_HDR_GFC_MASK) >> ATM_HDR_GFC_SHIFT; in fore200e_send()
1643 tpd->atm_header.clp = 0; in fore200e_send()
1644 tpd->atm_header.plt = 0; in fore200e_send()
1645 tpd->atm_header.vci = vcc->vci; in fore200e_send()
1646 tpd->atm_header.vpi = vcc->vpi; in fore200e_send()
1647 tpd->atm_header.gfc = 0; in fore200e_send()
1650 tpd->spec.length = tx_len; in fore200e_send()
1651 tpd->spec.nseg = 1; in fore200e_send()
1652 tpd->spec.aal = fore200e_atm2fore_aal(vcc->qos.aal); in fore200e_send()
1653 tpd->spec.intr = 1; in fore200e_send()
1655 …tpd_haddr.size = sizeof(struct tpd) / (1<<TPD_HADDR_SHIFT); /* size is expressed in 32 byte bloc… in fore200e_send()
2189 &txq->tpd, in fore200e_init_tx_queue()
2190 sizeof(struct tpd), in fore200e_init_tx_queue()
2206 txq->host_entry[ i ].tpd = in fore200e_init_tx_queue()
2207 FORE200E_INDEX(txq->tpd.align_addr, struct tpd, i); in fore200e_init_tx_queue()
2209 FORE200E_DMA_INDEX(txq->tpd.dma_addr, struct tpd, i); in fore200e_init_tx_queue()