Searched refs:desc_base (Results 1 – 1 of 1) sorted by relevance
274 void *desc_base = priv->tx_desc_base + priv->tx_index * DMA_DESC_SIZE; in bcmgenet_gmac_eth_send() local294 writel(lower_32_bits((ulong)packet), (desc_base + DMA_DESC_ADDRESS_LO)); in bcmgenet_gmac_eth_send()295 writel(upper_32_bits((ulong)packet), (desc_base + DMA_DESC_ADDRESS_HI)); in bcmgenet_gmac_eth_send()296 writel(len_stat, (desc_base + DMA_DESC_LENGTH_STATUS)); in bcmgenet_gmac_eth_send()337 void *desc_base = priv->rx_desc_base + priv->rx_index * DMA_DESC_SIZE; in bcmgenet_gmac_eth_recv() local344 length = readl(desc_base + DMA_DESC_LENGTH_STATUS); in bcmgenet_gmac_eth_recv()346 addr = readl(desc_base + DMA_DESC_ADDRESS_LO); in bcmgenet_gmac_eth_recv()379 void *desc_base = priv->rx_desc_base; in rx_descs_init() local385 desc_base + i * DMA_DESC_SIZE + DMA_DESC_ADDRESS_LO); in rx_descs_init()387 desc_base + i * DMA_DESC_SIZE + DMA_DESC_ADDRESS_HI); in rx_descs_init()[all …]
Completed in 7 milliseconds