Lines Matching refs:open_device_map
746 KASSERT(sc->open_device_map == 0, ("%s: device(s) still open (%x)", in cxgb_free()
747 __func__, sc->open_device_map)); in cxgb_free()
1581 KASSERT(sc->open_device_map == 0, ("%s: device(s) already open (%x)", in cxgb_up()
1582 __func__, sc->open_device_map)); in cxgb_up()
1708 if (sc->open_device_map == 0 && ((rc = cxgb_up(sc)) != 0)) in cxgb_init_locked()
1712 if (isset(&sc->open_device_map, p->port_id) && in cxgb_init_locked()
1735 setbit(&sc->open_device_map, p->port_id); in cxgb_init_locked()
1810 clrbit(&sc->open_device_map, pi->port_id); in cxgb_uninit_synchronized()
1844 if (sc->open_device_map == 0) in cxgb_uninit_synchronized()
2277 if (!isset(&sc->open_device_map, pi->port_id)) in link_check_callout()
2289 if (!isset(&sc->open_device_map, pi->port_id)) in check_link_status()
2325 if (!isset(&sc->open_device_map, p->port_id) || p->link_fault || in check_t3b2_mac()
2331 __func__, if_getdrvflags(ifp), sc->open_device_map)); in check_t3b2_mac()
2390 if (p->rev == T3_REV_B2 && p->nports < 4 && sc->open_device_map) in cxgb_tick_handler()
2425 if (!isset(&sc->open_device_map, pi->port_id)) in cxgb_tick_handler()
2696 if (sc->open_device_map || sc->flags & FULL_INIT_DONE) { in cxgb_extension_ioctl()
2896 if (sc->open_device_map == 0) in cxgb_extension_ioctl()