Lines Matching defs:port_id
641 pi->port_id = i;
975 snprintf(buf, sizeof(buf), "Port %d %s", p->port_id, desc);
1012 device_get_unit(device_get_parent(dev)), p->port_id);
1215 * @port_id: the port index whose link status has changed
1226 t3_os_link_changed(adapter_t *adapter, int port_id, int link_status, int speed,
1229 struct port_info *pi = &adapter->port[port_id];
1258 void t3_os_phymod_changed(struct adapter *adap, int port_id)
1263 struct port_info *pi = &adap->port[port_id];
1720 if (isset(&sc->open_device_map, p->port_id) &&
1725 t3_port_intr_enable(sc, p->port_id);
1744 setbit(&sc->open_device_map, p->port_id);
1819 clrbit(&sc->open_device_map, pi->port_id);
1820 t3_port_intr_disable(sc, pi->port_id);
1851 t3_os_link_changed(sc, pi->port_id, 0, 0, 0, 0, 0);
2286 if (!isset(&sc->open_device_map, pi->port_id))
2298 if (!isset(&sc->open_device_map, pi->port_id))
2301 t3_link_changed(sc, pi->port_id);
2334 if (!isset(&sc->open_device_map, p->port_id) || p->link_fault ||
2352 t3_port_intr_enable(sc, p->port_id);
2434 if (!isset(&sc->open_device_map, pi->port_id))
3396 if (isset(&sc->offload_map, pi->port_id))
3414 setbit(&sc->offload_map, pi->port_id);
3425 if (!isset(&sc->offload_map, pi->port_id))
3430 clrbit(&sc->offload_map, pi->port_id);