Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/cxgb3/
Dadapter.h236 unsigned long open_device_map; member
313 return test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_running()
Dcxgb3_main.c1321 int adap_up = adapter->open_device_map & PORT_MASK; in offload_open()
1324 if (test_and_set_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) in offload_open()
1353 clear_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_open()
1364 if (!test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) in offload_close()
1378 clear_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_close()
1380 if (!adapter->open_device_map) in offload_close()
1391 int other_ports = adapter->open_device_map & PORT_MASK; in cxgb_open()
1394 if (!adapter->open_device_map && (err = cxgb_up(adapter)) < 0) in cxgb_open()
1397 set_bit(pi->port_id, &adapter->open_device_map); in cxgb_open()
1425 if (!adapter->open_device_map) in __cxgb_close()
[all …]
Dcxgb3_offload.c70 return test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_activated()
/linux-2.6.39/drivers/net/chelsio/
Dcxgb2.c254 int other_ports = adapter->open_device_map & PORT_MASK; in cxgb_open()
257 if (!adapter->open_device_map && (err = cxgb_up(adapter)) < 0) { in cxgb_open()
262 __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()
930 if (adapter->open_device_map & PORT_MASK) in mac_stats_task()
Dcommon.h233 unsigned long open_device_map; member
Dsge.c751 if (adapter->open_device_map) { in t1_set_vlan_accel()
2004 if (adapter->open_device_map & PORT_MASK) { in espibug_workaround_t204()
/linux-2.6.39/drivers/net/cxgb4vf/
Dadapter.h351 unsigned long open_device_map; member
Dcxgb4vf_main.c740 if (adapter->open_device_map == 0) { in cxgb4vf_open()
758 set_bit(pi->port_id, &adapter->open_device_map); in cxgb4vf_open()
762 if (adapter->open_device_map == 0) in cxgb4vf_open()
781 clear_bit(pi->port_id, &adapter->open_device_map); in cxgb4vf_stop()
782 if (adapter->open_device_map == 0) in cxgb4vf_stop()