Home
last modified time | relevance | path

Searched refs:open_device_map (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c1350 int adap_up = adapter->open_device_map & PORT_MASK; in offload_open()
1353 if (test_and_set_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) in offload_open()
1382 clear_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_open()
1393 if (!test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) in offload_close()
1407 clear_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_close()
1409 if (!adapter->open_device_map) in offload_close()
1420 int other_ports = adapter->open_device_map & PORT_MASK; in cxgb_open()
1423 if (!adapter->open_device_map && (err = cxgb_up(adapter)) < 0) in cxgb_open()
1426 set_bit(pi->port_id, &adapter->open_device_map); in cxgb_open()
1453 if (!adapter->open_device_map) in __cxgb_close()
[all …]
Dadapter.h227 unsigned long open_device_map; member
304 return test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_running()
Dcxgb3_offload.c74 return test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_activated()
/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c252 int other_ports = adapter->open_device_map & PORT_MASK; in cxgb_open()
255 if (!adapter->open_device_map && (err = cxgb_up(adapter)) < 0) { in cxgb_open()
260 __set_bit(dev->if_port, &adapter->open_device_map); in cxgb_open()
282 clear_bit(dev->if_port, &adapter->open_device_map); in cxgb_close()
284 !(adapter->open_device_map & PORT_MASK)) { in cxgb_close()
292 if (!adapter->open_device_map) in cxgb_close()
909 if (adapter->open_device_map & PORT_MASK) in mac_stats_task()
Dcommon.h233 unsigned long open_device_map; member
Dsge.c741 if (adapter->open_device_map) { in t1_vlan_mode()
1990 if (adapter->open_device_map & PORT_MASK) { in espibug_workaround_t204()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h345 unsigned long open_device_map; member
Dcxgb4vf_main.c744 if (adapter->open_device_map == 0) { in cxgb4vf_open()
762 set_bit(pi->port_id, &adapter->open_device_map); in cxgb4vf_open()
766 if (adapter->open_device_map == 0) in cxgb4vf_open()
785 clear_bit(pi->port_id, &adapter->open_device_map); in cxgb4vf_stop()
786 if (adapter->open_device_map == 0) in cxgb4vf_stop()