Lines Matching refs:tpd
2077 struct tx_packet_desc *tpd; in atl1_intr_tx() local
2079 tpd = ATL1_TPD_DESC(tpd_ring, sw_tpd_next_to_clean); in atl1_intr_tx()
2307 struct tx_packet_desc *tpd; in atl1_tx_queue() local
2314 tpd = ATL1_TPD_DESC(&adapter->tpd_ring, next_to_use); in atl1_tx_queue()
2315 if (tpd != ptpd) in atl1_tx_queue()
2316 memcpy(tpd, ptpd, sizeof(struct tx_packet_desc)); in atl1_tx_queue()
2317 tpd->buffer_addr = cpu_to_le64(buffer_info->dma); in atl1_tx_queue()
2318 tpd->word2 &= ~(TPD_BUFLEN_MASK << TPD_BUFLEN_SHIFT); in atl1_tx_queue()
2319 tpd->word2 |= (cpu_to_le16(buffer_info->length) & in atl1_tx_queue()
2326 val = (tpd->word3 >> TPD_SEGMENT_EN_SHIFT) & in atl1_tx_queue()
2330 tpd->word3 |= 1 << TPD_HDRFLAG_SHIFT; in atl1_tx_queue()
2332 tpd->word3 &= ~(1 << TPD_HDRFLAG_SHIFT); in atl1_tx_queue()
2336 tpd->word3 |= 1 << TPD_EOP_SHIFT; in atl1_tx_queue()