Home
last modified time | relevance | path

Searched refs:idc (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_init.c146 cur = adapter->ahw->idc.curr_state; in qlcnic_83xx_idc_log_state_history()
147 prev = adapter->ahw->idc.prev_state; in qlcnic_83xx_idc_log_state_history()
151 adapter->ahw->idc.name[cur], in qlcnic_83xx_idc_log_state_history()
152 adapter->ahw->idc.name[prev]); in qlcnic_83xx_idc_log_state_history()
170 seconds = jiffies / HZ - adapter->ahw->idc.sec_counter; in qlcnic_83xx_idc_update_audit_reg()
176 adapter->ahw->idc.sec_counter = jiffies / HZ; in qlcnic_83xx_idc_update_audit_reg()
310 seconds = jiffies / HZ - adapter->ahw->idc.sec_counter; in qlcnic_83xx_idc_check_timeout()
652 set_bit(QLC_83XX_MODULE_LOADED, &adapter->ahw->idc.status); in qlcnic_83xx_idc_update_idc_params()
654 ahw->idc.quiesce_req = 0; in qlcnic_83xx_idc_update_idc_params()
655 ahw->idc.delay = QLC_83XX_IDC_FW_POLL_DELAY; in qlcnic_83xx_idc_update_idc_params()
[all …]
Dqlcnic_83xx_vnic.c33 ahw->idc.vnic_state = QLCNIC_DEV_NPAR_NON_OPER; in qlcnic_83xx_disable_vnic_mode()
208 ahw->idc.state_entry = qlcnic_83xx_idc_ready_state_entry; in qlcnic_83xx_config_vnic_opmode()
213 ahw->idc.state_entry = qlcnic_83xx_idc_vnic_pf_entry; in qlcnic_83xx_config_vnic_opmode()
218 ahw->idc.state_entry = qlcnic_83xx_idc_ready_state_entry; in qlcnic_83xx_config_vnic_opmode()
235 ahw->idc.vnic_state = QLCNIC_DEV_NPAR_NON_OPER; in qlcnic_83xx_config_vnic_opmode()
236 ahw->idc.vnic_wait_limit = QLCNIC_DEV_NPAR_OPER_TIMEO; in qlcnic_83xx_config_vnic_opmode()
244 struct qlc_83xx_idc *idc = &ahw->idc; in qlcnic_83xx_check_vnic_state() local
248 while (state != QLCNIC_DEV_NPAR_OPER && idc->vnic_wait_limit) { in qlcnic_83xx_check_vnic_state()
249 idc->vnic_wait_limit--; in qlcnic_83xx_check_vnic_state()
Dqlcnic_sriov_common.c585 adapter->ahw->idc.delay); in qlcnic_sriov_setup_vf()
624 set_bit(QLC_83XX_MODULE_LOADED, &ahw->idc.status); in qlcnic_sriov_vf_init()
625 ahw->idc.delay = QLC_83XX_IDC_FW_POLL_DELAY; in qlcnic_sriov_vf_init()
1743 struct qlc_83xx_idc *idc = &ahw->idc; in qlcnic_sriov_vf_handle_dev_ready() local
1747 if ((idc->prev_state == QLC_83XX_IDC_DEV_NEED_RESET) || in qlcnic_sriov_vf_handle_dev_ready()
1748 (idc->prev_state == QLC_83XX_IDC_DEV_INIT)) { in qlcnic_sriov_vf_handle_dev_ready()
1773 struct qlc_83xx_idc *idc = &ahw->idc; in qlcnic_sriov_vf_handle_context_reset() local
1792 clear_bit(QLC_83XX_MODULE_LOADED, &idc->status); in qlcnic_sriov_vf_handle_context_reset()
1832 if (ahw->idc.prev_state != QLC_83XX_IDC_DEV_READY) in qlcnic_sriov_vf_idc_ready_state()
1843 struct qlc_83xx_idc *idc = &adapter->ahw->idc; in qlcnic_sriov_vf_idc_failed_state() local
[all …]
Dqlcnic_83xx_hw.c960 clear_bit(QLC_83XX_IDC_COMP_AEN, &adapter->ahw->idc.status); in qlcnic_83xx_handle_idc_comp_aen()
1868 set_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); in qlcnic_83xx_set_lb_mode()
1881 clear_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); in qlcnic_83xx_set_lb_mode()
1892 clear_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); in qlcnic_83xx_set_lb_mode()
1903 clear_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); in qlcnic_83xx_set_lb_mode()
1907 } while (test_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status)); in qlcnic_83xx_set_lb_mode()
1923 set_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); in qlcnic_83xx_clear_lb_mode()
1935 clear_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); in qlcnic_83xx_clear_lb_mode()
1946 clear_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); in qlcnic_83xx_clear_lb_mode()
1957 clear_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); in qlcnic_83xx_clear_lb_mode()
[all …]
Dqlcnic.h526 struct qlc_83xx_idc idc; member