| /rk3399_rockchip-uboot/include/ |
| H A D | generic-phy.h | 15 enum phy_mode { enum 43 enum phy_mode mode; 160 int (*validate)(struct phy *phy, enum phy_mode mode, int submode, 191 int (*set_mode)(struct phy *phy, enum phy_mode mode, int submode); 234 int generic_phy_validate(struct phy *phy, enum phy_mode mode, int submode, 253 int generic_phy_set_mode_ext(struct phy *phy, enum phy_mode mode, int submode); 257 static inline enum phy_mode generic_phy_get_mode(struct phy *phy) in generic_phy_get_mode() 341 static inline int generic_phy_validate(struct phy *phy, enum phy_mode mode, in generic_phy_validate() 370 static inline int generic_phy_set_mode_ext(struct phy *phy, enum phy_mode mode, in generic_phy_set_mode_ext()
|
| /rk3399_rockchip-uboot/drivers/video/drm/ |
| H A D | rockchip_phy.h | 10 enum phy_mode { enum 26 int (*set_mode)(struct rockchip_phy *phy, enum phy_mode mode); 43 int rockchip_phy_set_mode(struct rockchip_phy *phy, enum phy_mode mode);
|
| H A D | inno_video_phy.c | 26 enum phy_mode mode; 170 enum phy_mode mode) in inno_video_phy_set_mode()
|
| H A D | rockchip_phy.c | 77 int rockchip_phy_set_mode(struct rockchip_phy *phy, enum phy_mode mode) in rockchip_phy_set_mode()
|
| H A D | inno_video_combo_phy.c | 309 enum phy_mode mode; 891 enum phy_mode mode) in inno_video_phy_set_mode()
|
| H A D | samsung_mipi_dcphy.c | 220 enum phy_mode mode; 1851 enum phy_mode mode) in samsung_mipi_dcphy_set_mode()
|
| /rk3399_rockchip-uboot/arch/arm/mach-socfpga/ |
| H A D | misc_gen5.c | 98 const char *phy_mode; in socfpga_eth_reset() local 124 phy_mode = fdt_getprop(fdt, node, "phy-mode", NULL); in socfpga_eth_reset() 125 ret = dwmac_phymode_to_modereg(phy_mode, &phy_modereg); in socfpga_eth_reset()
|
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | cpsw.c | 1176 phy_interface_t phy_mode) in cpsw_gmii_sel_am3352() argument 1186 switch (phy_mode) { in cpsw_gmii_sel_am3352() 1231 phy_interface_t phy_mode) in cpsw_gmii_sel_dra7xx() argument 1240 switch (phy_mode) { in cpsw_gmii_sel_dra7xx() 1281 phy_interface_t phy_mode) in cpsw_phy_sel() argument 1284 cpsw_gmii_sel_am3352(priv, phy_mode); in cpsw_phy_sel() 1286 cpsw_gmii_sel_am3352(priv, phy_mode); in cpsw_phy_sel() 1288 cpsw_gmii_sel_dra7xx(priv, phy_mode); in cpsw_phy_sel() 1296 const char *phy_mode; in cpsw_eth_ofdata_to_platdata() local 1382 phy_mode = fdt_getprop(fdt, subnode, "phy-mode", NULL); in cpsw_eth_ofdata_to_platdata() [all …]
|
| H A D | pic32_eth.c | 531 const char *phy_mode; in pic32_eth_probe() local 548 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in pic32_eth_probe() 550 if (phy_mode) in pic32_eth_probe() 551 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in pic32_eth_probe() 553 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in pic32_eth_probe()
|
| H A D | xilinx_axi_emac.c | 693 const char *phy_mode; in axi_emac_ofdata_to_platdata() local 719 phy_mode = fdt_getprop(gd->fdt_blob, node, "phy-mode", NULL); in axi_emac_ofdata_to_platdata() 720 if (phy_mode) in axi_emac_ofdata_to_platdata() 721 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in axi_emac_ofdata_to_platdata() 723 printf("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in axi_emac_ofdata_to_platdata()
|
| H A D | zynq_gem.c | 678 const char *phy_mode; in zynq_gem_ofdata_to_platdata() local 691 phy_mode = fdt_getprop(gd->fdt_blob, node, "phy-mode", NULL); in zynq_gem_ofdata_to_platdata() 692 if (phy_mode) in zynq_gem_ofdata_to_platdata() 693 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in zynq_gem_ofdata_to_platdata() 695 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in zynq_gem_ofdata_to_platdata()
|
| H A D | altera_tse.c | 676 const char *phy_mode; in altera_tse_ofdata_to_platdata() local 679 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in altera_tse_ofdata_to_platdata() 681 if (phy_mode) in altera_tse_ofdata_to_platdata() 682 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in altera_tse_ofdata_to_platdata() 684 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in altera_tse_ofdata_to_platdata()
|
| H A D | ravb.c | 613 const char *phy_mode; in ravb_ofdata_to_platdata() local 619 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in ravb_ofdata_to_platdata() 621 if (phy_mode) in ravb_ofdata_to_platdata() 622 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ravb_ofdata_to_platdata() 624 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in ravb_ofdata_to_platdata()
|
| H A D | designware.c | 739 const char *phy_mode; in designware_eth_ofdata_to_platdata() local 747 phy_mode = dev_read_string(dev, "phy-mode"); in designware_eth_ofdata_to_platdata() 748 if (phy_mode) in designware_eth_ofdata_to_platdata() 749 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in designware_eth_ofdata_to_platdata() 751 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in designware_eth_ofdata_to_platdata()
|
| H A D | sun8i_emac.c | 771 const char *phy_mode; in sun8i_emac_eth_ofdata_to_platdata() local 792 phy_mode = fdt_getprop(gd->fdt_blob, node, "phy-mode", NULL); in sun8i_emac_eth_ofdata_to_platdata() 794 if (phy_mode) in sun8i_emac_eth_ofdata_to_platdata() 795 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in sun8i_emac_eth_ofdata_to_platdata() 799 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in sun8i_emac_eth_ofdata_to_platdata()
|
| H A D | tsec.c | 780 const char *phy_mode; in tsec_probe() local 815 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in tsec_probe() 817 if (phy_mode) in tsec_probe() 818 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in tsec_probe() 820 debug("Invalid PHY interface '%s'\n", phy_mode); in tsec_probe()
|
| H A D | ag7xxx.c | 976 const char *phy_mode; in ag7xxx_eth_ofdata_to_platdata() local 987 phy_mode = fdt_getprop(gd->fdt_blob, ret, "phy-mode", NULL); in ag7xxx_eth_ofdata_to_platdata() 988 if (phy_mode) in ag7xxx_eth_ofdata_to_platdata() 989 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ag7xxx_eth_ofdata_to_platdata() 991 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in ag7xxx_eth_ofdata_to_platdata()
|
| H A D | mvneta.c | 1337 static int mvneta_port_power_up(struct mvneta_port *pp, int phy_mode) in mvneta_port_power_up() argument 1349 switch (phy_mode) { in mvneta_port_power_up() 1757 const char *phy_mode; in mvneta_ofdata_to_platdata() local 1763 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in mvneta_ofdata_to_platdata() 1765 if (phy_mode) in mvneta_ofdata_to_platdata() 1766 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in mvneta_ofdata_to_platdata() 1768 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in mvneta_ofdata_to_platdata()
|
| H A D | macb.c | 1034 const char *phy_mode; in macb_eth_probe() local 1037 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in macb_eth_probe() 1039 if (phy_mode) in macb_eth_probe() 1040 macb->phy_interface = phy_get_interface_by_name(phy_mode); in macb_eth_probe() 1042 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in macb_eth_probe()
|
| H A D | dwc_eth_qos.c | 1913 const char *phy_mode; in eqos_get_interface_stm32() local 1918 phy_mode = dev_read_string(dev, "phy-mode"); in eqos_get_interface_stm32() 1919 if (phy_mode) in eqos_get_interface_stm32() 1920 interface = phy_get_interface_by_name(phy_mode); in eqos_get_interface_stm32() 1951 const char *phy_mode; in eqos_get_interface_imx() local 1956 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in eqos_get_interface_imx() 1958 if (phy_mode) in eqos_get_interface_imx() 1959 interface = phy_get_interface_by_name(phy_mode); in eqos_get_interface_imx()
|
| H A D | fec_mxc.c | 1310 const char *phy_mode; in fecmxc_ofdata_to_platdata() local 1316 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in fecmxc_ofdata_to_platdata() 1318 if (phy_mode) in fecmxc_ofdata_to_platdata() 1319 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in fecmxc_ofdata_to_platdata() 1321 debug("%s: Invalid PHY interface '%s'\n", __func__, phy_mode); in fecmxc_ofdata_to_platdata()
|
| H A D | mvpp2.c | 4724 int phy_mode = -1; in phy_info_parse() local 4763 phy_mode = phy_get_interface_by_name(phy_mode_str); in phy_info_parse() 4764 if (phy_mode == -1) { in phy_info_parse() 4797 port->phy_interface = phy_mode; in phy_info_parse()
|
| /rk3399_rockchip-uboot/drivers/phy/ |
| H A D | phy-uclass.c | 327 int generic_phy_validate(struct phy *phy, enum phy_mode mode, int submode, in generic_phy_validate() 339 int generic_phy_set_mode_ext(struct phy *phy, enum phy_mode mode, int submode) in generic_phy_set_mode_ext()
|
| H A D | phy-rockchip-samsung-hdptx.c | 655 static int rockchip_hdptx_phy_set_mode(struct phy *phy, enum phy_mode mode, in rockchip_hdptx_phy_set_mode() 1033 enum phy_mode mode = generic_phy_get_mode(phy); in rockchip_hdptx_phy_configure() 1327 enum phy_mode mode = generic_phy_get_mode(phy); in rockchip_hdptx_phy_power_on()
|