Searched refs:desc_p (Results 1 – 2 of 2) sorted by relevance
144 struct dmamacdescr *desc_p; in tx_descs_init() local148 desc_p = &desc_table_p[idx]; in tx_descs_init()149 desc_p->dmamac_addr = (ulong)&txbuffs[idx * CONFIG_ETH_BUFSIZE]; in tx_descs_init()150 desc_p->dmamac_next = (ulong)&desc_table_p[idx + 1]; in tx_descs_init()153 desc_p->txrx_status &= ~(DESC_TXSTS_TXINT | DESC_TXSTS_TXLAST | in tx_descs_init()158 desc_p->txrx_status |= DESC_TXSTS_TXCHAIN; in tx_descs_init()159 desc_p->dmamac_cntl = 0; in tx_descs_init()160 desc_p->txrx_status &= ~(DESC_TXSTS_MSK | DESC_TXSTS_OWNBYDMA); in tx_descs_init()162 desc_p->dmamac_cntl = DESC_TXCTRL_TXCHAIN; in tx_descs_init()163 desc_p->txrx_status = 0; in tx_descs_init()[all …]
355 struct emac_dma_desc *desc_p; in rx_descs_init() local363 desc_p = &desc_table_p[idx]; in rx_descs_init()364 desc_p->buf_addr = (uintptr_t)&rxbuffs[idx * CONFIG_ETH_BUFSIZE] in rx_descs_init()366 desc_p->next = (uintptr_t)&desc_table_p[idx + 1]; in rx_descs_init()367 desc_p->st |= CONFIG_ETH_RXSIZE; in rx_descs_init()368 desc_p->status = BIT(31); in rx_descs_init()372 desc_p->next = (uintptr_t)&desc_table_p[0]; in rx_descs_init()386 struct emac_dma_desc *desc_p; in tx_descs_init() local390 desc_p = &desc_table_p[idx]; in tx_descs_init()391 desc_p->buf_addr = (uintptr_t)&txbuffs[idx * CONFIG_ETH_BUFSIZE] in tx_descs_init()[all …]