Lines Matching refs:phy
153 struct cphy *phy = adapter->port[port_id].phy; in t1_link_changed() local
156 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); in t1_link_changed()
200 struct cphy *phy = adapter->port[p].phy; in fpga_phy_intr_handler() local
201 int phy_cause = phy->ops->interrupt_handler(phy); in fpga_phy_intr_handler()
623 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t1_link_start() argument
639 phy->ops->advertise(phy, lc->advertising); in t1_link_start()
648 phy->state = PHY_AUTONEG_RDY; in t1_link_start()
649 phy->ops->set_speed_duplex(phy, lc->speed, lc->duplex); in t1_link_start()
650 phy->ops->reset(phy, 0); in t1_link_start()
652 phy->state = PHY_AUTONEG_EN; in t1_link_start()
653 phy->ops->autoneg_enable(phy); /* also resets PHY */ in t1_link_start()
656 phy->state = PHY_AUTONEG_RDY; in t1_link_start()
659 phy->ops->reset(phy, 0); in t1_link_start()
669 struct cphy *phy; in t1_elmer0_ext_intr_handler() local
687 phy = adapter->port[i].phy; in t1_elmer0_ext_intr_handler()
688 phy_cause = phy->ops->interrupt_handler(phy); in t1_elmer0_ext_intr_handler()
696 phy = adapter->port[0].phy; in t1_elmer0_ext_intr_handler()
697 phy_cause = phy->ops->interrupt_handler(phy); in t1_elmer0_ext_intr_handler()
711 phy = adapter->port[p].phy; in t1_elmer0_ext_intr_handler()
712 phy_cause = phy->ops->interrupt_handler(phy); in t1_elmer0_ext_intr_handler()
723 phy = adapter->port[0].phy; in t1_elmer0_ext_intr_handler()
724 phy_cause = phy->ops->interrupt_handler(phy); in t1_elmer0_ext_intr_handler()
771 adapter->port[i].phy->ops->interrupt_enable(adapter->port[i].phy); in t1_interrupts_enable()
801 adapter->port[i].phy->ops->interrupt_disable(adapter->port[i].phy); in t1_interrupts_disable()
827 adapter->port[i].phy->ops->interrupt_clear(adapter->port[i].phy); in t1_interrupts_clear()
1014 struct cphy *phy = adapter->port[i].phy; in t1_free_sw_modules() local
1018 if (phy) in t1_free_sw_modules()
1019 phy->ops->destroy(phy); in t1_free_sw_modules()
1091 adapter->port[i].phy = bi->gphy->create(adapter->port[i].dev, in t1_init_sw_modules()
1093 if (!adapter->port[i].phy) { in t1_init_sw_modules()