Lines Matching refs:ethadv_cfg
680 static u32 ethadv_to_hw_cfg(struct alx_hw *hw, u32 ethadv_cfg) in ethadv_to_hw_cfg() argument
684 if (ethadv_cfg & ADVERTISED_Autoneg) { in ethadv_to_hw_cfg()
686 if (ethadv_cfg & ADVERTISED_10baseT_Half) in ethadv_to_hw_cfg()
688 if (ethadv_cfg & ADVERTISED_10baseT_Full) in ethadv_to_hw_cfg()
690 if (ethadv_cfg & ADVERTISED_100baseT_Half) in ethadv_to_hw_cfg()
692 if (ethadv_cfg & ADVERTISED_100baseT_Full) in ethadv_to_hw_cfg()
694 if (ethadv_cfg & ADVERTISED_1000baseT_Half) in ethadv_to_hw_cfg()
696 if (ethadv_cfg & ADVERTISED_1000baseT_Full) in ethadv_to_hw_cfg()
698 if (ethadv_cfg & ADVERTISED_Pause) in ethadv_to_hw_cfg()
700 if (ethadv_cfg & ADVERTISED_Asym_Pause) in ethadv_to_hw_cfg()
703 switch (ethadv_cfg) { in ethadv_to_hw_cfg()