Searched refs:HNS3_NIC_STATE_DOWN (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 721 clear_bit(HNS3_NIC_STATE_DOWN, &priv->state); in hns3_nic_net_up() 734 set_bit(HNS3_NIC_STATE_DOWN, &priv->state); in hns3_nic_net_up() 778 if (!test_bit(HNS3_NIC_STATE_DOWN, &priv->state)) { in hns3_nic_net_open() 858 if (test_and_set_bit(HNS3_NIC_STATE_DOWN, &priv->state)) in hns3_nic_net_stop() 1960 !test_bit(HNS3_NIC_STATE_DOWN, &priv->state)) { in hns3_nic_maybe_stop_tx() 2547 if (test_bit(HNS3_NIC_STATE_DOWN, &priv->state)) in hns3_nic_get_stats64() 3664 !test_bit(HNS3_NIC_STATE_DOWN, &priv->state)) { in hns3_clean_tx_ring() 4482 if (unlikely(test_bit(HNS3_NIC_STATE_DOWN, &priv->state))) { in hns3_nic_common_poll() 4512 likely(!test_bit(HNS3_NIC_STATE_DOWN, &priv->state))) { in hns3_nic_common_poll() 5313 set_bit(HNS3_NIC_STATE_DOWN, &priv->state); in hns3_client_init() [all …]
|
H A D | hns3_enet.h | 21 HNS3_NIC_STATE_DOWN, enumerator
|