/linux-6.3-rc2/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-mdio.c | 132 if (!pdata->phy_if.phy_impl.module_eeprom) in xgbe_phy_module_eeprom() 141 if (!pdata->phy_if.phy_impl.module_info) in xgbe_phy_module_info() 439 if (pdata->phy_if.phy_impl.an_pre) in xgbe_an_restart() 440 pdata->phy_if.phy_impl.an_pre(pdata); in xgbe_an_restart() 458 if (pdata->phy_if.phy_impl.an_post) in xgbe_an_disable() 459 pdata->phy_if.phy_impl.an_post(pdata); in xgbe_an_disable() 829 if (pdata->phy_if.phy_impl.an_post) in xgbe_an37_state_machine() 915 if (pdata->phy_if.phy_impl.an_post) in xgbe_an73_state_machine() 1442 pdata->phy_if.phy_impl.stop(pdata); in xgbe_phy_stop() 1510 pdata->phy_if.phy_impl.stop(pdata); in xgbe_phy_start() [all …]
|
A D | xgbe-main.c | 165 xgbe_init_function_ptrs_phy(&pdata->phy_if); in xgbe_init_all_fptrs() 169 pdata->vdata->init_function_ptrs_phy_impl(&pdata->phy_if); in xgbe_init_all_fptrs() 333 ret = pdata->phy_if.phy_init(pdata); in xgbe_config_netdev() 426 pdata->phy_if.phy_exit(pdata); in xgbe_deconfig_netdev()
|
A D | xgbe-ethtool.c | 304 ret = pdata->phy_if.phy_config_aneg(pdata); in xgbe_set_pauseparam() 355 if (!pdata->phy_if.phy_valid_speed(pdata, speed)) { in xgbe_set_link_ksettings() 394 ret = pdata->phy_if.phy_config_aneg(pdata); in xgbe_set_link_ksettings() 611 return pdata->phy_if.module_info(pdata, modinfo); in xgbe_get_module_info() 619 return pdata->phy_if.module_eeprom(pdata, eeprom, data); in xgbe_get_module_eeprom()
|
A D | xgbe-drv.c | 581 pdata->phy_if.an_isr(pdata); in xgbe_isr_task() 679 pdata->phy_if.phy_status(pdata); in xgbe_service() 1164 return pdata->phy_if.phy_reset(pdata); in xgbe_phy_reset() 1299 struct xgbe_phy_if *phy_if = &pdata->phy_if; in xgbe_start() local 1332 ret = phy_if->phy_start(pdata); in xgbe_start() 1364 struct xgbe_phy_if *phy_if = &pdata->phy_if; in xgbe_stop() local 1386 phy_if->phy_stop(pdata); in xgbe_stop()
|
A D | xgbe-phy-v1.c | 822 void xgbe_init_function_ptrs_phy_v1(struct xgbe_phy_if *phy_if) in xgbe_init_function_ptrs_phy_v1() argument 824 struct xgbe_phy_impl_if *phy_impl = &phy_if->phy_impl; in xgbe_init_function_ptrs_phy_v1()
|
A D | xgbe.h | 1127 struct xgbe_phy_if phy_if; member
|
A D | xgbe-phy-v2.c | 3758 void xgbe_init_function_ptrs_phy_v2(struct xgbe_phy_if *phy_if) in xgbe_init_function_ptrs_phy_v2() argument 3760 struct xgbe_phy_impl_if *phy_impl = &phy_if->phy_impl; in xgbe_init_function_ptrs_phy_v2()
|
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_dsaf_misc.c | 518 phy_interface_t phy_if; in hns_mac_get_phy_if() local 537 phy_if = PHY_INTERFACE_MODE_XGMII; in hns_mac_get_phy_if() 539 phy_if = PHY_INTERFACE_MODE_SGMII; in hns_mac_get_phy_if() 541 return phy_if; in hns_mac_get_phy_if() 546 phy_interface_t phy_if = PHY_INTERFACE_MODE_NA; in hns_mac_get_phy_if_acpi() local 562 return phy_if; in hns_mac_get_phy_if_acpi() 564 phy_if = obj->integer.value ? in hns_mac_get_phy_if_acpi() 567 dev_dbg(mac_cb->dev, "mac_id=%d, phy_if=%d\n", mac_cb->mac_id, phy_if); in hns_mac_get_phy_if_acpi() 571 return phy_if; in hns_mac_get_phy_if_acpi()
|
A D | hns_ethtool.c | 160 if (h->phy_if == PHY_INTERFACE_MODE_SGMII) { in hns_nic_get_link_ksettings() 163 } else if (h->phy_if == PHY_INTERFACE_MODE_XGMII) { in hns_nic_get_link_ksettings() 217 if (h->phy_if == PHY_INTERFACE_MODE_XGMII) { in hns_nic_set_link_ksettings() 222 } else if (h->phy_if == PHY_INTERFACE_MODE_SGMII) { in hns_nic_set_link_ksettings() 298 (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII)) in __lb_setup() 310 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) in __lb_setup() 356 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) in __lb_up() 593 st_param[0][1] = (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII); in hns_nic_self_test() 598 (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII)); in hns_nic_self_test() 914 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) in hns_get_strings() [all …]
|
A D | hns_dsaf_mac.c | 59 return g_mac_mode_100[mac_cb->phy_if]; in hns_get_enet_interface() 61 return g_mac_mode_1000[mac_cb->phy_if]; in hns_get_enet_interface() 588 if (mac_cb->phy_if == PHY_INTERFACE_MODE_XGMII && enable) { in hns_mac_set_autoneg() 818 mac_cb->speed = mac_phy_to_speed[mac_cb->phy_if]; in hns_mac_get_info() 821 if (mac_cb->phy_if == PHY_INTERFACE_MODE_SGMII) { in hns_mac_get_info() 824 } else if (mac_cb->phy_if == PHY_INTERFACE_MODE_XGMII) { in hns_mac_get_info() 955 static int hns_mac_get_mode(phy_interface_t phy_if) in hns_mac_get_mode() argument 957 switch (phy_if) { in hns_mac_get_mode() 1008 mac_cb->phy_if = dsaf_dev->misc_op->get_phy_if(mac_cb); in hns_mac_get_cfg() 1010 ret = hns_mac_get_mode(mac_cb->phy_if); in hns_mac_get_cfg()
|
A D | hns_enet.c | 1147 if (h->phy_if == PHY_INTERFACE_MODE_XGMII) in hns_nic_init_phy() 1150 if (h->phy_if != PHY_INTERFACE_MODE_XGMII) { in hns_nic_init_phy() 1154 h->phy_if); in hns_nic_init_phy() 1156 ret = phy_attach_direct(ndev, phy_dev, 0, h->phy_if); in hns_nic_init_phy() 1561 if (h->phy_if != PHY_INTERFACE_MODE_XGMII) in hns_enable_serdes_lb() 1961 if (h->phy_if != PHY_INTERFACE_MODE_XGMII) in hns_nic_update_link_status()
|
A D | hns_dsaf_mac.h | 333 phy_interface_t phy_if; member
|
A D | hns_ae_adapt.c | 124 ae_handle->phy_if = vf_cb->mac_cb->phy_if; in hns_ae_get_handle()
|
A D | hnae.h | 546 phy_interface_t phy_if; member
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/fman/ |
A D | mac.c | 165 phy_interface_t phy_if; in mac_probe() local 298 err = of_get_phy_mode(mac_node, &phy_if); in mac_probe() 303 phy_if = PHY_INTERFACE_MODE_SGMII; in mac_probe() 305 mac_dev->phy_if = phy_if; in mac_probe()
|
A D | fman_memac.c | 1070 return mac_dev->phy_if == iface; in memac_supports() 1153 if (err && mac_dev->phy_if == PHY_INTERFACE_MODE_XGMII) in memac_initialization() 1172 if (mac_dev->phy_if == PHY_INTERFACE_MODE_XGMII) in memac_initialization() 1173 mac_dev->phy_if = PHY_INTERFACE_MODE_10GBASER; in memac_initialization() 1199 else if (mac_dev->phy_if == PHY_INTERFACE_MODE_QSGMII) in memac_initialization() 1245 mac_dev->phy_if != PHY_INTERFACE_MODE_MII && in memac_initialization() 1246 !phy_interface_mode_is_rgmii(mac_dev->phy_if)) in memac_initialization()
|
A D | fman_dtsec.c | 301 phy_interface_t phy_if; member 1278 err = init(dtsec->regs, dtsec_drv_param, dtsec->phy_if, in dtsec_init() 1367 dtsec->phy_if = mac_dev->phy_if; in dtsec_config() 1458 if (mac_dev->phy_if == PHY_INTERFACE_MODE_SGMII || in dtsec_initialization() 1459 mac_dev->phy_if == PHY_INTERFACE_MODE_1000BASEX) { in dtsec_initialization() 1462 } else if (mac_dev->phy_if == PHY_INTERFACE_MODE_2500BASEX) { in dtsec_initialization()
|
A D | mac.h | 30 phy_interface_t phy_if; member
|
A D | fman_tgec.c | 789 if (mac_dev->phy_if == PHY_INTERFACE_MODE_XGMII) in tgec_initialization() 790 mac_dev->phy_if = PHY_INTERFACE_MODE_XAUI; in tgec_initialization()
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A D | am65-cpsw-nuss.h | 33 phy_interface_t phy_if; member
|
A D | cpsw.c | 615 &cpsw_adjust_link, 0, slave->data->phy_if); in cpsw_slave_open() 624 &cpsw_adjust_link, slave->data->phy_if); in cpsw_slave_open() 643 slave->data->phy_if); in cpsw_slave_open() 1355 ret = of_get_phy_mode(slave_node, &slave_data->phy_if); in cpsw_probe_dt()
|
A D | am65-cpsw-nuss.c | 2041 ret = of_get_phy_mode(port_np, &port->slave.phy_if); in am65_cpsw_nuss_init_slave_ports() 2048 ret = phy_set_mode_ext(port->slave.ifphy, PHY_MODE_ETHERNET, port->slave.phy_if); in am65_cpsw_nuss_init_slave_ports() 2148 if (phy_interface_mode_is_rgmii(port->slave.phy_if)) { in am65_cpsw_nuss_init_port_ndev() 2150 } else if (port->slave.phy_if == PHY_INTERFACE_MODE_RMII) { in am65_cpsw_nuss_init_port_ndev() 2153 } else if (common->pdata.extra_modes & BIT(port->slave.phy_if)) { in am65_cpsw_nuss_init_port_ndev() 2163 port->slave.phy_if, in am65_cpsw_nuss_init_port_ndev()
|
A D | cpsw_priv.h | 285 phy_interface_t phy_if; member
|
A D | cpsw_new.c | 768 &cpsw_adjust_link, 0, slave->data->phy_if); in cpsw_slave_open() 783 slave->data->phy_if); in cpsw_slave_open() 1307 ret = of_get_phy_mode(port_np, &slave_data->phy_if); in cpsw_probe_dt()
|
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_main.h | 273 phy_interface_t phy_if; member
|