Lines Matching refs:flow_ctrl
82 static int flow_ctrl = FLOW_OFF; variable
83 module_param(flow_ctrl, int, S_IRUGO | S_IWUSR);
84 MODULE_PARM_DESC(flow_ctrl, "Flow control ability [on/off]");
141 if (unlikely(flow_ctrl > 1)) in stmmac_verify_args()
142 flow_ctrl = FLOW_AUTO; in stmmac_verify_args()
143 else if (likely(flow_ctrl < 0)) in stmmac_verify_args()
144 flow_ctrl = FLOW_OFF; in stmmac_verify_args()
693 unsigned int fc = priv->flow_ctrl, pause_time = priv->pause; in stmmac_adjust_link()
715 priv->hw->mac->flow_ctrl(priv->hw, phydev->duplex, in stmmac_adjust_link()
2902 if (flow_ctrl) in stmmac_dvr_probe()
2903 priv->flow_ctrl = FLOW_AUTO; /* RX/TX pause on */ in stmmac_dvr_probe()
3133 if (kstrtoint(opt + 10, 0, &flow_ctrl)) in stmmac_cmdline_opt()