Searched refs:open_device_map (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/ |
D | adapter.h | 226 unsigned long open_device_map; member 303 return test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_running()
|
D | cxgb3_main.c | 1354 int adap_up = adapter->open_device_map & PORT_MASK; in offload_open() 1357 if (test_and_set_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) in offload_open() 1386 clear_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_open() 1397 if (!test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map)) in offload_close() 1411 clear_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_close() 1413 if (!adapter->open_device_map) in offload_close() 1424 int other_ports = adapter->open_device_map & PORT_MASK; in cxgb_open() 1427 if (!adapter->open_device_map && (err = cxgb_up(adapter)) < 0) in cxgb_open() 1430 set_bit(pi->port_id, &adapter->open_device_map); in cxgb_open() 1457 if (!adapter->open_device_map) in __cxgb_close() [all …]
|
D | cxgb3_offload.c | 74 return test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_activated()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb/ |
D | cxgb2.c | 246 int other_ports = adapter->open_device_map & PORT_MASK; in cxgb_open() 249 if (!adapter->open_device_map && (err = cxgb_up(adapter)) < 0) { in cxgb_open() 254 __set_bit(dev->if_port, &adapter->open_device_map); in cxgb_open() 276 clear_bit(dev->if_port, &adapter->open_device_map); in cxgb_close() 278 !(adapter->open_device_map & PORT_MASK)) { in cxgb_close() 286 if (!adapter->open_device_map) in cxgb_close() 911 if (adapter->open_device_map & PORT_MASK) in mac_stats_task()
|
D | common.h | 235 unsigned long open_device_map; member
|
D | sge.c | 739 if (adapter->open_device_map) { in t1_vlan_mode() 1988 if (adapter->open_device_map & PORT_MASK) { in espibug_workaround_t204()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | adapter.h | 373 unsigned long open_device_map; member
|
D | cxgb4vf_main.c | 789 if (adapter->open_device_map == 0) { in cxgb4vf_open() 805 set_bit(pi->port_id, &adapter->open_device_map); in cxgb4vf_open() 809 if (adapter->open_device_map == 0) in cxgb4vf_open() 827 clear_bit(pi->port_id, &adapter->open_device_map); in cxgb4vf_stop() 828 if (adapter->open_device_map == 0) in cxgb4vf_stop()
|