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

/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A Dadapter.h226 unsigned long open_device_map; member in struct:adapter
303 return test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map);
H A Dcxgb3_main.c1351 int adap_up = adapter->open_device_map & PORT_MASK;
1354 if (test_and_set_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map))
1383 clear_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map);
1394 if (!test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map))
1408 clear_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map);
1410 if (!adapter->open_device_map)
1421 int other_ports = adapter->open_device_map & PORT_MASK;
1424 if (!adapter->open_device_map && (err = cxgb_up(adapter)) < 0)
1427 set_bit(pi->port_id, &adapter->open_device_map);
1454 if (!adapter->open_device_map)
[all...]
H A Dcxgb3_offload.c74 return test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map);
/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Dcxgb2.c247 int other_ports = adapter->open_device_map & PORT_MASK;
250 if (!adapter->open_device_map && (err = cxgb_up(adapter)) < 0) {
255 __set_bit(dev->if_port, &adapter->open_device_map);
277 clear_bit(dev->if_port, &adapter->open_device_map);
279 !(adapter->open_device_map & PORT_MASK)) {
287 if (!adapter->open_device_map)
922 if (adapter->open_device_map & PORT_MASK)
H A Dcommon.h225 unsigned long open_device_map; member in struct:adapter
H A Dsge.c735 if (adapter->open_device_map) {
2025 if (adapter->open_device_map & PORT_MASK) {
/linux-master/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dadapter.h375 unsigned long open_device_map; member in struct:adapter
H A Dcxgb4vf_main.c850 if (adapter->open_device_map == 0) {
873 set_bit(pi->port_id, &adapter->open_device_map);
877 if (adapter->open_device_map == 0)
895 clear_bit(pi->port_id, &adapter->open_device_map);
896 if (adapter->open_device_map == 0)

Completed in 192 milliseconds