Searched refs:adapter_state (Results 1 – 9 of 9) sorted by relevance
488 hw->adapter_state = HNS3_NIC_CONFIGURING; in hns3vf_dev_configure()520 hw->adapter_state = HNS3_NIC_CONFIGURED; in hns3vf_dev_configure()526 hw->adapter_state = HNS3_NIC_INITIALIZED; in hns3vf_dev_configure()1625 hw->adapter_state = HNS3_NIC_STOPPING; in hns3vf_dev_stop()1638 hw->adapter_state = HNS3_NIC_CONFIGURED; in hns3vf_dev_stop()1663 hw->adapter_state = HNS3_NIC_CLOSING; in hns3vf_dev_close()1665 hw->adapter_state = HNS3_NIC_CLOSED; in hns3vf_dev_close()1757 hw->adapter_state = HNS3_NIC_STARTING; in hns3vf_dev_start()1787 hw->adapter_state = HNS3_NIC_STARTED; in hns3vf_dev_start()1810 hw->adapter_state = HNS3_NIC_CONFIGURED; in hns3vf_dev_start()[all …]
2007 hw->adapter_state = HNS3_NIC_CONFIGURING; in hns3_dev_configure()2045 hw->adapter_state = HNS3_NIC_CONFIGURED; in hns3_dev_configure()2052 hw->adapter_state = HNS3_NIC_INITIALIZED; in hns3_dev_configure()5082 hw->adapter_state = HNS3_NIC_STARTING; in hns3_dev_start()5118 hw->adapter_state = HNS3_NIC_STARTED; in hns3_dev_start()5152 hw->adapter_state = HNS3_NIC_CONFIGURED; in hns3_dev_start()5202 hw->adapter_state = HNS3_NIC_STOPPING; in hns3_dev_stop()5217 hw->adapter_state = HNS3_NIC_CONFIGURED; in hns3_dev_stop()5242 hw->adapter_state = HNS3_NIC_CLOSING; in hns3_dev_close()5244 hw->adapter_state = HNS3_NIC_CLOSED; in hns3_dev_close()[all …]
2406 if (hw->adapter_state == HNS3_NIC_UNINITIALIZED) { in hns3_schedule_reset()2412 if (hw->adapter_state >= HNS3_NIC_CLOSED) in hns3_schedule_reset()2436 if (hw->adapter_state == HNS3_NIC_UNINITIALIZED || in hns3_schedule_delayed_reset()2437 hw->adapter_state >= HNS3_NIC_CLOSED) { in hns3_schedule_delayed_reset()2466 hw->adapter_state == HNS3_NIC_CLOSING) { in hns3_wait_callback()2589 if (hw->adapter_state == HNS3_NIC_CLOSING) in hns3_reset_err_handle()2631 hw->adapter_state); in hns3_reset_err_handle()2685 if (hw->adapter_state == HNS3_NIC_CLOSING) { in hns3_reset_post()2917 if (hw->adapter_state == HNS3_NIC_STARTED) in hns3_report_lse()
665 enum hns3_adapter_state adapter_state; member
597 if (hw->adapter_state != HNS3_NIC_UNINITIALIZED) in hns3_update_dev_lsc_cap()
212 get_adapter_state_name(hw->adapter_state), in get_device_basic_info()
1634 if (hw->adapter_state == HNS3_NIC_UNINITIALIZED) { in hns3_dcb_init()
2308 if (hw->adapter_state >= HNS3_NIC_CLOSED) in hns3_dev_flow_ops_get()
4419 if (hns->hw.adapter_state == HNS3_NIC_STARTED && in hns3_set_rxtx_function()