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()
479 static void dwmac4_set_sarc(struct dma_desc *p, u32 sarc_type) in dwmac4_set_sarc() argument481 sarc_type <<= TDES3_SA_INSERT_CTRL_SHIFT; in dwmac4_set_sarc()483 p->des3 |= cpu_to_le32(sarc_type & TDES3_SA_INSERT_CTRL_MASK); in dwmac4_set_sarc()
202 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()
94 void (*set_sarc)(struct dma_desc *p, u32 sarc_type);
4118 if (priv->sarc_type) in stmmac_tso_xmit()4119 stmmac_set_desc_sarc(priv, first, priv->sarc_type); in stmmac_tso_xmit()4349 if (priv->sarc_type) in stmmac_xmit()4350 stmmac_set_desc_sarc(priv, first, priv->sarc_type); in stmmac_xmit()