Lines Matching refs:des2
79 unsigned int rdes2 = le32_to_cpu(p->des2); in dwmac4_wrback_get_rx_status()
178 return (le32_to_cpu(p->des2) & TDES2_BUFFER1_SIZE_MASK); in dwmac4_rd_get_tx_len()
212 p->des2 |= cpu_to_le32(TDES2_TIMESTAMP_ENABLE); in dwmac4_rd_enable_tx_timestamp()
307 p->des2 = 0; in dwmac4_rd_init_tx_desc()
317 p->des2 |= cpu_to_le32(len & TDES2_BUFFER1_SIZE_MASK); in dwmac4_rd_prepare_tx_desc()
357 p->des2 |= cpu_to_le32((len1 & TDES2_BUFFER1_SIZE_MASK)); in dwmac4_rd_prepare_tso_tx_desc()
360 p->des2 |= cpu_to_le32((len2 << TDES2_BUFFER2_SIZE_MASK_SHIFT) in dwmac4_rd_prepare_tso_tx_desc()
396 p->des2 = 0; in dwmac4_release_tx_desc()
402 p->des2 |= cpu_to_le32(TDES2_INTERRUPT_ON_COMPLETION); in dwmac4_rd_set_tx_ic()
421 le32_to_cpu(p->des2), le32_to_cpu(p->des3)); in dwmac4_display_ring()
432 le32_to_cpu(extp->basic.des2), le32_to_cpu(extp->basic.des3), in dwmac4_display_ring()
447 le32_to_cpu(ep->basic.des2), le32_to_cpu(ep->basic.des3)); in dwmac4_display_ring()
459 p->des2 = cpu_to_le32(mss); in dwmac4_set_mss_ctxt()
478 p->des2 = 0; in dwmac4_clear()
503 p->des2 = 0; in dwmac4_set_vlan_tag()
511 p->des2 = cpu_to_le32(des); in dwmac4_set_vlan_tag()
528 p->des2 |= cpu_to_le32(type & TDES2_VLAN_TAG_MASK); in dwmac4_set_vlan()
533 *len = le32_to_cpu(p->des2) & RDES2_HL; in dwmac4_get_rx_header_len()
538 p->des2 = cpu_to_le32(lower_32_bits(addr)); in dwmac4_set_sec_addr()