Lines Matching refs:RX_DESCS
38 #define RX_DESCS 16 /* also length of all RX queues */ macro
41 #define POOL_ALLOC_SIZE (sizeof(struct desc) * (RX_DESCS + TX_DESCS))
260 buffer_t *rx_buff_tab[RX_DESCS], *tx_buff_tab[TX_DESCS];
317 ((n) + RX_DESCS) * sizeof(struct desc))
318 #define tx_desc_ptr(port, n) (&(port)->desc_tab[(n) + RX_DESCS])
593 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc()
918 err = qmgr_request_queue(queue_ids[port->id].rxfree, RX_DESCS, 0, 0, in request_hdlc_queues()
923 err = qmgr_request_queue(queue_ids[port->id].rx, RX_DESCS, 0, 0, in request_hdlc_queues()
985 for (i = 0; i < RX_DESCS; i++) { in init_hdlc_queues()
1016 for (i = 0; i < RX_DESCS; i++) { in destroy_hdlc_queues()
1074 for (i = 0; i < RX_DESCS; i++) in hss_hdlc_open()
1113 int i, buffs = RX_DESCS; /* allocated RX buffers */ in hss_hdlc_close()