Home
last modified time | relevance | path

Searched refs:phy_if (Results 1 – 25 of 55) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-mdio.c132 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()
[all …]
H A Dxgbe-main.c165 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()
H A Dxgbe-ethtool.c304 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()
396 ret = pdata->phy_if.phy_config_aneg(pdata); in xgbe_set_link_ksettings()
609 return pdata->phy_if.module_info(pdata, modinfo); in xgbe_get_module_info()
617 return pdata->phy_if.module_eeprom(pdata, eeprom, data); in xgbe_get_module_eeprom()
/OK3568_Linux_fs/u-boot/board/ti/ks2_evm/
H A Dboard_k2e.c103 .phy_if = PHY_INTERFACE_MODE_SGMII,
111 .phy_if = PHY_INTERFACE_MODE_SGMII,
119 .phy_if = PHY_INTERFACE_MODE_SGMII,
127 .phy_if = PHY_INTERFACE_MODE_SGMII,
135 .phy_if = PHY_INTERFACE_MODE_SGMII,
143 .phy_if = PHY_INTERFACE_MODE_SGMII,
151 .phy_if = PHY_INTERFACE_MODE_SGMII,
159 .phy_if = PHY_INTERFACE_MODE_SGMII,
H A Dboard_k2l.c98 .phy_if = PHY_INTERFACE_MODE_SGMII,
106 .phy_if = PHY_INTERFACE_MODE_SGMII,
114 .phy_if = PHY_INTERFACE_MODE_SGMII,
122 .phy_if = PHY_INTERFACE_MODE_SGMII,
H A Dboard_k2hk.c110 .phy_if = PHY_INTERFACE_MODE_SGMII,
118 .phy_if = PHY_INTERFACE_MODE_SGMII,
126 .phy_if = PHY_INTERFACE_MODE_SGMII,
134 .phy_if = PHY_INTERFACE_MODE_SGMII,
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/script/
H A Dhci_mib7 phy_if=/sys/kernel/debug/ieee80211/$1/ssv6200/hci
8 if [ ! -d $phy_if ]; then
9 echo "$phy_if does not exist.";
13 cd $phy_if
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/fman/
H A Dfman_memac.c337 phy_interface_t phy_if; member
411 phy_interface_t phy_if, u16 speed, bool slow_10g_if, in init() argument
441 switch (phy_if) { in init()
447 if (phy_if == PHY_INTERFACE_MODE_RGMII || in init()
448 phy_if == PHY_INTERFACE_MODE_RGMII_ID || in init()
449 phy_if == PHY_INTERFACE_MODE_RGMII_RXID || in init()
450 phy_if == PHY_INTERFACE_MODE_RGMII_TXID) in init()
457 if (phy_if == PHY_INTERFACE_MODE_XGMII) { in init()
781 if (phy_interface_mode_is_rgmii(memac->phy_if)) { in memac_adjust_link()
1062 init(memac->regs, memac->memac_drv_param, memac->phy_if, in memac_init()
[all …]
H A Dmac.c110 params->phy_if = mac_dev->phy_if; in set_fman_mac_params()
235 params.phy_if = PHY_INTERFACE_MODE_XGMII; in memac_initialization()
622 phy_interface_t phy_if; in mac_probe() local
788 err = of_get_phy_mode(mac_node, &phy_if); in mac_probe()
793 phy_if = PHY_INTERFACE_MODE_SGMII; in mac_probe()
795 mac_dev->phy_if = phy_if; in mac_probe()
797 priv->speed = phy2speed[mac_dev->phy_if]; in mac_probe()
801 if (mac_dev->phy_if == PHY_INTERFACE_MODE_SGMII) in mac_probe()
810 if (mac_dev->phy_if == PHY_INTERFACE_MODE_XGMII) in mac_probe()
H A Dmac.h53 phy_interface_t phy_if; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_misc.c518 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()
H A Dhns_dsaf_mac.c59 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()
956 static int hns_mac_get_mode(phy_interface_t phy_if) in hns_mac_get_mode() argument
958 switch (phy_if) { in hns_mac_get_mode()
1009 mac_cb->phy_if = dsaf_dev->misc_op->get_phy_if(mac_cb); in hns_mac_get_cfg()
1011 ret = hns_mac_get_mode(mac_cb->phy_if); in hns_mac_get_cfg()
H A Dhns_ethtool.c161 if (h->phy_if == PHY_INTERFACE_MODE_SGMII) { in hns_nic_get_link_ksettings()
164 } else if (h->phy_if == PHY_INTERFACE_MODE_XGMII) { in hns_nic_get_link_ksettings()
218 if (h->phy_if == PHY_INTERFACE_MODE_XGMII) { in hns_nic_set_link_ksettings()
223 } else if (h->phy_if == PHY_INTERFACE_MODE_SGMII) { in hns_nic_set_link_ksettings()
299 (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII)) in __lb_setup()
311 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) in __lb_setup()
357 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) in __lb_up()
594 st_param[0][1] = (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII); in hns_nic_self_test()
599 (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII)); in hns_nic_self_test()
906 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) { in hns_get_strings()
[all …]
/OK3568_Linux_fs/u-boot/board/birdland/bav335x/
H A Dboard.c409 cpsw_slaves[0].phy_if = PHY_INTERFACE_MODE_MII; in board_eth_init()
410 cpsw_slaves[1].phy_if = PHY_INTERFACE_MODE_MII; in board_eth_init()
415 cpsw_slaves[0].phy_if = cpsw_slaves[1].phy_if in board_eth_init()
/OK3568_Linux_fs/u-boot/board/ti/am335x/
H A Dboard.c865 cpsw_slaves[0].phy_if = cpsw_slaves[1].phy_if = in board_eth_init()
869 cpsw_slaves[0].phy_if = PHY_INTERFACE_MODE_RMII; in board_eth_init()
870 cpsw_slaves[1].phy_if = PHY_INTERFACE_MODE_RMII; in board_eth_init()
875 cpsw_slaves[0].phy_if = cpsw_slaves[1].phy_if = in board_eth_init()
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dkeystone_net.c106 phy_interface_t phy_if; member
727 dev, eth_priv->phy_if); in keystone2_emac_initialize()
731 eth_priv->phy_if); in keystone2_emac_initialize()
957 dev, priv->phy_if); in ks2_eth_probe()
1084 priv->phy_if = PHY_INTERFACE_MODE_SGMII; in ks2_eth_parse_slave_interface()
1085 pdata->phy_interface = priv->phy_if; in ks2_eth_parse_slave_interface()
1089 priv->phy_if = PHY_INTERFACE_MODE_RGMII; in ks2_eth_parse_slave_interface()
1090 pdata->phy_interface = priv->phy_if; in ks2_eth_parse_slave_interface()
/OK3568_Linux_fs/u-boot/board/compulab/cm_t43/
H A Dcm_t43.c79 .phy_if = PHY_INTERFACE_MODE_RGMII,
85 .phy_if = PHY_INTERFACE_MODE_RGMII,
/OK3568_Linux_fs/u-boot/board/compulab/cl-som-am57x/
H A Deth.c28 .phy_if = PHY_INTERFACE_MODE_RMII,
34 .phy_if = PHY_INTERFACE_MODE_RMII,
/OK3568_Linux_fs/u-boot/board/ti/am43xx/
H A Dboard.c816 cpsw_slaves[0].phy_if = PHY_INTERFACE_MODE_RMII; in board_eth_init()
820 cpsw_slaves[0].phy_if = PHY_INTERFACE_MODE_RGMII; in board_eth_init()
825 cpsw_slaves[0].phy_if = PHY_INTERFACE_MODE_RGMII; in board_eth_init()
829 cpsw_slaves[0].phy_if = PHY_INTERFACE_MODE_RGMII; in board_eth_init()
/OK3568_Linux_fs/u-boot/board/phytec/pcm051/
H A Dboard.c180 .phy_if = PHY_INTERFACE_MODE_RGMII,
186 .phy_if = PHY_INTERFACE_MODE_RGMII,
/OK3568_Linux_fs/u-boot/board/bosch/shc/
H A Dboard.c556 cpsw_slaves[0].phy_if = PHY_INTERFACE_MODE_MII; in board_eth_init()
557 cpsw_slaves[1].phy_if = cpsw_slaves[0].phy_if; in board_eth_init()
/OK3568_Linux_fs/u-boot/board/tcl/sl50/
H A Dboard.c350 cpsw_slaves[0].phy_if = cpsw_slaves[1].phy_if = in board_eth_init()
/OK3568_Linux_fs/u-boot/include/
H A Dcpsw.h23 int phy_if; member
/OK3568_Linux_fs/u-boot/board/siemens/pxm2/
H A Dboard.c185 .phy_if = PHY_INTERFACE_MODE_RMII,
191 .phy_if = PHY_INTERFACE_MODE_RMII,
/OK3568_Linux_fs/u-boot/board/siemens/rut/
H A Dboard.c147 .phy_if = PHY_INTERFACE_MODE_RMII,
153 .phy_if = PHY_INTERFACE_MODE_RMII,

123