Lines Matching refs:phy_if

132 	if (!pdata->phy_if.phy_impl.module_eeprom)  in xgbe_phy_module_eeprom()
135 return pdata->phy_if.phy_impl.module_eeprom(pdata, eeprom, data); in xgbe_phy_module_eeprom()
141 if (!pdata->phy_if.phy_impl.module_info) in xgbe_phy_module_info()
144 return pdata->phy_if.phy_impl.module_info(pdata, modinfo); in xgbe_phy_module_info()
225 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_KR); in xgbe_kr_mode()
234 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_KX_2500); in xgbe_kx_2500_mode()
243 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_KX_1000); in xgbe_kx_1000_mode()
256 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_SFI); in xgbe_sfi_mode()
265 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_X); in xgbe_x_mode()
274 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_SGMII_1000); in xgbe_sgmii_1000_mode()
283 pdata->phy_if.phy_impl.set_mode(pdata, XGBE_MODE_SGMII_100); in xgbe_sgmii_100_mode()
288 return pdata->phy_if.phy_impl.cur_mode(pdata); in xgbe_cur_mode()
331 xgbe_change_mode(pdata, pdata->phy_if.phy_impl.switch_mode(pdata)); in xgbe_switch_mode()
348 return pdata->phy_if.phy_impl.use_mode(pdata, mode); in xgbe_use_mode()
427 if (pdata->phy_if.phy_impl.an_pre) in xgbe_an_restart()
428 pdata->phy_if.phy_impl.an_pre(pdata); in xgbe_an_restart()
446 if (pdata->phy_if.phy_impl.an_post) in xgbe_an_disable()
447 pdata->phy_if.phy_impl.an_post(pdata); in xgbe_an_disable()
492 if (pdata->phy_if.phy_impl.kr_training_pre) in xgbe_an73_tx_training()
493 pdata->phy_if.phy_impl.kr_training_pre(pdata); in xgbe_an73_tx_training()
503 if (pdata->phy_if.phy_impl.kr_training_post) in xgbe_an73_tx_training()
504 pdata->phy_if.phy_impl.kr_training_post(pdata); in xgbe_an73_tx_training()
814 if (pdata->phy_if.phy_impl.an_post) in xgbe_an37_state_machine()
815 pdata->phy_if.phy_impl.an_post(pdata); in xgbe_an37_state_machine()
900 if (pdata->phy_if.phy_impl.an_post) in xgbe_an73_state_machine()
901 pdata->phy_if.phy_impl.an_post(pdata); in xgbe_an73_state_machine()
949 pdata->phy_if.phy_impl.an_advertising(pdata, &lks); in xgbe_an37_init()
998 pdata->phy_if.phy_impl.an_advertising(pdata, &lks); in xgbe_an73_init()
1047 pdata->an_mode = pdata->phy_if.phy_impl.an_mode(pdata); in xgbe_an_init()
1146 return pdata->phy_if.phy_impl.valid_speed(pdata, speed); in xgbe_phy_valid_speed()
1159 mode = pdata->phy_if.phy_impl.get_mode(pdata, pdata->phy.speed); in xgbe_phy_config_fixed()
1192 ret = pdata->phy_if.phy_impl.an_config(pdata); in __xgbe_phy_config_aneg()
1288 return pdata->phy_if.phy_impl.an_outcome(pdata); in xgbe_phy_status_aneg()
1344 pdata->phy.link = pdata->phy_if.phy_impl.link_status(pdata, in xgbe_phy_status()
1396 pdata->phy_if.phy_impl.stop(pdata); in xgbe_phy_stop()
1411 ret = pdata->phy_if.phy_impl.start(pdata); in xgbe_phy_start()
1464 pdata->phy_if.phy_impl.stop(pdata); in xgbe_phy_start()
1473 ret = pdata->phy_if.phy_impl.reset(pdata); in xgbe_phy_reset()
1549 pdata->phy_if.phy_impl.exit(pdata); in xgbe_phy_exit()
1569 ret = pdata->phy_if.phy_impl.init(pdata); in xgbe_phy_init()
1617 void xgbe_init_function_ptrs_phy(struct xgbe_phy_if *phy_if) in xgbe_init_function_ptrs_phy() argument
1619 phy_if->phy_init = xgbe_phy_init; in xgbe_init_function_ptrs_phy()
1620 phy_if->phy_exit = xgbe_phy_exit; in xgbe_init_function_ptrs_phy()
1622 phy_if->phy_reset = xgbe_phy_reset; in xgbe_init_function_ptrs_phy()
1623 phy_if->phy_start = xgbe_phy_start; in xgbe_init_function_ptrs_phy()
1624 phy_if->phy_stop = xgbe_phy_stop; in xgbe_init_function_ptrs_phy()
1626 phy_if->phy_status = xgbe_phy_status; in xgbe_init_function_ptrs_phy()
1627 phy_if->phy_config_aneg = xgbe_phy_config_aneg; in xgbe_init_function_ptrs_phy()
1629 phy_if->phy_valid_speed = xgbe_phy_valid_speed; in xgbe_init_function_ptrs_phy()
1631 phy_if->an_isr = xgbe_an_combined_isr; in xgbe_init_function_ptrs_phy()
1633 phy_if->module_info = xgbe_phy_module_info; in xgbe_init_function_ptrs_phy()
1634 phy_if->module_eeprom = xgbe_phy_module_eeprom; in xgbe_init_function_ptrs_phy()