Searched refs:alloc_phys (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-4.19/drivers/net/ethernet/ |
D | ec_bhf.c | 128 dma_addr_t alloc_phys; member 350 buf->alloc = dma_alloc_coherent(dev, buf->alloc_len, &buf->alloc_phys, in ec_bhf_alloc_dma_mem() 357 buf->buf_phys = (buf->alloc_phys + buf->len) & mask; in ec_bhf_alloc_dma_mem() 358 buf->buf = buf->alloc + (buf->buf_phys - buf->alloc_phys); in ec_bhf_alloc_dma_mem() 453 priv->tx_buf.alloc, priv->tx_buf.alloc_phys); in ec_bhf_stop() 455 priv->rx_buf.alloc, priv->rx_buf.alloc_phys); in ec_bhf_stop()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ |
D | ec_bhf.c | 119 dma_addr_t alloc_phys; member 341 buf->alloc = dma_alloc_coherent(dev, buf->alloc_len, &buf->alloc_phys, in ec_bhf_alloc_dma_mem() 348 buf->buf_phys = (buf->alloc_phys + buf->len) & mask; in ec_bhf_alloc_dma_mem() 349 buf->buf = buf->alloc + (buf->buf_phys - buf->alloc_phys); in ec_bhf_alloc_dma_mem() 444 priv->tx_buf.alloc, priv->tx_buf.alloc_phys); in ec_bhf_stop() 446 priv->rx_buf.alloc, priv->rx_buf.alloc_phys); in ec_bhf_stop()
|