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()
448 static void dwmac4_set_sarc(struct dma_desc *p, u32 sarc_type) in dwmac4_set_sarc() argument450 sarc_type <<= TDES3_SA_INSERT_CTRL_SHIFT; in dwmac4_set_sarc()452 p->des3 |= cpu_to_le32(sarc_type & TDES3_SA_INSERT_CTRL_MASK); in dwmac4_set_sarc()
158 u32 sarc_type; member
1185 priv->sarc_type = 0x1; in stmmac_test_desc_sai()1189 priv->sarc_type = 0x0; in stmmac_test_desc_sai()1206 priv->sarc_type = 0x2; in stmmac_test_desc_sar()1210 priv->sarc_type = 0x0; in stmmac_test_desc_sar()
95 void (*set_sarc)(struct dma_desc *p, u32 sarc_type);
3233 if (priv->sarc_type) in stmmac_tso_xmit()3234 stmmac_set_desc_sarc(priv, first, priv->sarc_type); in stmmac_tso_xmit()3473 if (priv->sarc_type) in stmmac_xmit()3474 stmmac_set_desc_sarc(priv, first, priv->sarc_type); in stmmac_xmit()