Lines Matching refs:port_id

199 void t3_os_link_fault(struct adapter *adap, int port_id, int state)  in t3_os_link_fault()  argument
201 struct net_device *dev = adap->port[port_id]; in t3_os_link_fault()
215 t3_xgm_intr_disable(adap, pi->port_id); in t3_os_link_fault()
226 t3_xgm_intr_enable(adap, pi->port_id); in t3_os_link_fault()
251 void t3_os_link_changed(struct adapter *adapter, int port_id, int link_stat, in t3_os_link_changed() argument
254 struct net_device *dev = adapter->port[port_id]; in t3_os_link_changed()
269 t3_xgm_intr_disable(adapter, pi->port_id); in t3_os_link_changed()
279 t3_xgm_intr_enable(adapter, pi->port_id); in t3_os_link_changed()
285 t3_xgm_intr_disable(adapter, pi->port_id); in t3_os_link_changed()
315 void t3_os_phymod_changed(struct adapter *adap, int port_id) in t3_os_phymod_changed() argument
321 const struct net_device *dev = adap->port[port_id]; in t3_os_phymod_changed()
1183 t3_set_vlan_accel(adapter, 1 << pi->port_id, in cxgb_vlan_mode()
1426 set_bit(pi->port_id, &adapter->open_device_map); in cxgb_open()
1438 t3_port_intr_enable(adapter, pi->port_id); in cxgb_open()
1443 cxgb3_event_notify(&adapter->tdev, OFFLOAD_PORT_UP, pi->port_id); in cxgb_open()
1457 t3_xgm_intr_disable(adapter, pi->port_id); in __cxgb_close()
1460 t3_port_intr_disable(adapter, pi->port_id); in __cxgb_close()
1467 clear_bit(pi->port_id, &adapter->open_device_map); in __cxgb_close()
1476 cxgb3_event_notify(&adapter->tdev, OFFLOAD_PORT_DOWN, pi->port_id); in __cxgb_close()
2556 write_smt_entry(adapter, pi->port_id); in cxgb_set_mac_addr()
2681 t3_port_intr_enable(adapter, p->port_id); in check_t3b2_mac()
2859 void t3_os_link_fault_handler(struct adapter *adapter, int port_id) in t3_os_link_fault_handler() argument
2861 struct net_device *netdev = adapter->port[port_id]; in t3_os_link_fault_handler()
3280 pi->port_id = i; in init_one()