Home
last modified time | relevance | path

Searched refs:RX_DESCS (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/wan/
Dixp4xx_hss.c47 #define RX_DESCS 16 /* also length of all RX queues */ macro
50 #define POOL_ALLOC_SIZE (sizeof(struct desc) * (RX_DESCS + TX_DESCS))
274 buffer_t *rx_buff_tab[RX_DESCS], *tx_buff_tab[TX_DESCS];
330 ((n) + RX_DESCS) * sizeof(struct desc))
331 #define tx_desc_ptr(port, n) (&(port)->desc_tab[(n) + RX_DESCS])
602 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc()
927 err = qmgr_request_queue(port->rxfreeq, RX_DESCS, 0, 0, in request_hdlc_queues()
932 err = qmgr_request_queue(port->rxq, RX_DESCS, 0, 0, in request_hdlc_queues()
994 for (i = 0; i < RX_DESCS; i++) { in init_hdlc_queues()
1027 for (i = 0; i < RX_DESCS; i++) { in destroy_hdlc_queues()
[all …]
/linux-5.19.10/drivers/net/ethernet/xscale/
Dixp4xx_eth.c59 #define RX_DESCS 64 /* also length of all RX queues */ macro
63 #define POOL_ALLOC_SIZE (sizeof(struct desc) * (RX_DESCS + TX_DESCS))
191 buffer_t *rx_buff_tab[RX_DESCS], *tx_buff_tab[TX_DESCS];
255 ((n) + RX_DESCS) * sizeof(struct desc))
256 #define tx_desc_ptr(port, n) (&(port)->desc_tab[(n) + RX_DESCS])
647 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc()
1053 err = qmgr_request_queue(RXFREE_QUEUE(port->id), RX_DESCS, 0, 0, in request_queues()
1058 err = qmgr_request_queue(port->plat->rxq, RX_DESCS, 0, 0, in request_queues()
1124 for (i = 0; i < RX_DESCS; i++) { in init_queues()
1156 for (i = 0; i < RX_DESCS; i++) { in destroy_queues()
[all …]