Lines Matching refs:open_device_map
1351 int adap_up = adapter->open_device_map & PORT_MASK; in offload_open()
1354 if (test_and_set_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) in offload_open()
1383 clear_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_open()
1394 if (!test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) in offload_close()
1408 clear_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_close()
1410 if (!adapter->open_device_map) in offload_close()
1421 int other_ports = adapter->open_device_map & PORT_MASK; in cxgb_open()
1424 if (!adapter->open_device_map && (err = cxgb_up(adapter)) < 0) in cxgb_open()
1427 set_bit(pi->port_id, &adapter->open_device_map); in cxgb_open()
1454 if (!adapter->open_device_map) in __cxgb_close()
1468 clear_bit(pi->port_id, &adapter->open_device_map); in __cxgb_close()
1471 if (!(adapter->open_device_map & PORT_MASK)) in __cxgb_close()
1474 if (!adapter->open_device_map) in __cxgb_close()
2188 if (test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) { in cxgb_siocdevprivate()
2265 if (test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) { in cxgb_siocdevprivate()
2789 if (adapter->open_device_map & PORT_MASK) in t3_adap_check_task()
2901 test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) { in t3_adapter_error()
3421 &adapter->open_device_map)) in remove_one()