Lines Matching refs:desc
583 struct dma_desc *desc = p; in stmmac_get_rx_hwtstamp() local
590 desc = np; in stmmac_get_rx_hwtstamp()
594 stmmac_get_timestamp(priv, desc, priv->adv_ts, &ns); in stmmac_get_rx_hwtstamp()
4026 struct dma_desc *desc; in stmmac_tso_allocator() local
4040 desc = &tx_q->dma_entx[tx_q->cur_tx].basic; in stmmac_tso_allocator()
4042 desc = &tx_q->dma_tx[tx_q->cur_tx]; in stmmac_tso_allocator()
4046 desc->des0 = cpu_to_le32(curr_addr); in stmmac_tso_allocator()
4048 stmmac_set_desc_addr(priv, desc, curr_addr); in stmmac_tso_allocator()
4053 stmmac_prepare_tso_tx_desc(priv, desc, 0, buff_size, in stmmac_tso_allocator()
4113 struct dma_desc *desc, *first, *mss_desc = NULL; in stmmac_tso_xmit() local
4186 desc = &tx_q->dma_entx[first_entry].basic; in stmmac_tso_xmit()
4188 desc = &tx_q->dma_tx[first_entry]; in stmmac_tso_xmit()
4189 first = desc; in stmmac_tso_xmit()
4278 desc = &tx_q->dma_entx[tx_q->cur_tx].basic; in stmmac_tso_xmit()
4280 desc = &tx_q->dma_tx[tx_q->cur_tx]; in stmmac_tso_xmit()
4283 stmmac_set_tx_ic(priv, desc); in stmmac_tso_xmit()
4400 struct dma_desc *desc, *first; in stmmac_xmit() local
4457 desc = (struct dma_desc *)(tx_q->dma_etx + entry); in stmmac_xmit()
4459 desc = &tx_q->dma_entx[entry].basic; in stmmac_xmit()
4461 desc = tx_q->dma_tx + entry; in stmmac_xmit()
4463 first = desc; in stmmac_xmit()
4488 desc = (struct dma_desc *)(tx_q->dma_etx + entry); in stmmac_xmit()
4490 desc = &tx_q->dma_entx[entry].basic; in stmmac_xmit()
4492 desc = tx_q->dma_tx + entry; in stmmac_xmit()
4501 stmmac_set_desc_addr(priv, desc, des); in stmmac_xmit()
4509 stmmac_prepare_tx_desc(priv, desc, 0, len, csum_insertion, in stmmac_xmit()
4539 desc = &tx_q->dma_etx[entry].basic; in stmmac_xmit()
4541 desc = &tx_q->dma_entx[entry].basic; in stmmac_xmit()
4543 desc = &tx_q->dma_tx[entry]; in stmmac_xmit()
4546 stmmac_set_tx_ic(priv, desc); in stmmac_xmit()
5210 ctx->desc = p; in stmmac_rx_zc()
5425 ctx.desc = p; in stmmac_rx()
7300 struct dma_desc *desc_contains_ts = ctx->desc; in stmmac_xdp_rx_timestamp()
7303 struct dma_desc *desc = ctx->desc; in stmmac_xdp_rx_timestamp() local
7314 if (stmmac_get_rx_timestamp_status(priv, desc, ndesc, priv->adv_ts)) { in stmmac_xdp_rx_timestamp()