Lines Matching refs:port_id
635 pi->port_id = i; in cxgb_controller_attach()
968 device_set_descf(dev, "Port %d %s", p->port_id, desc); in cxgb_port_probe()
1004 device_get_unit(device_get_parent(dev)), p->port_id); in cxgb_port_attach()
1173 t3_os_link_changed(adapter_t *adapter, int port_id, int link_status, int speed, in t3_os_link_changed() argument
1176 struct port_info *pi = &adapter->port[port_id]; in t3_os_link_changed()
1205 void t3_os_phymod_changed(struct adapter *adap, int port_id) in t3_os_phymod_changed() argument
1210 struct port_info *pi = &adap->port[port_id]; in t3_os_phymod_changed()
1667 if (isset(&sc->open_device_map, p->port_id) && in cxgb_init_locked()
1672 t3_port_intr_enable(sc, p->port_id); in cxgb_init_locked()
1690 setbit(&sc->open_device_map, p->port_id); in cxgb_init_locked()
1765 clrbit(&sc->open_device_map, pi->port_id); in cxgb_uninit_synchronized()
1766 t3_port_intr_disable(sc, pi->port_id); in cxgb_uninit_synchronized()
1797 t3_os_link_changed(sc, pi->port_id, 0, 0, 0, 0, 0); in cxgb_uninit_synchronized()
2232 if (!isset(&sc->open_device_map, pi->port_id)) in link_check_callout()
2244 if (!isset(&sc->open_device_map, pi->port_id)) in check_link_status()
2247 t3_link_changed(sc, pi->port_id); in check_link_status()
2280 if (!isset(&sc->open_device_map, p->port_id) || p->link_fault || in check_t3b2_mac()
2298 t3_port_intr_enable(sc, p->port_id); in check_t3b2_mac()
2380 if (!isset(&sc->open_device_map, pi->port_id)) in cxgb_tick_handler()
3340 if (isset(&sc->offload_map, pi->port_id)) in toe_capability()
3358 setbit(&sc->offload_map, pi->port_id); in toe_capability()
3369 if (!isset(&sc->offload_map, pi->port_id)) in toe_capability()
3374 clrbit(&sc->offload_map, pi->port_id); in toe_capability()