Searched refs:mdio_mux (Results 1 – 9 of 9) sorted by relevance
94 } mdio_mux[NUM_FM_PORTS]; variable437 memset(mdio_mux, 0, sizeof(mdio_mux)); in board_eth_init()522 mdio_mux[i].mask = BRDCFG1_EMI1_SEL_MASK; in board_eth_init()527 mdio_mux[i].val = BRDCFG1_EMI1_SEL_SLOT1 | in board_eth_init()531 mdio_mux[i].val = BRDCFG1_EMI1_SEL_SLOT2 | in board_eth_init()535 mdio_mux[i].val = BRDCFG1_EMI1_SEL_SLOT3 | in board_eth_init()539 mdio_mux[i].val = BRDCFG1_EMI1_SEL_SLOT5 | in board_eth_init()543 mdio_mux[i].val = BRDCFG1_EMI1_SEL_SLOT6 | in board_eth_init()547 mdio_mux[i].val = BRDCFG1_EMI1_SEL_SLOT7 | in board_eth_init()553 mdio_mux[i].mask, mdio_mux[i].val); in board_eth_init()[all …]
42 static int mdio_mux[NUM_FM_PORTS]; variable224 if (mdio_mux[port] == EMI1_RGMII) in board_ft_fman_fixup_port()227 if (mdio_mux[port] == EMI1_SLOT3) { in board_ft_fman_fixup_port()268 switch (mdio_mux[i]) { in fdt_fixup_board_enet()299 mdio_mux[i] = EMI_NONE; in board_eth_init()350 mdio_mux[i] = EMI1_SLOT3; in board_eth_init()352 mii_dev_for_muxval(mdio_mux[i])); in board_eth_init()355 mdio_mux[i] = EMI1_SLOT4; in board_eth_init()357 mii_dev_for_muxval(mdio_mux[i])); in board_eth_init()360 mdio_mux[i] = EMI1_SLOT5; in board_eth_init()[all …]
89 } mdio_mux[NUM_FM_PORTS]; variable240 unsigned int mux = mdio_mux[port].val & mdio_mux[port].mask; in board_ft_fman_fixup_port()348 mdio_mux[i].val); in fdt_fixup_board_enet()381 memset(mdio_mux, 0, sizeof(mdio_mux)); in board_eth_init()420 mdio_mux[i].mask = BRDCFG1_EMI1_SEL_MASK; in board_eth_init()424 mdio_mux[i].val = BRDCFG1_EMI1_SEL_SLOT1 | in board_eth_init()428 mdio_mux[i].val = BRDCFG1_EMI1_SEL_SLOT2 | in board_eth_init()432 mdio_mux[i].val = BRDCFG1_EMI1_SEL_SLOT5 | in board_eth_init()436 mdio_mux[i].val = BRDCFG1_EMI1_SEL_SLOT6 | in board_eth_init()440 mdio_mux[i].val = BRDCFG1_EMI1_SEL_SLOT7 | in board_eth_init()[all …]
58 static int mdio_mux[NUM_FM_PORTS]; variable269 if (mdio_mux[port] == EMI1_SLOT2) { in board_ft_fman_fixup_port()273 } else if (mdio_mux[port] == EMI1_SLOT3) { in board_ft_fman_fixup_port()303 if (mdio_mux[port] == EMI1_SLOT1) { in board_ft_fman_fixup_port()307 } else if (mdio_mux[port] == EMI1_SLOT2) { in board_ft_fman_fixup_port()320 if (mdio_mux[port] == EMI1_SLOT2) { in board_ft_fman_fixup_port()324 } else if (mdio_mux[port] == EMI1_SLOT3) { in board_ft_fman_fixup_port()328 } else if (mdio_mux[port] == EMI1_SLOT5) { in board_ft_fman_fixup_port()332 } else if (mdio_mux[port] == EMI1_SLOT6) { in board_ft_fman_fixup_port()336 } else if (mdio_mux[port] == EMI1_SLOT7) { in board_ft_fman_fixup_port()[all …]
63 static int mdio_mux[NUM_FM_PORTS]; variable328 switch (mdio_mux[i]) { in fdt_fixup_board_enet()380 mdio_mux[i] = EMI1_SLOT1; in t1040_handle_phy_interface_sgmii()381 fm_info_set_mdio(i, mii_dev_for_muxval(mdio_mux[i])); in t1040_handle_phy_interface_sgmii()389 mdio_mux[i] = EMI1_SLOT3; in t1040_handle_phy_interface_sgmii()391 fm_info_set_mdio(i, mii_dev_for_muxval(mdio_mux[i])); in t1040_handle_phy_interface_sgmii()394 mdio_mux[i] = EMI1_SLOT4; in t1040_handle_phy_interface_sgmii()395 fm_info_set_mdio(i, mii_dev_for_muxval(mdio_mux[i])); in t1040_handle_phy_interface_sgmii()400 mdio_mux[i] = EMI1_SLOT5; in t1040_handle_phy_interface_sgmii()401 fm_info_set_mdio(i, mii_dev_for_muxval(mdio_mux[i])); in t1040_handle_phy_interface_sgmii()[all …]
39 static int mdio_mux[NUM_FM_PORTS]; variable269 mdio_mux[i] = EMI_NONE; in board_eth_init()389 mdio_mux[i] = EMI1_SLOT2; in board_eth_init()391 mdio_mux[i])); in board_eth_init()394 mdio_mux[i] = EMI1_SLOT3; in board_eth_init()396 mdio_mux[i])); in board_eth_init()399 mdio_mux[i] = EMI1_SLOT4; in board_eth_init()401 mdio_mux[i])); in board_eth_init()404 mdio_mux[i] = EMI1_SLOT5; in board_eth_init()406 mdio_mux[i])); in board_eth_init()[all …]
30 static int mdio_mux[NUM_FM_PORTS]; variable189 switch (mdio_mux[port]) { in board_ft_fman_fixup_port()269 switch (mdio_mux[i]) { in fdt_fixup_board_enet()309 mdio_mux[i] = EMI_NONE; in board_eth_init()454 mdio_mux[i] = EMI1_SLOT1; in board_eth_init()456 mdio_mux[i])); in board_eth_init()459 mdio_mux[i] = EMI1_SLOT2; in board_eth_init()461 mdio_mux[i])); in board_eth_init()464 mdio_mux[i] = EMI1_SLOT3; in board_eth_init()466 mdio_mux[i])); in board_eth_init()[all …]
27 static int mdio_mux[NUM_FM_PORTS]; variable232 switch (mdio_mux[i]) { in fdt_fixup_board_enet()271 mdio_mux[i] = EMI_NONE; in board_eth_init()380 mdio_mux[i] = EMI1_SLOT1; in board_eth_init()382 mdio_mux[i])); in board_eth_init()385 mdio_mux[i] = EMI1_SLOT2; in board_eth_init()387 mdio_mux[i])); in board_eth_init()390 mdio_mux[i] = EMI1_SLOT4; in board_eth_init()392 mdio_mux[i])); in board_eth_init()401 mdio_mux[i] = EMI1_RGMII1; in board_eth_init()[all …]
42 static int mdio_mux[NUM_FM_PORTS]; variable353 switch (mdio_mux[i]) { in fdt_fixup_board_enet()504 mdio_mux[i] = EMI_NONE; in board_eth_init()629 mdio_mux[i] = EMI1_SLOT1; in board_eth_init()631 mii_dev_for_muxval(mdio_mux[i])); in board_eth_init()634 mdio_mux[i] = EMI1_SLOT2; in board_eth_init()636 mii_dev_for_muxval(mdio_mux[i])); in board_eth_init()646 mdio_mux[i] = EMI1_RGMII; in board_eth_init()648 mii_dev_for_muxval(mdio_mux[i])); in board_eth_init()671 mdio_mux[i] = EMI2; in board_eth_init()[all …]