| /OK3568_Linux_fs/u-boot/board/freescale/t102xqds/ |
| H A D | eth_t102xqds.c | 180 if (port == FM1_DTSEC1) { in board_ft_fman_fixup_port() 194 case FM1_DTSEC1: in board_ft_fman_fixup_port() 305 fm_info_set_phy_address(FM1_DTSEC1, 0x8); in board_eth_init() 325 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_AQ_PHY_ADDR_S5); in board_eth_init() 330 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_AQ_PHY_ADDR_S5); in board_eth_init() 335 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT1_PHY_ADDR); in board_eth_init() 338 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT1_PHY_ADDR); in board_eth_init() 349 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT1_PHY_ADDR); in board_eth_init() 353 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT1_PHY_ADDR); in board_eth_init() 361 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/net/fm/ |
| H A D | t1024.c | 15 [FM1_DTSEC1] = FSL_CORENET_DEVDISR2_DTSEC1_1, 60 case FM1_DTSEC1: in fman_port_enet_if() 63 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if() 66 + port - FM1_DTSEC1)) in fman_port_enet_if() 75 case FM1_DTSEC1: in fman_port_enet_if()
|
| H A D | p4080.c | 14 [FM1_DTSEC1] = FSL_CORENET_DEVDISR2_DTSEC1_1, 39 if (port == FM1_DTSEC1) in fman_disable_port() 67 if ((port == FM1_DTSEC1) && ((rcwsr11 & FSL_CORENET_RCWSR11_EC1) == in fman_port_enet_if() 80 case FM1_DTSEC1: in fman_port_enet_if() 84 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
|
| H A D | t1040.c | 51 case FM1_DTSEC1: in fman_port_enet_if() 53 if (is_serdes_configured(QSGMII_SW1_A + port - FM1_DTSEC1) || in fman_port_enet_if() 54 is_serdes_configured(SGMII_SW1_MAC1 + port - FM1_DTSEC1)) in fman_port_enet_if() 59 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
|
| H A D | p5020.c | 14 [FM1_DTSEC1] = FSL_CORENET_DEVDISR2_DTSEC1_1, 35 if (port == FM1_DTSEC1) in fman_disable_port() 77 case FM1_DTSEC1: in fman_port_enet_if() 82 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
|
| H A D | ls1043.c | 23 [FM1_DTSEC1] = FSL_CHASSIS2_DEVDISR2_DTSEC1_1, 79 case FM1_DTSEC1: in fman_port_enet_if() 87 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if() 99 case FM1_DTSEC1: in fman_port_enet_if()
|
| H A D | b4860.c | 16 [FM1_DTSEC1] = FSL_CORENET_DEVDISR2_DTSEC1_1, 111 else if ((port == FM1_DTSEC1) || in fman_port_enet_if() 124 case FM1_DTSEC1: in fman_port_enet_if() 130 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
|
| H A D | p5040.c | 14 [FM1_DTSEC1] = FSL_CORENET_DEVDISR2_DTSEC1_1, 41 if (port == FM1_DTSEC1) in fman_disable_port() 86 case FM1_DTSEC1: in fman_port_enet_if() 91 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
|
| H A D | t4240.c | 15 [FM1_DTSEC1] = FSL_CORENET_DEVDISR2_DTSEC1_1, 106 case FM1_DTSEC1: in fman_port_enet_if() 114 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if() 134 case FM1_DTSEC1: in fman_port_enet_if()
|
| H A D | p1023.c | 14 [FM1_DTSEC1] = MPC85xx_DEVDISR_TSEC1, 31 if (port == FM1_DTSEC1) in fman_disable_port() 53 if (port == FM1_DTSEC1) { in fman_port_enet_if()
|
| H A D | t2080.c | 16 [FM1_DTSEC1] = FSL_CORENET_DEVDISR2_DTSEC1_1, 77 case FM1_DTSEC1: in fman_port_enet_if() 85 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
|
| /OK3568_Linux_fs/u-boot/board/freescale/p2041rdb/ |
| H A D | eth.c | 101 + (port - FM1_DTSEC1)); in board_ft_fman_fixup_port() 106 + (port - FM1_DTSEC1)); in board_ft_fman_fixup_port() 155 fm_info_set_phy_address(FM1_DTSEC1, CONFIG_SYS_FM1_DTSEC1_PHY_ADDR); in board_eth_init() 159 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init() 160 int idx = i - FM1_DTSEC1; in board_eth_init()
|
| /OK3568_Linux_fs/u-boot/board/freescale/corenet_ds/ |
| H A D | eth_hydra.c | 267 CONFIG_SYS_FM1_DTSEC1_PHY_ADDR + (port - FM1_DTSEC1)); in board_ft_fman_fixup_port() 339 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in fdt_fixup_board_enet() 340 int idx = i - FM1_DTSEC1; in fdt_fixup_board_enet() 407 fm_info_set_phy_address(FM1_DTSEC1, CONFIG_SYS_FM1_DTSEC1_PHY_ADDR); in board_eth_init() 412 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init() 413 int idx = i - FM1_DTSEC1; in board_eth_init() 480 set_sgmii_phy(bus, FM1_DTSEC1, CONFIG_SYS_NUM_FM1_DTSEC, PHY_BASE_ADDR); in board_eth_init()
|
| H A D | eth_superhydra.c | 302 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in fdt_fixup_board_enet() 303 int idx = i - FM1_DTSEC1; in fdt_fixup_board_enet() 473 fm_info_set_phy_address(FM1_DTSEC1, CONFIG_SYS_FM1_DTSEC1_PHY_ADDR); in board_eth_init() 514 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init() 515 int idx = i - FM1_DTSEC1; in board_eth_init() 591 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + PORT_NUM_FM1; i++) { in board_eth_init() 594 phy_real_addr = PHY_BASE_ADDR + i - FM1_DTSEC1; in board_eth_init()
|
| H A D | eth_p4080.c | 327 fm_info_set_phy_address(FM1_DTSEC1, CONFIG_SYS_FM1_DTSEC1_PHY_ADDR); in board_eth_init() 341 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init() 342 int idx = i - FM1_DTSEC1, lane, slot; in board_eth_init() 378 set_sgmii_phy(bus, FM1_DTSEC1, in board_eth_init()
|
| /OK3568_Linux_fs/u-boot/board/freescale/t104xrdb/ |
| H A D | eth.c | 42 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init() 43 int idx = i - FM1_DTSEC1; in board_eth_init() 58 if ((FM1_DTSEC1 == i) || (FM1_DTSEC2 == i)) in board_eth_init() 70 if (FM1_DTSEC1 == i) in board_eth_init()
|
| /OK3568_Linux_fs/u-boot/board/freescale/t208xqds/ |
| H A D | eth_t208xqds.c | 221 case FM1_DTSEC1: in board_ft_fman_fixup_port() 315 case FM1_DTSEC1: in board_ft_fman_fixup_port() 582 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT3_PHY_ADDR); in board_eth_init() 631 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT3_PHY_ADDR); in board_eth_init() 637 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT3_PHY_ADDR); in board_eth_init() 651 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT3_PHY_ADDR); in board_eth_init() 663 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT3_PHY_ADDR); in board_eth_init() 672 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT3_PHY_ADDR); in board_eth_init() 687 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT1_PHY_ADDR); in board_eth_init() 694 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT1_PHY_ADDR); in board_eth_init() [all …]
|
| /OK3568_Linux_fs/u-boot/board/freescale/ls1043aqds/ |
| H A D | eth.c | 193 case FM1_DTSEC1: in board_ft_fman_fixup_port() 215 case FM1_DTSEC1: in board_ft_fman_fixup_port() 266 for (i = FM1_DTSEC1; i < NUM_FM_PORTS; i++) { in fdt_fixup_board_enet() 348 fm_info_set_phy_address(FM1_DTSEC1, in board_eth_init() 381 fm_info_set_phy_address(FM1_DTSEC1, in board_eth_init() 394 fm_info_set_phy_address(FM1_DTSEC1, in board_eth_init() 426 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init() 427 idx = i - FM1_DTSEC1; in board_eth_init()
|
| /OK3568_Linux_fs/u-boot/board/freescale/b4860qds/ |
| H A D | eth_b4860qds.c | 241 fm_info_set_phy_address(FM1_DTSEC1, in board_eth_init() 254 fm_info_set_phy_address(FM1_DTSEC1, in board_eth_init() 318 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init() 319 int idx = i - FM1_DTSEC1; in board_eth_init() 443 for (i = FM1_DTSEC1; i <= FM1_10GEC2; i++) { in fdt_fixup_board_enet()
|
| /OK3568_Linux_fs/u-boot/board/freescale/t1040qds/ |
| H A D | eth.c | 309 (fm_info_get_phy_address(port - FM1_DTSEC1)- in board_ft_fman_fixup_port() 320 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in fdt_fixup_board_enet() 321 idx = i - FM1_DTSEC1; in fdt_fixup_board_enet() 371 idx = i - FM1_DTSEC1; in t1040_handle_phy_interface_sgmii() 411 if (FM1_DTSEC1 == i) in t1040_handle_phy_interface_sgmii() 485 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
|
| /OK3568_Linux_fs/u-boot/board/freescale/ls1043ardb/ |
| H A D | eth.c | 50 fm_info_set_phy_address(FM1_DTSEC1, QSGMII_PORT1_PHY_ADDR); in board_eth_init() 65 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) in board_eth_init()
|
| /OK3568_Linux_fs/u-boot/board/freescale/ls1046aqds/ |
| H A D | eth.c | 192 case FM1_DTSEC1: in board_ft_fman_fixup_port() 229 for (i = FM1_DTSEC1; i < NUM_FM_PORTS; i++) { in fdt_fixup_board_enet() 316 fm_info_set_phy_address(FM1_DTSEC1, in board_eth_init() 339 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init() 340 idx = i - FM1_DTSEC1; in board_eth_init()
|
| /OK3568_Linux_fs/u-boot/board/freescale/t102xrdb/ |
| H A D | eth_t102xrdb.c | 78 fm_info_set_phy_address(FM1_DTSEC1, SGMII_RTK_PHY_ADDR); in board_eth_init() 87 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
|
| /OK3568_Linux_fs/u-boot/board/freescale/t4qds/ |
| H A D | eth.c | 185 case FM1_DTSEC1: in board_ft_fman_fixup_port() 350 for (i = FM1_DTSEC1; i < NUM_FM_PORTS; i++) { in fdt_fixup_board_enet() 452 qsgmiiphy_fix[FM1_DTSEC1] = 1; in initialize_qsgmiiphy_fix() 547 fm_info_set_phy_address(FM1_DTSEC1, slot_qsgmii_phyaddr[2][0]); in board_eth_init() 562 fm_info_set_phy_address(FM1_DTSEC1, slot_qsgmii_phyaddr[2][0]); in board_eth_init() 589 fm_info_set_phy_address(FM1_DTSEC1, slot_qsgmii_phyaddr[2][0]); in board_eth_init() 599 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init() 600 idx = i - FM1_DTSEC1; in board_eth_init()
|
| /OK3568_Linux_fs/u-boot/board/freescale/t4rdb/ |
| H A D | eth.c | 72 fm_info_set_phy_address(FM1_DTSEC1, SGMII_PHY_ADDR1); in board_eth_init() 83 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
|