Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h226 unsigned long open_device_map; member
303 return test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_running()
Dcxgb3_main.c1352 int adap_up = adapter->open_device_map & PORT_MASK; in offload_open()
1355 if (test_and_set_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) in offload_open()
1384 clear_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_open()
1395 if (!test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) in offload_close()
1409 clear_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_close()
1411 if (!adapter->open_device_map) in offload_close()
1422 int other_ports = adapter->open_device_map & PORT_MASK; in cxgb_open()
1425 if (!adapter->open_device_map && (err = cxgb_up(adapter)) < 0) in cxgb_open()
1428 set_bit(pi->port_id, &adapter->open_device_map); in cxgb_open()
1455 if (!adapter->open_device_map) in __cxgb_close()
[all …]
Dcxgb3_offload.c74 return test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_activated()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c247 int other_ports = adapter->open_device_map & PORT_MASK; in cxgb_open()
250 if (!adapter->open_device_map && (err = cxgb_up(adapter)) < 0) { in cxgb_open()
255 __set_bit(dev->if_port, &adapter->open_device_map); in cxgb_open()
277 clear_bit(dev->if_port, &adapter->open_device_map); in cxgb_close()
279 !(adapter->open_device_map & PORT_MASK)) { in cxgb_close()
287 if (!adapter->open_device_map) in cxgb_close()
922 if (adapter->open_device_map & PORT_MASK) in mac_stats_task()
Dcommon.h234 unsigned long open_device_map; member
Dsge.c744 if (adapter->open_device_map) { in t1_vlan_mode()
2034 if (adapter->open_device_map & PORT_MASK) { in espibug_workaround_t204()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h375 unsigned long open_device_map; member
Dcxgb4vf_main.c850 if (adapter->open_device_map == 0) { in cxgb4vf_open()
873 set_bit(pi->port_id, &adapter->open_device_map); in cxgb4vf_open()
877 if (adapter->open_device_map == 0) in cxgb4vf_open()
895 clear_bit(pi->port_id, &adapter->open_device_map); in cxgb4vf_stop()
896 if (adapter->open_device_map == 0) in cxgb4vf_stop()