Home
last modified time | relevance | path

Searched refs:des0 (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Denh_desc.c29 unsigned int tdes0 = le32_to_cpu(p->des0); in enh_desc_get_tx_status()
133 unsigned int rdes0 = le32_to_cpu(p->basic.des0); in enh_desc_get_ext_status()
198 unsigned int rdes0 = le32_to_cpu(p->des0); in enh_desc_get_rx_status()
264 p->des0 |= cpu_to_le32(RDES0_OWN); in enh_desc_init_rx_desc()
278 p->des0 &= cpu_to_le32(~ETDES0_OWN); in enh_desc_init_tx_desc()
287 return (le32_to_cpu(p->des0) & ETDES0_OWN) >> 31; in enh_desc_get_tx_owner()
292 p->des0 |= cpu_to_le32(ETDES0_OWN); in enh_desc_set_tx_owner()
297 p->des0 |= cpu_to_le32(RDES0_OWN); in enh_desc_set_rx_owner()
302 return (le32_to_cpu(p->des0) & ETDES0_LAST_SEGMENT) >> 29; in enh_desc_get_tx_ls()
307 int ter = (le32_to_cpu(p->des0) & ETDES0_END_RING) >> 21; in enh_desc_release_tx_desc()
[all …]
Dnorm_desc.c29 unsigned int tdes0 = le32_to_cpu(p->des0); in ndesc_get_tx_status()
87 unsigned int rdes0 = le32_to_cpu(p->des0); in ndesc_get_rx_status()
140 p->des0 |= cpu_to_le32(RDES0_OWN); in ndesc_init_rx_desc()
154 p->des0 &= cpu_to_le32(~TDES0_OWN); in ndesc_init_tx_desc()
163 return (le32_to_cpu(p->des0) & TDES0_OWN) >> 31; in ndesc_get_tx_owner()
168 p->des0 |= cpu_to_le32(TDES0_OWN); in ndesc_set_tx_owner()
173 p->des0 |= cpu_to_le32(RDES0_OWN); in ndesc_set_rx_owner()
219 p->des0 |= cpu_to_le32(TDES0_OWN); in ndesc_prepare_tx_desc()
240 return (((le32_to_cpu(p->des0) & RDES0_FRAME_LEN_MASK) in ndesc_get_rx_frame_len()
253 return (le32_to_cpu(p->des0) & TDES0_TIME_STAMP_STATUS) >> 17; in ndesc_get_tx_timestamp_status()
Ddwxgmac2_descs.c90 ns += le32_to_cpu(p->des0); in dwxgmac2_get_timestamp()
133 p->des0 = 0; in dwxgmac2_init_tx_desc()
219 p->des0 = 0; in dwxgmac2_release_tx_desc()
232 p->des0 = 0; in dwxgmac2_set_mss()
240 *addr = le32_to_cpu(p->des0); in dwxgmac2_get_addr()
245 p->des0 = cpu_to_le32(addr); in dwxgmac2_set_addr()
251 p->des0 = 0; in dwxgmac2_clear()
Ddwmac4_descs.c234 ns = le32_to_cpu(p->des0); in dwmac4_get_timestamp()
252 if ((p->des0 == 0xffffffff) && (p->des1 == 0xffffffff)) in dwmac4_rx_check_timestamp()
303 p->des0 = 0; in dwmac4_rd_init_tx_desc()
392 p->des0 = 0; in dwmac4_release_tx_desc()
413 le32_to_cpu(p->des0), le32_to_cpu(p->des1), in dwmac4_display_ring()
421 p->des0 = 0; in dwmac4_set_mss_ctxt()
429 *addr = le32_to_cpu(p->des0); in dwmac4_get_addr()
434 p->des0 = cpu_to_le32(addr); in dwmac4_set_addr()
440 p->des0 = 0; in dwmac4_clear()
Ddescs_com.h45 p->des0 |= cpu_to_le32(ETDES0_END_RING); in enh_desc_end_tx_desc_on_ring()
47 p->des0 &= cpu_to_le32(~ETDES0_END_RING); in enh_desc_end_tx_desc_on_ring()
102 p->des0 |= cpu_to_le32(ETDES0_SECOND_ADDRESS_CHAINED); in enh_desc_end_tx_desc_on_chain()
Ddescs.h169 __le32 des0; member
Dstmmac_main.c2791 desc->des0 = cpu_to_le32(des + (total_len - tmp_len)); in stmmac_tso_allocator()
2898 first->des0 = cpu_to_le32(des); in stmmac_tso_xmit()
3875 le32_to_cpu(ep->basic.des0), in sysfs_display_ring()
3883 le32_to_cpu(p->des0), le32_to_cpu(p->des1), in sysfs_display_ring()
/Linux-v4.19/drivers/mmc/host/
Ddw_mmc.c68 u32 des0; /* Control Descriptor */ member
89 __le32 des0; /* Control Descriptor */ member
543 p->des0 = 0; in dw_mci_idmac_init()
552 p->des0 = IDMAC_DES0_ER; in dw_mci_idmac_init()
566 p->des0 = 0; in dw_mci_idmac_init()
572 p->des0 = cpu_to_le32(IDMAC_DES0_ER); in dw_mci_idmac_init()
628 if (readl_poll_timeout_atomic(&desc->des0, val, in dw_mci_prepare_desc64()
637 desc->des0 = IDMAC_DES0_OWN | IDMAC_DES0_DIC | in dw_mci_prepare_desc64()
656 desc_first->des0 |= IDMAC_DES0_FD; in dw_mci_prepare_desc64()
659 desc_last->des0 &= ~(IDMAC_DES0_CH | IDMAC_DES0_DIC); in dw_mci_prepare_desc64()
[all …]