Searched refs:desc_table_p (Results 1 – 2 of 2) sorted by relevance
141 struct dmamacdescr *desc_table_p = &priv->tx_mac_descrtable[0]; in tx_descs_init() local147 desc_p = &desc_table_p[idx]; in tx_descs_init()149 desc_p->dmamac_next = (ulong)&desc_table_p[idx + 1]; in tx_descs_init()167 desc_p->dmamac_next = (ulong)&desc_table_p[0]; in tx_descs_init()174 writel((ulong)&desc_table_p[0], &dma_p->txdesclistaddr); in tx_descs_init()181 struct dmamacdescr *desc_table_p = &priv->rx_mac_descrtable[0]; in rx_descs_init() local195 desc_p = &desc_table_p[idx]; in rx_descs_init()197 desc_p->dmamac_next = (ulong)&desc_table_p[idx + 1]; in rx_descs_init()207 desc_p->dmamac_next = (ulong)&desc_table_p[0]; in rx_descs_init()214 writel((ulong)&desc_table_p[0], &dma_p->rxdesclistaddr); in rx_descs_init()
335 struct emac_dma_desc *desc_table_p = &priv->rx_chain[0]; in rx_descs_init() local345 desc_p = &desc_table_p[idx]; in rx_descs_init()348 desc_p->next = (uintptr_t)&desc_table_p[idx + 1]; in rx_descs_init()354 desc_p->next = (uintptr_t)&desc_table_p[0]; in rx_descs_init()360 writel((uintptr_t)&desc_table_p[0], (priv->mac_reg + EMAC_RX_DMA_DESC)); in rx_descs_init()366 struct emac_dma_desc *desc_table_p = &priv->tx_chain[0]; in tx_descs_init() local372 desc_p = &desc_table_p[idx]; in tx_descs_init()375 desc_p->next = (uintptr_t)&desc_table_p[idx + 1]; in tx_descs_init()381 desc_p->next = (uintptr_t)&desc_table_p[0]; in tx_descs_init()388 writel((uintptr_t)&desc_table_p[0], priv->mac_reg + EMAC_TX_DMA_DESC); in tx_descs_init()