Lines Matching refs:port_id

638 		pi->port_id = i;  in cxgb_controller_attach()
972 snprintf(buf, sizeof(buf), "Port %d %s", p->port_id, desc); in cxgb_port_probe()
1009 device_get_unit(device_get_parent(dev)), p->port_id); in cxgb_port_attach()
1219 t3_os_link_changed(adapter_t *adapter, int port_id, int link_status, int speed, in t3_os_link_changed() argument
1222 struct port_info *pi = &adapter->port[port_id]; in t3_os_link_changed()
1251 void t3_os_phymod_changed(struct adapter *adap, int port_id) in t3_os_phymod_changed() argument
1256 struct port_info *pi = &adap->port[port_id]; in t3_os_phymod_changed()
1713 if (isset(&sc->open_device_map, p->port_id) && in cxgb_init_locked()
1718 t3_port_intr_enable(sc, p->port_id); in cxgb_init_locked()
1737 setbit(&sc->open_device_map, p->port_id); in cxgb_init_locked()
1812 clrbit(&sc->open_device_map, pi->port_id); in cxgb_uninit_synchronized()
1813 t3_port_intr_disable(sc, pi->port_id); in cxgb_uninit_synchronized()
1844 t3_os_link_changed(sc, pi->port_id, 0, 0, 0, 0, 0); in cxgb_uninit_synchronized()
2212 if (!isset(&sc->open_device_map, pi->port_id)) in link_check_callout()
2224 if (!isset(&sc->open_device_map, pi->port_id)) in check_link_status()
2227 t3_link_changed(sc, pi->port_id); in check_link_status()
2260 if (!isset(&sc->open_device_map, p->port_id) || p->link_fault || in check_t3b2_mac()
2278 t3_port_intr_enable(sc, p->port_id); in check_t3b2_mac()
2346 if (!isset(&sc->open_device_map, pi->port_id)) in cxgb_tick_handler()
3335 if (isset(&sc->offload_map, pi->port_id)) in toe_capability()
3353 setbit(&sc->offload_map, pi->port_id); in toe_capability()
3364 if (!isset(&sc->offload_map, pi->port_id)) in toe_capability()
3369 clrbit(&sc->offload_map, pi->port_id); in toe_capability()