Lines Matching refs:mac
165 struct cmac *mac = adapter->port[port_id].mac; in t1_link_changed() local
167 mac->ops->set_speed_duplex_fc(mac, speed, duplex, fc); in t1_link_changed()
623 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t1_link_start() argument
631 (mac->adapter->params.nports < 2))) in t1_link_start()
645 mac->ops->set_speed_duplex_fc(mac, lc->speed, in t1_link_start()
657 mac->ops->set_speed_duplex_fc(mac, -1, -1, fc); in t1_link_start()
735 struct cmac *mac = adapter->port[0].mac; in t1_elmer0_ext_intr_handler() local
737 mac->ops->interrupt_handler(mac); in t1_elmer0_ext_intr_handler()
770 adapter->port[i].mac->ops->interrupt_enable(adapter->port[i].mac); in t1_interrupts_enable()
800 adapter->port[i].mac->ops->interrupt_disable(adapter->port[i].mac); in t1_interrupts_disable()
826 adapter->port[i].mac->ops->interrupt_clear(adapter->port[i].mac); in t1_interrupts_clear()
1013 struct cmac *mac = adapter->port[i].mac; in t1_free_sw_modules() local
1016 if (mac) in t1_free_sw_modules()
1017 mac->ops->destroy(mac); in t1_free_sw_modules()
1088 struct cmac *mac; in t1_init_sw_modules() local
1099 adapter->port[i].mac = mac = bi->gmac->create(adapter, i); in t1_init_sw_modules()
1100 if (!mac) { in t1_init_sw_modules()
1111 mac->ops->macaddress_get(mac, hw_addr); in t1_init_sw_modules()