Lines Matching refs:tpd
2313 struct tx_packet_desc *tpd; in atl1_tx_queue() local
2320 tpd = ATL1_TPD_DESC(&adapter->tpd_ring, next_to_use); in atl1_tx_queue()
2321 if (tpd != ptpd) in atl1_tx_queue()
2322 memcpy(tpd, ptpd, sizeof(struct tx_packet_desc)); in atl1_tx_queue()
2323 tpd->buffer_addr = cpu_to_le64(buffer_info->dma); in atl1_tx_queue()
2324 tpd->word2 &= ~(TPD_BUFLEN_MASK << TPD_BUFLEN_SHIFT); in atl1_tx_queue()
2325 tpd->word2 |= (cpu_to_le16(buffer_info->length) & in atl1_tx_queue()
2332 val = (tpd->word3 >> TPD_SEGMENT_EN_SHIFT) & in atl1_tx_queue()
2336 tpd->word3 |= 1 << TPD_HDRFLAG_SHIFT; in atl1_tx_queue()
2338 tpd->word3 &= ~(1 << TPD_HDRFLAG_SHIFT); in atl1_tx_queue()
2342 tpd->word3 |= 1 << TPD_EOP_SHIFT; in atl1_tx_queue()