Searched refs:sarc_type (Results 1 – 6 of 6) sorted by relevance
296 static void dwxgmac2_set_sarc(struct dma_desc *p, u32 sarc_type) in dwxgmac2_set_sarc() argument298 sarc_type <<= XGMAC_TDES3_SAIC_SHIFT; in dwxgmac2_set_sarc()300 p->des3 |= cpu_to_le32(sarc_type & XGMAC_TDES3_SAIC); in dwxgmac2_set_sarc()
473 static void dwmac4_set_sarc(struct dma_desc *p, u32 sarc_type) in dwmac4_set_sarc() argument475 sarc_type <<= TDES3_SA_INSERT_CTRL_SHIFT; in dwmac4_set_sarc()477 p->des3 |= cpu_to_le32(sarc_type & TDES3_SA_INSERT_CTRL_MASK); in dwmac4_set_sarc()
222 u32 sarc_type; member
1184 priv->sarc_type = 0x1; in stmmac_test_desc_sai()1188 priv->sarc_type = 0x0; in stmmac_test_desc_sai()1205 priv->sarc_type = 0x2; in stmmac_test_desc_sar()1209 priv->sarc_type = 0x0; in stmmac_test_desc_sar()
95 void (*set_sarc)(struct dma_desc *p, u32 sarc_type);
4309 if (priv->sarc_type) in stmmac_tso_xmit()4310 stmmac_set_desc_sarc(priv, first, priv->sarc_type); in stmmac_tso_xmit()4581 if (priv->sarc_type) in stmmac_xmit()4582 stmmac_set_desc_sarc(priv, first, priv->sarc_type); in stmmac_xmit()