Lines Matching refs:ptpd
2120 struct tx_packet_desc *ptpd) in atl1_tso() argument
2146 ptpd->word3 |= (iph->ihl & TPD_IPHL_MASK) << in atl1_tso()
2148 ptpd->word3 |= ((tcp_hdrlen(skb) >> 2) & in atl1_tso()
2151 ptpd->word3 |= 1 << TPD_IP_CSUM_SHIFT; in atl1_tso()
2152 ptpd->word3 |= 1 << TPD_TCP_CSUM_SHIFT; in atl1_tso()
2162 ptpd->word3 |= 1 << TPD_ETHTYPE_SHIFT; in atl1_tso()
2166 ptpd->word3 |= (iph->ihl & TPD_IPHL_MASK) << in atl1_tso()
2168 ptpd->word3 |= ((tcp_hdrlen(skb) >> 2) & in atl1_tso()
2170 ptpd->word3 |= (skb_shinfo(skb)->gso_size & in atl1_tso()
2172 ptpd->word3 |= 1 << TPD_SEGMENT_EN_SHIFT; in atl1_tso()
2180 struct tx_packet_desc *ptpd) in atl1_tx_csum() argument
2194 ptpd->word3 |= (css & TPD_PLOADOFFSET_MASK) << in atl1_tx_csum()
2196 ptpd->word3 |= (cso & TPD_CCSUMOFFSET_MASK) << in atl1_tx_csum()
2198 ptpd->word3 |= 1 << TPD_CUST_CSUM_EN_SHIFT; in atl1_tx_csum()
2205 struct tx_packet_desc *ptpd) in atl1_tx_map() argument
2227 retval = (ptpd->word3 >> TPD_SEGMENT_EN_SHIFT) & TPD_SEGMENT_EN_MASK; in atl1_tx_map()
2308 struct tx_packet_desc *ptpd) in atl1_tx_queue() argument
2320 if (tpd != ptpd) in atl1_tx_queue()
2321 memcpy(tpd, ptpd, sizeof(struct tx_packet_desc)); in atl1_tx_queue()
2366 struct tx_packet_desc *ptpd; in atl1_xmit_frame() local
2413 ptpd = ATL1_TPD_DESC(tpd_ring, in atl1_xmit_frame()
2415 memset(ptpd, 0, sizeof(struct tx_packet_desc)); in atl1_xmit_frame()
2421 ptpd->word3 |= 1 << TPD_INS_VL_TAG_SHIFT; in atl1_xmit_frame()
2422 ptpd->word2 |= (vlan_tag & TPD_VLANTAG_MASK) << in atl1_xmit_frame()
2426 tso = atl1_tso(adapter, skb, ptpd); in atl1_xmit_frame()
2433 ret_val = atl1_tx_csum(adapter, skb, ptpd); in atl1_xmit_frame()
2440 atl1_tx_map(adapter, skb, ptpd); in atl1_xmit_frame()
2441 atl1_tx_queue(adapter, count, ptpd); in atl1_xmit_frame()