Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/fm/
H A Deth.c222 void *rx_buf_pool; in fm_eth_rx_port_parameter_init() local
262 rx_buf_pool = malloc(MAX_RXBUF_LEN * RX_BD_RING_SIZE); in fm_eth_rx_port_parameter_init()
263 if (!rx_buf_pool) in fm_eth_rx_port_parameter_init()
266 memset(rx_buf_pool, 0, MAX_RXBUF_LEN * RX_BD_RING_SIZE); in fm_eth_rx_port_parameter_init()
267 debug("%s: rx_buf_pool = %p\n", __func__, rx_buf_pool); in fm_eth_rx_port_parameter_init()
272 fm_eth->rx_buf = rx_buf_pool; in fm_eth_rx_port_parameter_init()
279 buf_hi = upper_32_bits(virt_to_phys(rx_buf_pool + in fm_eth_rx_port_parameter_init()
281 buf_lo = lower_32_bits(virt_to_phys(rx_buf_pool + in fm_eth_rx_port_parameter_init()
/openbmc/linux/drivers/mailbox/
H A Dbcm-pdc-mailbox.c314 struct dma_pool *rx_buf_pool; member
660 dma_pool_free(pdcs->rx_buf_pool, resp_hdr, resp_hdr_daddr); in pdc_receive_one()
832 vaddr = dma_pool_zalloc(pdcs->rx_buf_pool, GFP_ATOMIC, &daddr); in pdc_rx_list_init()
1365 pdcs->rx_buf_pool = dma_pool_create("pdc rx bufs", dev, in pdc_rx_buf_pool_create()
1368 if (!pdcs->rx_buf_pool) in pdc_rx_buf_pool_create()
1603 dma_pool_destroy(pdcs->rx_buf_pool); in pdc_probe()
1622 dma_pool_destroy(pdcs->rx_buf_pool); in pdc_remove()