Lines Matching refs:desc0
1044 desc->desc0.own = 1; in dnet_set_addr()
1402 ASSERT(ring[index].desc0.own == 0); in dnet_send()
1403 *(uint32_t *)&ring[index].desc0 = 0; in dnet_send()
1457 ring[index].desc0.own = 1; in dnet_send()
1459 ring[start_index].desc0.own = 1; in dnet_send()
1603 while (!(desc[dnetp->rx_current_desc].desc0.own)) { in dnet_getp()
1609 ASSERT(desc[index].desc0.first_desc != 0); in dnet_getp()
1620 } while (!(dnetp->rx_desc[marker].desc0.own) && in dnet_getp()
1648 while (!(dnetp->rx_desc[index].desc0.own)) { in dnet_getp()
1649 dnetp->rx_desc[index].desc0.own = 1; in dnet_getp()
1673 while (desc[index].desc0.last_desc == 0) { in dnet_getp()
1675 if (desc[index].desc0.own) in dnet_getp()
1679 desc[dnetp->rx_current_desc].desc0.own = 1; in dnet_getp()
1688 packet_length = desc[index].desc0.frame_len; in dnet_getp()
1715 if (!desc[index].desc0.err_summary || in dnet_getp()
1716 (desc[index].desc0.frame2long && in dnet_getp()
1750 if ((desc[index].desc0.err_summary && in dnet_getp()
1754 if (desc[index].desc0.err_summary) in dnet_getp()
1762 desc[index].desc0.own = 1; in dnet_getp()
1799 desc[dnetp->rx_current_desc].desc0.own = 1; in dnet_getp()
1831 if (descp->desc0.overflow) { in update_rx_stats()
1836 if (descp->desc0.collision) { in update_rx_stats()
1842 if (descp->desc0.crc) { in update_rx_stats()
1847 if (descp->desc0.runt_frame) { in update_rx_stats()
1852 if (descp->desc0.desc_err) { in update_rx_stats()
1858 if (descp->desc0.frame2long) { in update_rx_stats()
1886 if (descp->desc0.collision_count && !fd) { in update_tx_stats()
1887 dnetp->stat_collisions += descp->desc0.collision_count; in update_tx_stats()
1890 if (descp->desc0.late_collision && !fd) { in update_tx_stats()
1894 if (descp->desc0.excess_collision && !fd) { in update_tx_stats()
1898 if (descp->desc0.underflow) { in update_tx_stats()
1903 if (descp->desc0.tx_jabber_to) { in update_tx_stats()
1908 if (descp->desc0.carrier_loss && !fd) { in update_tx_stats()
1912 if (descp->desc0.no_carrier && !fd) { in update_tx_stats()
2398 *(uint32_t *)&dnetp->tx_desc[i].desc0 = 0; in dnet_init_txrx_bufs()
2410 *(uint32_t *)&dnetp->rx_desc[i].desc0 = 0; in dnet_init_txrx_bufs()
2412 dnetp->rx_desc[i].desc0.own = 1; in dnet_init_txrx_bufs()
2455 if (ring[index].desc0.own) { in alloc_descriptor()
2472 *(uint32_t *)&ring[index].desc0 = 0; /* init descs */ in alloc_descriptor()
2502 !(desc[index].desc0.own)) { in dnet_reclaim_Tx_desc()
2509 desc[index].desc0.err_summary) in dnet_reclaim_Tx_desc()
3462 desc[bufindex].desc0.own = 1; in send_test_packet()
3472 while (desc[bufindex].desc0.own && --del) in send_test_packet()
3474 if (desc[bufindex].desc0.own) in send_test_packet()
3478 while (desc[bufindex].desc0.own && --del) in send_test_packet()
3485 desc[bufindex].desc0.own, in send_test_packet()
3486 desc[bufindex].desc0.err_summary, in send_test_packet()
3487 desc[bufindex].desc0.carrier_loss, in send_test_packet()
3488 desc[bufindex].desc0.no_carrier, in send_test_packet()
3489 desc[bufindex].desc0.late_collision, in send_test_packet()
3490 desc[bufindex].desc0.link_fail); in send_test_packet()
3492 if (desc[bufindex].desc0.own) /* it shouldn't take this long, error */ in send_test_packet()
3495 return (!desc[bufindex].desc0.err_summary); in send_test_packet()