Lines Matching refs:des0
19 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()
320 unsigned int tdes0 = le32_to_cpu(p->des0); in enh_desc_prepare_tx_desc()
351 p->des0 = cpu_to_le32(tdes0); in enh_desc_prepare_tx_desc()
356 p->des0 |= cpu_to_le32(ETDES0_INTERRUPT); in enh_desc_set_tx_ic()
371 return (((le32_to_cpu(p->des0) & RDES0_FRAME_LEN_MASK) in enh_desc_get_rx_frame_len()
377 p->des0 |= cpu_to_le32(ETDES0_TIME_STAMP_ENABLE); in enh_desc_enable_tx_timestamp()
382 return (le32_to_cpu(p->des0) & ETDES0_TIME_STAMP_STATUS) >> 17; in enh_desc_get_tx_timestamp_status()
408 return (le32_to_cpu(p->basic.des0) & RDES0_IPC_CSUM_ERROR) >> 7; in enh_desc_get_rx_timestamp_status()