Lines Matching refs:open_device_map
1353 int adap_up = adapter->open_device_map & PORT_MASK; in offload_open()
1356 if (test_and_set_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) in offload_open()
1385 clear_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_open()
1396 if (!test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) in offload_close()
1410 clear_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_close()
1412 if (!adapter->open_device_map) in offload_close()
1423 int other_ports = adapter->open_device_map & PORT_MASK; in cxgb_open()
1426 if (!adapter->open_device_map && (err = cxgb_up(adapter)) < 0) in cxgb_open()
1429 set_bit(pi->port_id, &adapter->open_device_map); in cxgb_open()
1456 if (!adapter->open_device_map) in __cxgb_close()
1470 clear_bit(pi->port_id, &adapter->open_device_map); in __cxgb_close()
1473 if (!(adapter->open_device_map & PORT_MASK)) in __cxgb_close()
1476 if (!adapter->open_device_map) in __cxgb_close()
2198 if (test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) { in cxgb_siocdevprivate()
2275 if (test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) { in cxgb_siocdevprivate()
2799 if (adapter->open_device_map & PORT_MASK) in t3_adap_check_task()
2911 test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) { in t3_adapter_error()
3431 &adapter->open_device_map)) in remove_one()