Home
last modified time | relevance | path

Searched refs:FM1_DTSEC1 (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/u-boot/drivers/net/fm/
H A Dt1024.c14 [FM1_DTSEC1] = FSL_CORENET_DEVDISR2_DTSEC1_1,
59 case FM1_DTSEC1: in fman_port_enet_if()
62 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
65 + port - FM1_DTSEC1)) in fman_port_enet_if()
74 case FM1_DTSEC1: in fman_port_enet_if()
H A Dp4080.c13 [FM1_DTSEC1] = FSL_CORENET_DEVDISR2_DTSEC1_1,
38 if (port == FM1_DTSEC1) in fman_disable_port()
66 if ((port == FM1_DTSEC1) && ((rcwsr11 & FSL_CORENET_RCWSR11_EC1) == in fman_port_enet_if()
79 case FM1_DTSEC1: in fman_port_enet_if()
83 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
H A Dt1040.c47 case FM1_DTSEC1: in fman_port_enet_if()
49 if (is_serdes_configured(QSGMII_SW1_A + port - FM1_DTSEC1) || in fman_port_enet_if()
50 is_serdes_configured(SGMII_SW1_MAC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
55 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
H A Dp5020.c13 [FM1_DTSEC1] = FSL_CORENET_DEVDISR2_DTSEC1_1,
34 if (port == FM1_DTSEC1) in fman_disable_port()
76 case FM1_DTSEC1: in fman_port_enet_if()
81 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
H A Dls1043.c22 [FM1_DTSEC1] = FSL_CHASSIS2_DEVDISR2_DTSEC1_1,
78 case FM1_DTSEC1: in fman_port_enet_if()
86 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
98 case FM1_DTSEC1: in fman_port_enet_if()
H A Db4860.c15 [FM1_DTSEC1] = FSL_CORENET_DEVDISR2_DTSEC1_1,
110 else if ((port == FM1_DTSEC1) || in fman_port_enet_if()
123 case FM1_DTSEC1: in fman_port_enet_if()
129 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
H A Dp5040.c13 [FM1_DTSEC1] = FSL_CORENET_DEVDISR2_DTSEC1_1,
40 if (port == FM1_DTSEC1) in fman_disable_port()
85 case FM1_DTSEC1: in fman_port_enet_if()
90 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
H A Dp1023.c13 [FM1_DTSEC1] = MPC85xx_DEVDISR_TSEC1,
30 if (port == FM1_DTSEC1) in fman_disable_port()
52 if (port == FM1_DTSEC1) { in fman_port_enet_if()
H A Dt4240.c14 [FM1_DTSEC1] = FSL_CORENET_DEVDISR2_DTSEC1_1,
105 case FM1_DTSEC1: in fman_port_enet_if()
113 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
133 case FM1_DTSEC1: in fman_port_enet_if()
H A Dt2080.c15 [FM1_DTSEC1] = FSL_CORENET_DEVDISR2_DTSEC1_1,
76 case FM1_DTSEC1: in fman_port_enet_if()
84 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1)) in fman_port_enet_if()
/openbmc/u-boot/board/freescale/t102xqds/
H A Deth_t102xqds.c179 if (port == FM1_DTSEC1) { in board_ft_fman_fixup_port()
193 case FM1_DTSEC1: in board_ft_fman_fixup_port()
304 fm_info_set_phy_address(FM1_DTSEC1, 0x8); in board_eth_init()
324 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_AQ_PHY_ADDR_S5); in board_eth_init()
329 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_AQ_PHY_ADDR_S5); in board_eth_init()
334 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT1_PHY_ADDR); in board_eth_init()
337 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT1_PHY_ADDR); in board_eth_init()
348 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT1_PHY_ADDR); in board_eth_init()
352 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT1_PHY_ADDR); in board_eth_init()
360 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
[all …]
/openbmc/u-boot/board/freescale/p2041rdb/
H A Deth.c100 + (port - FM1_DTSEC1)); in board_ft_fman_fixup_port()
105 + (port - FM1_DTSEC1)); in board_ft_fman_fixup_port()
154 fm_info_set_phy_address(FM1_DTSEC1, CONFIG_SYS_FM1_DTSEC1_PHY_ADDR); in board_eth_init()
158 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
159 int idx = i - FM1_DTSEC1; in board_eth_init()
/openbmc/u-boot/board/freescale/t104xrdb/
H A Deth.c41 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
42 int idx = i - FM1_DTSEC1; in board_eth_init()
57 if ((FM1_DTSEC1 == i) || (FM1_DTSEC2 == i)) in board_eth_init()
69 if (FM1_DTSEC1 == i) in board_eth_init()
/openbmc/u-boot/board/freescale/corenet_ds/
H A Deth_hydra.c266 CONFIG_SYS_FM1_DTSEC1_PHY_ADDR + (port - FM1_DTSEC1)); in board_ft_fman_fixup_port()
338 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in fdt_fixup_board_enet()
339 int idx = i - FM1_DTSEC1; in fdt_fixup_board_enet()
406 fm_info_set_phy_address(FM1_DTSEC1, CONFIG_SYS_FM1_DTSEC1_PHY_ADDR); in board_eth_init()
411 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
412 int idx = i - FM1_DTSEC1; in board_eth_init()
479 set_sgmii_phy(bus, FM1_DTSEC1, CONFIG_SYS_NUM_FM1_DTSEC, PHY_BASE_ADDR); in board_eth_init()
H A Deth_superhydra.c301 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in fdt_fixup_board_enet()
302 int idx = i - FM1_DTSEC1; in fdt_fixup_board_enet()
472 fm_info_set_phy_address(FM1_DTSEC1, CONFIG_SYS_FM1_DTSEC1_PHY_ADDR); in board_eth_init()
513 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
514 int idx = i - FM1_DTSEC1; in board_eth_init()
590 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + PORT_NUM_FM1; i++) { in board_eth_init()
593 phy_real_addr = PHY_BASE_ADDR + i - FM1_DTSEC1; in board_eth_init()
/openbmc/u-boot/board/freescale/ls1043aqds/
H A Deth.c192 case FM1_DTSEC1: in board_ft_fman_fixup_port()
214 case FM1_DTSEC1: in board_ft_fman_fixup_port()
265 for (i = FM1_DTSEC1; i < NUM_FM_PORTS; i++) { in fdt_fixup_board_enet()
347 fm_info_set_phy_address(FM1_DTSEC1, in board_eth_init()
380 fm_info_set_phy_address(FM1_DTSEC1, in board_eth_init()
393 fm_info_set_phy_address(FM1_DTSEC1, in board_eth_init()
425 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
426 idx = i - FM1_DTSEC1; in board_eth_init()
/openbmc/u-boot/board/freescale/b4860qds/
H A Deth_b4860qds.c240 fm_info_set_phy_address(FM1_DTSEC1, in board_eth_init()
253 fm_info_set_phy_address(FM1_DTSEC1, in board_eth_init()
317 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
318 int idx = i - FM1_DTSEC1; in board_eth_init()
442 for (i = FM1_DTSEC1; i <= FM1_10GEC2; i++) { in fdt_fixup_board_enet()
/openbmc/u-boot/board/freescale/t208xqds/
H A Deth_t208xqds.c220 case FM1_DTSEC1: in board_ft_fman_fixup_port()
314 case FM1_DTSEC1: in board_ft_fman_fixup_port()
581 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT3_PHY_ADDR); in board_eth_init()
630 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT3_PHY_ADDR); in board_eth_init()
636 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT3_PHY_ADDR); in board_eth_init()
650 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT3_PHY_ADDR); in board_eth_init()
662 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT3_PHY_ADDR); in board_eth_init()
671 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT3_PHY_ADDR); in board_eth_init()
686 fm_info_set_phy_address(FM1_DTSEC1, SGMII_CARD_PORT1_PHY_ADDR); in board_eth_init()
702 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
[all …]
/openbmc/u-boot/board/freescale/ls1043ardb/
H A Deth.c49 fm_info_set_phy_address(FM1_DTSEC1, QSGMII_PORT1_PHY_ADDR); in board_eth_init()
64 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) in board_eth_init()
/openbmc/u-boot/board/freescale/t1040qds/
H A Deth.c308 (fm_info_get_phy_address(port - FM1_DTSEC1)- in board_ft_fman_fixup_port()
319 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in fdt_fixup_board_enet()
320 idx = i - FM1_DTSEC1; in fdt_fixup_board_enet()
370 idx = i - FM1_DTSEC1; in t1040_handle_phy_interface_sgmii()
410 if (FM1_DTSEC1 == i) in t1040_handle_phy_interface_sgmii()
484 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
/openbmc/u-boot/board/freescale/t102xrdb/
H A Deth_t102xrdb.c77 fm_info_set_phy_address(FM1_DTSEC1, SGMII_RTK_PHY_ADDR); in board_eth_init()
86 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
/openbmc/u-boot/board/freescale/t4rdb/
H A Deth.c71 fm_info_set_phy_address(FM1_DTSEC1, SGMII_PHY_ADDR1); in board_eth_init()
82 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
/openbmc/u-boot/board/freescale/ls1046aqds/
H A Deth.c195 case FM1_DTSEC1: in board_ft_fman_fixup_port()
243 for (i = FM1_DTSEC1; i < NUM_FM_PORTS; i++) { in fdt_fixup_board_enet()
330 fm_info_set_phy_address(FM1_DTSEC1, in board_eth_init()
353 for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { in board_eth_init()
354 idx = i - FM1_DTSEC1; in board_eth_init()
/openbmc/u-boot/board/keymile/kmp204x/
H A Deth.c30 fm_disable_port(FM1_DTSEC1); in board_eth_init()
44 fm_enable_port(FM1_DTSEC1); in board_eth_init()
/openbmc/u-boot/board/freescale/common/
H A Dfman.c71 [FM1_DTSEC1] = SGMII_FM1_DTSEC1, in serdes_device_from_fm_port()
85 if ((port < FM1_DTSEC1) || (port > FM2_10GEC1)) in serdes_device_from_fm_port()

12