Lines Matching refs:tpd
2292 struct tx_packet_desc *tpd; in atl1_tx_queue() local
2299 tpd = ATL1_TPD_DESC(&adapter->tpd_ring, next_to_use); in atl1_tx_queue()
2300 if (tpd != ptpd) in atl1_tx_queue()
2301 memcpy(tpd, ptpd, sizeof(struct tx_packet_desc)); in atl1_tx_queue()
2302 tpd->buffer_addr = cpu_to_le64(buffer_info->dma); in atl1_tx_queue()
2303 tpd->word2 &= ~(TPD_BUFLEN_MASK << TPD_BUFLEN_SHIFT); in atl1_tx_queue()
2304 tpd->word2 |= (cpu_to_le16(buffer_info->length) & in atl1_tx_queue()
2311 val = (tpd->word3 >> TPD_SEGMENT_EN_SHIFT) & in atl1_tx_queue()
2315 tpd->word3 |= 1 << TPD_HDRFLAG_SHIFT; in atl1_tx_queue()
2317 tpd->word3 &= ~(1 << TPD_HDRFLAG_SHIFT); in atl1_tx_queue()
2321 tpd->word3 |= 1 << TPD_EOP_SHIFT; in atl1_tx_queue()