Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/natsemi/
Dsonic.c129 dma_unmap_single(lp->device, lp->rx_laddr[i], SONIC_RBSIZE, DMA_FROM_DEVICE); in sonic_open()
130 lp->rx_laddr[i] = (dma_addr_t)0; in sonic_open()
140 lp->rx_laddr[i] = laddr; in sonic_open()
210 if(lp->rx_laddr[i]) { in sonic_close()
211 dma_unmap_single(lp->device, lp->rx_laddr[i], SONIC_RBSIZE, DMA_FROM_DEVICE); in sonic_close()
212 lp->rx_laddr[i] = (dma_addr_t)0; in sonic_close()
492 if (addr == lp->rx_laddr[i]) in index_from_addr()
597 lp->rx_laddr[i] = new_laddr; in sonic_rx()
742 u16 bufadr_l = (unsigned long)lp->rx_laddr[i] & 0xffff; in sonic_init()
743 u16 bufadr_h = (unsigned long)lp->rx_laddr[i] >> 16; in sonic_init()
Dsonic.h318 dma_addr_t rx_laddr[SONIC_NUM_RRS]; /* logical DMA addresses of rx skbuffs */ member