Lines Matching refs:ptpd
2099 struct tx_packet_desc *ptpd) in atl1_tso() argument
2125 ptpd->word3 |= (iph->ihl & TPD_IPHL_MASK) << in atl1_tso()
2127 ptpd->word3 |= ((tcp_hdrlen(skb) >> 2) & in atl1_tso()
2130 ptpd->word3 |= 1 << TPD_IP_CSUM_SHIFT; in atl1_tso()
2131 ptpd->word3 |= 1 << TPD_TCP_CSUM_SHIFT; in atl1_tso()
2141 ptpd->word3 |= 1 << TPD_ETHTYPE_SHIFT; in atl1_tso()
2145 ptpd->word3 |= (iph->ihl & TPD_IPHL_MASK) << in atl1_tso()
2147 ptpd->word3 |= ((tcp_hdrlen(skb) >> 2) & in atl1_tso()
2149 ptpd->word3 |= (skb_shinfo(skb)->gso_size & in atl1_tso()
2151 ptpd->word3 |= 1 << TPD_SEGMENT_EN_SHIFT; in atl1_tso()
2159 struct tx_packet_desc *ptpd) in atl1_tx_csum() argument
2173 ptpd->word3 |= (css & TPD_PLOADOFFSET_MASK) << in atl1_tx_csum()
2175 ptpd->word3 |= (cso & TPD_CCSUMOFFSET_MASK) << in atl1_tx_csum()
2177 ptpd->word3 |= 1 << TPD_CUST_CSUM_EN_SHIFT; in atl1_tx_csum()
2184 struct tx_packet_desc *ptpd) in atl1_tx_map() argument
2206 retval = (ptpd->word3 >> TPD_SEGMENT_EN_SHIFT) & TPD_SEGMENT_EN_MASK; in atl1_tx_map()
2288 struct tx_packet_desc *ptpd) in atl1_tx_queue() argument
2300 if (tpd != ptpd) in atl1_tx_queue()
2301 memcpy(tpd, ptpd, sizeof(struct tx_packet_desc)); in atl1_tx_queue()
2346 struct tx_packet_desc *ptpd; in atl1_xmit_frame() local
2393 ptpd = ATL1_TPD_DESC(tpd_ring, in atl1_xmit_frame()
2395 memset(ptpd, 0, sizeof(struct tx_packet_desc)); in atl1_xmit_frame()
2401 ptpd->word3 |= 1 << TPD_INS_VL_TAG_SHIFT; in atl1_xmit_frame()
2402 ptpd->word2 |= (vlan_tag & TPD_VLANTAG_MASK) << in atl1_xmit_frame()
2406 tso = atl1_tso(adapter, skb, ptpd); in atl1_xmit_frame()
2413 ret_val = atl1_tx_csum(adapter, skb, ptpd); in atl1_xmit_frame()
2420 atl1_tx_map(adapter, skb, ptpd); in atl1_xmit_frame()
2421 atl1_tx_queue(adapter, count, ptpd); in atl1_xmit_frame()