Lines Matching refs:if_mode
116 u16 if_mode; in lynx_pcs_config_sgmii() local
119 if_mode = IF_MODE_SGMII_EN; in lynx_pcs_config_sgmii()
123 if_mode |= IF_MODE_USE_SGMII_AN; in lynx_pcs_config_sgmii()
132 if_mode); in lynx_pcs_config_sgmii()
192 u16 if_mode = 0, sgmii_speed; in lynx_pcs_link_up_sgmii() local
202 if_mode |= IF_MODE_HALF_DUPLEX; in lynx_pcs_link_up_sgmii()
221 if_mode |= IF_MODE_SPEED(sgmii_speed); in lynx_pcs_link_up_sgmii()
225 if_mode); in lynx_pcs_link_up_sgmii()
250 u16 if_mode = 0; in lynx_pcs_link_up_2500basex() local
258 if_mode |= IF_MODE_HALF_DUPLEX; in lynx_pcs_link_up_2500basex()
259 if_mode |= IF_MODE_SPEED(SGMII_SPEED_2500); in lynx_pcs_link_up_2500basex()
263 if_mode); in lynx_pcs_link_up_2500basex()