Lines Matching refs:mac
156 struct cmac *mac = adapter->port[port_id].mac; in t1_link_changed() local
158 mac->ops->set_speed_duplex_fc(mac, speed, duplex, fc); in t1_link_changed()
626 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t1_link_start() argument
634 (mac->adapter->params.nports < 2))) in t1_link_start()
648 mac->ops->set_speed_duplex_fc(mac, lc->speed, in t1_link_start()
660 mac->ops->set_speed_duplex_fc(mac, -1, -1, fc); in t1_link_start()
738 struct cmac *mac = adapter->port[0].mac; in t1_elmer0_ext_intr_handler() local
740 mac->ops->interrupt_handler(mac); in t1_elmer0_ext_intr_handler()
773 adapter->port[i].mac->ops->interrupt_enable(adapter->port[i].mac); in t1_interrupts_enable()
803 adapter->port[i].mac->ops->interrupt_disable(adapter->port[i].mac); in t1_interrupts_disable()
829 adapter->port[i].mac->ops->interrupt_clear(adapter->port[i].mac); in t1_interrupts_clear()
1030 struct cmac *mac = adapter->port[i].mac; in t1_free_sw_modules() local
1033 if (mac) in t1_free_sw_modules()
1034 mac->ops->destroy(mac); in t1_free_sw_modules()
1105 struct cmac *mac; in t1_init_sw_modules() local
1116 adapter->port[i].mac = mac = bi->gmac->create(adapter, i); in t1_init_sw_modules()
1117 if (!mac) { in t1_init_sw_modules()
1128 mac->ops->macaddress_get(mac, hw_addr); in t1_init_sw_modules()