Lines Matching refs:port

146  * Called when a port's link settings change to propagate the new values to the
153 struct cphy *phy = adapter->port[port_id].phy;
154 struct link_config *lc = &adapter->port[port_id].link_config;
165 struct cmac *mac = adapter->port[port_id].mac;
200 struct cphy *phy = adapter->port[p].phy;
599 * Read a port's MAC address from the VPD ROM.
687 phy = adapter->port[i].phy;
696 phy = adapter->port[0].phy;
711 phy = adapter->port[p].phy;
723 phy = adapter->port[0].phy;
735 struct cmac *mac = adapter->port[0].mac;
768 /* Enable MAC/PHY interrupts for each port. */
770 adapter->port[i].mac->ops->interrupt_enable(adapter->port[i].mac);
771 adapter->port[i].phy->ops->interrupt_enable(adapter->port[i].phy);
798 /* Disable MAC/PHY interrupts for each port. */
800 adapter->port[i].mac->ops->interrupt_disable(adapter->port[i].mac);
801 adapter->port[i].phy->ops->interrupt_disable(adapter->port[i].phy);
824 /* Clear MAC/PHY interrupts for each port. */
826 adapter->port[i].mac->ops->interrupt_clear(adapter->port[i].mac);
827 adapter->port[i].phy->ops->interrupt_clear(adapter->port[i].phy);
1013 struct cmac *mac = adapter->port[i].mac;
1014 struct cphy *phy = adapter->port[i].phy;
1091 adapter->port[i].phy = bi->gphy->create(adapter->port[i].dev,
1093 if (!adapter->port[i].phy) {
1099 adapter->port[i].mac = mac = bi->gmac->create(adapter, i);
1107 * Get the port's MAC addresses either from the EEPROM if one
1114 adapter->port[i].dev->name);
1117 memcpy(adapter->port[i].dev->dev_addr, hw_addr, ETH_ALEN);
1118 init_link_config(&adapter->port[i].link_config, bi);