Lines Matching refs:ptpd

2106 		    struct tx_packet_desc *ptpd)  in atl1_tso()  argument
2135 ptpd->word3 |= (iph->ihl & TPD_IPHL_MASK) << in atl1_tso()
2137 ptpd->word3 |= ((tcp_hdrlen(skb) >> 2) & in atl1_tso()
2140 ptpd->word3 |= 1 << TPD_IP_CSUM_SHIFT; in atl1_tso()
2141 ptpd->word3 |= 1 << TPD_TCP_CSUM_SHIFT; in atl1_tso()
2151 ptpd->word3 |= 1 << TPD_ETHTYPE_SHIFT; in atl1_tso()
2155 ptpd->word3 |= (iph->ihl & TPD_IPHL_MASK) << in atl1_tso()
2157 ptpd->word3 |= ((tcp_hdrlen(skb) >> 2) & in atl1_tso()
2159 ptpd->word3 |= (skb_shinfo(skb)->gso_size & in atl1_tso()
2161 ptpd->word3 |= 1 << TPD_SEGMENT_EN_SHIFT; in atl1_tso()
2169 struct tx_packet_desc *ptpd) in atl1_tx_csum() argument
2183 ptpd->word3 |= (css & TPD_PLOADOFFSET_MASK) << in atl1_tx_csum()
2185 ptpd->word3 |= (cso & TPD_CCSUMOFFSET_MASK) << in atl1_tx_csum()
2187 ptpd->word3 |= 1 << TPD_CUST_CSUM_EN_SHIFT; in atl1_tx_csum()
2194 struct tx_packet_desc *ptpd) in atl1_tx_map() argument
2218 retval = (ptpd->word3 >> TPD_SEGMENT_EN_SHIFT) & TPD_SEGMENT_EN_MASK; in atl1_tx_map()
2326 struct tx_packet_desc *ptpd) in atl1_tx_queue() argument
2338 if (tpd != ptpd) in atl1_tx_queue()
2339 memcpy(tpd, ptpd, sizeof(struct tx_packet_desc)); in atl1_tx_queue()
2384 struct tx_packet_desc *ptpd; in atl1_xmit_frame() local
2427 ptpd = ATL1_TPD_DESC(tpd_ring, in atl1_xmit_frame()
2429 memset(ptpd, 0, sizeof(struct tx_packet_desc)); in atl1_xmit_frame()
2435 ptpd->word3 |= 1 << TPD_INS_VL_TAG_SHIFT; in atl1_xmit_frame()
2436 ptpd->word2 |= (vlan_tag & TPD_VLANTAG_MASK) << in atl1_xmit_frame()
2440 tso = atl1_tso(adapter, skb, ptpd); in atl1_xmit_frame()
2445 ret_val = atl1_tx_csum(adapter, skb, ptpd); in atl1_xmit_frame()
2450 if (!atl1_tx_map(adapter, skb, ptpd)) in atl1_xmit_frame()
2453 atl1_tx_queue(adapter, count, ptpd); in atl1_xmit_frame()