Searched refs:sarc_type (Results 1 – 6 of 6) sorted by relevance
301 static void dwxgmac2_set_sarc(struct dma_desc *p, u32 sarc_type) in dwxgmac2_set_sarc() argument303 sarc_type <<= XGMAC_TDES3_SAIC_SHIFT; in dwxgmac2_set_sarc()305 p->des3 |= cpu_to_le32(sarc_type & XGMAC_TDES3_SAIC); in dwxgmac2_set_sarc()
482 static void dwmac4_set_sarc(struct dma_desc *p, u32 sarc_type) in dwmac4_set_sarc() argument484 sarc_type <<= TDES3_SA_INSERT_CTRL_SHIFT; in dwmac4_set_sarc()486 p->des3 |= cpu_to_le32(sarc_type & TDES3_SA_INSERT_CTRL_MASK); in dwmac4_set_sarc()
158 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()
96 void (*set_sarc)(struct dma_desc *p, u32 sarc_type);
3338 if (priv->sarc_type) in stmmac_tso_xmit()3339 stmmac_set_desc_sarc(priv, first, priv->sarc_type); in stmmac_tso_xmit()3578 if (priv->sarc_type) in stmmac_xmit()3579 stmmac_set_desc_sarc(priv, first, priv->sarc_type); in stmmac_xmit()