Searched refs:RX_DESCS (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/net/wan/ |
| D | ixp4xx_hss.c | 37 #define RX_DESCS 16 /* also length of all RX queues */ macro 40 #define POOL_ALLOC_SIZE (sizeof(struct desc) * (RX_DESCS + TX_DESCS)) 259 buffer_t *rx_buff_tab[RX_DESCS], *tx_buff_tab[TX_DESCS]; 316 ((n) + RX_DESCS) * sizeof(struct desc)) 317 #define tx_desc_ptr(port, n) (&(port)->desc_tab[(n) + RX_DESCS]) 592 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc() 917 err = qmgr_request_queue(queue_ids[port->id].rxfree, RX_DESCS, 0, 0, in request_hdlc_queues() 922 err = qmgr_request_queue(queue_ids[port->id].rx, RX_DESCS, 0, 0, in request_hdlc_queues() 984 for (i = 0; i < RX_DESCS; i++) { in init_hdlc_queues() 1015 for (i = 0; i < RX_DESCS; i++) { in destroy_hdlc_queues() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/xscale/ |
| D | ixp4xx_eth.c | 51 #define RX_DESCS 64 /* also length of all RX queues */ macro 55 #define POOL_ALLOC_SIZE (sizeof(struct desc) * (RX_DESCS + TX_DESCS)) 172 buffer_t *rx_buff_tab[RX_DESCS], *tx_buff_tab[TX_DESCS]; 236 ((n) + RX_DESCS) * sizeof(struct desc)) 237 #define tx_desc_ptr(port, n) (&(port)->desc_tab[(n) + RX_DESCS]) 636 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc() 1044 err = qmgr_request_queue(RXFREE_QUEUE(port->id), RX_DESCS, 0, 0, in request_queues() 1049 err = qmgr_request_queue(port->plat->rxq, RX_DESCS, 0, 0, in request_queues() 1116 for (i = 0; i < RX_DESCS; i++) { in init_queues() 1148 for (i = 0; i < RX_DESCS; i++) { in destroy_queues() [all …]
|