Lines Matching refs:active_phy_addr
103 static u_int8_t active_phy_addr[CONFIG_SYS_DAVINCI_EMAC_PHY_COUNT]; variable
176 active_phy_addr[i] = 0xff; in davinci_eth_phy_detect()
190 active_phy_addr[j++] = i; in davinci_eth_phy_detect()
277 if (phy[i].get_link_speed(active_phy_addr[i])) in get_active_phy()
514 davinci_eth_phy_read(active_phy_addr[index], MII_STAT1000, &lpa_val); in davinci_eth_open()
522 davinci_eth_phy_read(active_phy_addr[index], MII_LPA, &lpa_val); in davinci_eth_open()
657 if (!phy[index].get_link_speed(active_phy_addr[index])) { in davinci_eth_send_packet()
803 if (!davinci_eth_phy_read(active_phy_addr[i], MII_PHYSID1, in davinci_emac_initialize()
805 active_phy_addr[i] = 0xff; in davinci_emac_initialize()
811 if (!davinci_eth_phy_read(active_phy_addr[i], MII_PHYSID2, in davinci_emac_initialize()
813 active_phy_addr[i] = 0xff; in davinci_emac_initialize()
823 active_phy_addr[i]); in davinci_emac_initialize()
833 active_phy_addr[i]); in davinci_emac_initialize()
843 active_phy_addr[i]); in davinci_emac_initialize()
853 active_phy_addr[i]); in davinci_emac_initialize()
862 active_phy_addr[i]); in davinci_emac_initialize()
885 davinci_eth_phy_read(active_phy_addr[i], PHY_CONF_REG, &tmp); in davinci_emac_initialize()
887 davinci_eth_phy_write(active_phy_addr[i], PHY_CONF_REG, tmp); in davinci_emac_initialize()
888 davinci_eth_phy_read(active_phy_addr[i], PHY_CONF_REG, &tmp); in davinci_emac_initialize()