Lines Matching refs:NUM_RX_DESC
87 #define NUM_RX_DESC CONFIG_SYS_RX_ETH_BUFFER macro
89 #define NUM_RX_DESC 4 /* Number of Rx descriptor registers */ macro
323 DEFINE_ALIGN_BUFFER(u8, rxb, NUM_RX_DESC * RX_BUF_SIZE, RTL8169_ALIGN);
335 unsigned char *RxBufferRing[NUM_RX_DESC]; /* Index of Rx Buffer array */
543 if (cur_rx == NUM_RX_DESC - 1) in rtl_recv_common()
569 cur_rx = (cur_rx + 1) % NUM_RX_DESC; in rtl_recv_common()
819 memset(tpc->RxDescArray, 0x0, NUM_RX_DESC * sizeof(struct RxDesc)); in rtl8169_init_ring()
825 for (i = 0; i < NUM_RX_DESC; i++) { in rtl8169_init_ring()
826 if (i == (NUM_RX_DESC - 1)) in rtl8169_init_ring()
926 for (i = 0; i < NUM_RX_DESC; i++) { in rtl_halt_common()
1088 tpc->RxDescArray = rtl_alloc_descs(NUM_RX_DESC); in rtl_init()