Lines Matching refs:ptpd

2112 	struct tx_packet_desc *ptpd)  in atl1_tso()  argument
2139 ptpd->word3 |= (iph->ihl & TPD_IPHL_MASK) << in atl1_tso()
2141 ptpd->word3 |= ((tcp_hdrlen(skb) >> 2) & in atl1_tso()
2144 ptpd->word3 |= 1 << TPD_IP_CSUM_SHIFT; in atl1_tso()
2145 ptpd->word3 |= 1 << TPD_TCP_CSUM_SHIFT; in atl1_tso()
2155 ptpd->word3 |= 1 << TPD_ETHTYPE_SHIFT; in atl1_tso()
2159 ptpd->word3 |= (iph->ihl & TPD_IPHL_MASK) << in atl1_tso()
2161 ptpd->word3 |= ((tcp_hdrlen(skb) >> 2) & in atl1_tso()
2163 ptpd->word3 |= (skb_shinfo(skb)->gso_size & in atl1_tso()
2165 ptpd->word3 |= 1 << TPD_SEGMENT_EN_SHIFT; in atl1_tso()
2173 struct tx_packet_desc *ptpd) in atl1_tx_csum() argument
2187 ptpd->word3 |= (css & TPD_PLOADOFFSET_MASK) << in atl1_tx_csum()
2189 ptpd->word3 |= (cso & TPD_CCSUMOFFSET_MASK) << in atl1_tx_csum()
2191 ptpd->word3 |= 1 << TPD_CUST_CSUM_EN_SHIFT; in atl1_tx_csum()
2198 struct tx_packet_desc *ptpd) in atl1_tx_map() argument
2220 retval = (ptpd->word3 >> TPD_SEGMENT_EN_SHIFT) & TPD_SEGMENT_EN_MASK; in atl1_tx_map()
2303 struct tx_packet_desc *ptpd) in atl1_tx_queue() argument
2315 if (tpd != ptpd) in atl1_tx_queue()
2316 memcpy(tpd, ptpd, sizeof(struct tx_packet_desc)); in atl1_tx_queue()
2361 struct tx_packet_desc *ptpd; in atl1_xmit_frame() local
2410 ptpd = ATL1_TPD_DESC(tpd_ring, in atl1_xmit_frame()
2412 memset(ptpd, 0, sizeof(struct tx_packet_desc)); in atl1_xmit_frame()
2418 ptpd->word3 |= 1 << TPD_INS_VL_TAG_SHIFT; in atl1_xmit_frame()
2419 ptpd->word2 |= (vlan_tag & TPD_VLANTAG_MASK) << in atl1_xmit_frame()
2423 tso = atl1_tso(adapter, skb, ptpd); in atl1_xmit_frame()
2430 ret_val = atl1_tx_csum(adapter, skb, ptpd); in atl1_xmit_frame()
2437 atl1_tx_map(adapter, skb, ptpd); in atl1_xmit_frame()
2438 atl1_tx_queue(adapter, count, ptpd); in atl1_xmit_frame()