Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/
Denh_desc.c19 unsigned int tdes0 = le32_to_cpu(p->des0); in enh_desc_get_tx_status()
123 unsigned int rdes0 = le32_to_cpu(p->basic.des0); in enh_desc_get_ext_status()
188 unsigned int rdes0 = le32_to_cpu(p->des0); in enh_desc_get_rx_status()
262 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.c19 unsigned int tdes0 = le32_to_cpu(p->des0); in ndesc_get_tx_status()
77 unsigned int rdes0 = le32_to_cpu(p->des0); in ndesc_get_rx_status()
130 p->des0 |= cpu_to_le32(RDES0_OWN); in ndesc_init_rx_desc()
146 p->des0 &= cpu_to_le32(~TDES0_OWN); in ndesc_init_tx_desc()
155 return (le32_to_cpu(p->des0) & TDES0_OWN) >> 31; in ndesc_get_tx_owner()
160 p->des0 |= cpu_to_le32(TDES0_OWN); in ndesc_set_tx_owner()
165 p->des0 |= cpu_to_le32(RDES0_OWN); in ndesc_set_rx_owner()
211 p->des0 |= cpu_to_le32(TDES0_OWN); in ndesc_prepare_tx_desc()
232 return (((le32_to_cpu(p->des0) & RDES0_FRAME_LEN_MASK) in ndesc_get_rx_frame_len()
245 return (le32_to_cpu(p->des0) & TDES0_TIME_STAMP_STATUS) >> 17; in ndesc_get_tx_timestamp_status()
Ddwxgmac2_descs.c91 ns += le32_to_cpu(p->des0); in dwxgmac2_get_timestamp()
108 if ((p->des0 == 0xffffffff) && (p->des1 == 0xffffffff)) in dwxgmac2_rx_check_timestamp()
137 p->des0 = 0; in dwxgmac2_init_tx_desc()
223 p->des0 = 0; in dwxgmac2_release_tx_desc()
236 p->des0 = 0; in dwxgmac2_set_mss()
244 p->des0 = cpu_to_le32(lower_32_bits(addr)); in dwxgmac2_set_addr()
250 p->des0 = 0; in dwxgmac2_clear()
306 p->des0 = 0; in dwxgmac2_set_vlan_tag()
Ddwmac4_descs.c235 ns = le32_to_cpu(p->des0); in dwmac4_get_timestamp()
245 unsigned int rdes0 = le32_to_cpu(p->des0); in dwmac4_rx_check_timestamp()
307 p->des0 = 0; in dwmac4_rd_init_tx_desc()
396 p->des0 = 0; in dwmac4_release_tx_desc()
422 le32_to_cpu(p->des0), le32_to_cpu(p->des1), in dwmac4_display_ring()
433 le32_to_cpu(extp->basic.des0), le32_to_cpu(extp->basic.des1), in dwmac4_display_ring()
448 le32_to_cpu(ep->basic.des0), le32_to_cpu(ep->basic.des1), in dwmac4_display_ring()
459 p->des0 = 0; in dwmac4_set_mss_ctxt()
467 p->des0 = cpu_to_le32(lower_32_bits(addr)); in dwmac4_set_addr()
473 p->des0 = 0; in dwmac4_clear()
[all …]
Ddescs_com.h37 p->des0 |= cpu_to_le32(ETDES0_END_RING); in enh_desc_end_tx_desc_on_ring()
39 p->des0 &= cpu_to_le32(~ETDES0_END_RING); in enh_desc_end_tx_desc_on_ring()
98 p->des0 |= cpu_to_le32(ETDES0_SECOND_ADDRESS_CHAINED); in enh_desc_end_tx_desc_on_chain()
Ddescs.h159 __le32 des0; member
Dstmmac_main.c3874 desc->des0 = cpu_to_le32(curr_addr); in stmmac_tso_allocator()
4032 first->des0 = cpu_to_le32(des); in stmmac_tso_xmit()
5919 le32_to_cpu(ep->basic.des0), in sysfs_display_ring()
5928 le32_to_cpu(p->des0), le32_to_cpu(p->des1), in sysfs_display_ring()
/linux-5.19.10/drivers/mmc/host/
Ddw_mmc.c66 u32 des0; /* Control Descriptor */ member
87 __le32 des0; /* Control Descriptor */ member
523 p->des0 = 0; in dw_mci_idmac_init()
532 p->des0 = IDMAC_DES0_ER; in dw_mci_idmac_init()
546 p->des0 = 0; in dw_mci_idmac_init()
552 p->des0 = cpu_to_le32(IDMAC_DES0_ER); in dw_mci_idmac_init()
608 if (readl_poll_timeout_atomic(&desc->des0, val, in dw_mci_prepare_desc64()
617 desc->des0 = IDMAC_DES0_OWN | IDMAC_DES0_DIC | in dw_mci_prepare_desc64()
636 desc_first->des0 |= IDMAC_DES0_FD; in dw_mci_prepare_desc64()
639 desc_last->des0 &= ~(IDMAC_DES0_CH | IDMAC_DES0_DIC); in dw_mci_prepare_desc64()
[all …]