Searched refs:desc_tab (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/xscale/ |
H A D | ixp4xx_eth.c | 177 struct desc *desc_tab; /* coherent */ member in struct:port 237 #define rx_desc_ptr(port, n) (&(port)->desc_tab[n]) 241 #define tx_desc_ptr(port, n) (&(port)->desc_tab[(n) + RX_DESCS]) 1133 if (!(port->desc_tab = dma_pool_alloc(dma_pool, GFP_KERNEL, init_queues() 1136 memset(port->desc_tab, 0, POOL_ALLOC_SIZE); init_queues() 1172 if (port->desc_tab) { destroy_queues() 1191 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); destroy_queues() 1192 port->desc_tab = NULL; destroy_queues()
|
/linux-4.4.14/drivers/net/wan/ |
H A D | ixp4xx_hss.c | 263 struct desc *desc_tab; /* coherent */ member in struct:port 316 #define rx_desc_ptr(port, n) (&(port)->desc_tab[n]) 320 #define tx_desc_ptr(port, n) (&(port)->desc_tab[(n) + RX_DESCS]) 979 if (!(port->desc_tab = dma_pool_alloc(dma_pool, GFP_KERNEL, init_hdlc_queues() 982 memset(port->desc_tab, 0, POOL_ALLOC_SIZE); init_hdlc_queues() 1017 if (port->desc_tab) { destroy_hdlc_queues() 1036 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); destroy_hdlc_queues() 1037 port->desc_tab = NULL; destroy_hdlc_queues()
|
Completed in 52 milliseconds