Lines Matching refs:des2
77 unsigned int rdes2 = le32_to_cpu(p->des2); in dwmac4_wrback_get_rx_status()
174 return (le32_to_cpu(p->des2) & TDES2_BUFFER1_SIZE_MASK); in dwmac4_rd_get_tx_len()
208 p->des2 |= cpu_to_le32(TDES2_TIMESTAMP_ENABLE); in dwmac4_rd_enable_tx_timestamp()
303 p->des2 = 0; in dwmac4_rd_init_tx_desc()
313 p->des2 |= cpu_to_le32(len & TDES2_BUFFER1_SIZE_MASK); in dwmac4_rd_prepare_tx_desc()
353 p->des2 |= cpu_to_le32((len1 & TDES2_BUFFER1_SIZE_MASK)); in dwmac4_rd_prepare_tso_tx_desc()
356 p->des2 |= cpu_to_le32((len2 << TDES2_BUFFER2_SIZE_MASK_SHIFT) in dwmac4_rd_prepare_tso_tx_desc()
392 p->des2 = 0; in dwmac4_release_tx_desc()
398 p->des2 |= cpu_to_le32(TDES2_INTERRUPT_ON_COMPLETION); in dwmac4_rd_set_tx_ic()
417 le32_to_cpu(p->des2), le32_to_cpu(p->des3)); in dwmac4_display_ring()
428 le32_to_cpu(extp->basic.des2), le32_to_cpu(extp->basic.des3), in dwmac4_display_ring()
443 le32_to_cpu(ep->basic.des2), le32_to_cpu(ep->basic.des3)); in dwmac4_display_ring()
455 p->des2 = cpu_to_le32(mss); in dwmac4_set_mss_ctxt()
469 p->des2 = 0; in dwmac4_clear()
494 p->des2 = 0; in dwmac4_set_vlan_tag()
502 p->des2 = cpu_to_le32(des); in dwmac4_set_vlan_tag()
519 p->des2 |= cpu_to_le32(type & TDES2_VLAN_TAG_MASK); in dwmac4_set_vlan()
524 *len = le32_to_cpu(p->des2) & RDES2_HL; in dwmac4_get_rx_header_len()
529 p->des2 = cpu_to_le32(lower_32_bits(addr)); in dwmac4_set_sec_addr()