Lines Matching refs:des2
44 return (le32_to_cpu(p->des2) & XGMAC_TDES2_B1L); in dwxgmac2_get_tx_len()
77 p->des2 |= cpu_to_le32(XGMAC_TDES2_TTSE); in dwxgmac2_enable_tx_timestamp()
139 p->des2 = 0; in dwxgmac2_init_tx_desc()
149 p->des2 |= cpu_to_le32(len & XGMAC_TDES2_B1L); in dwxgmac2_prepare_tx_desc()
189 p->des2 |= cpu_to_le32(len1 & XGMAC_TDES2_B1L); in dwxgmac2_prepare_tso_tx_desc()
191 p->des2 |= cpu_to_le32((len2 << XGMAC_TDES2_B2L_SHIFT) & in dwxgmac2_prepare_tso_tx_desc()
225 p->des2 = 0; in dwxgmac2_release_tx_desc()
231 p->des2 |= cpu_to_le32(XGMAC_TDES2_IOC); in dwxgmac2_set_tx_ic()
238 p->des2 = cpu_to_le32(mss); in dwxgmac2_set_mss()
257 p->des2 = 0; in dwxgmac2_clear()
292 *len = le32_to_cpu(p->des2) & XGMAC_RDES2_HL; in dwxgmac2_get_rx_header_len()
297 p->des2 = cpu_to_le32(lower_32_bits(addr)); in dwxgmac2_set_sec_addr()
313 p->des2 = 0; in dwxgmac2_set_vlan_tag()
321 p->des2 = cpu_to_le32(des); in dwxgmac2_set_vlan_tag()
338 p->des2 |= cpu_to_le32(type & XGMAC_TDES2_VTIR); in dwxgmac2_set_vlan()