Searched refs:NIC_STATE_DOWN (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_enet.h | 24 NIC_STATE_DOWN, enumerator
|
H A D | hns_enet.c | 1018 !test_bit(NIC_STATE_DOWN, &priv->state)) { in hns_nic_tx_poll_one() 1352 if (!test_bit(NIC_STATE_DOWN, &priv->state)) in hns_nic_net_up() 1378 clear_bit(NIC_STATE_DOWN, &priv->state); in hns_nic_net_up() 1391 set_bit(NIC_STATE_DOWN, &priv->state); in hns_nic_net_up() 1402 if (test_and_set_bit(NIC_STATE_DOWN, &priv->state)) in hns_nic_net_down() 2028 if (test_bit(NIC_STATE_DOWN, &priv->state) || in hns_nic_reset_subtask() 2070 if (!test_bit(NIC_STATE_DOWN, &priv->state) && in hns_nic_task_schedule() 2092 if (!test_bit(NIC_STATE_DOWN, &priv->state)) { in hns_tx_timeout_reset() 2373 set_bit(NIC_STATE_DOWN, &priv->state); in hns_nic_dev_probe()
|