idc 527 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h struct qlc_83xx_idc idc; idc 962 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c clear_bit(QLC_83XX_IDC_COMP_AEN, &adapter->ahw->idc.status); idc 1864 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c set_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); idc 1877 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c clear_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); idc 1888 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c clear_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); idc 1899 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c clear_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); idc 1903 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c } while (test_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status)); idc 1919 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c set_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); idc 1931 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c clear_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); idc 1942 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c clear_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); idc 1953 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c clear_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status); idc 1956 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c } while (test_bit(QLC_83XX_IDC_COMP_AEN, &ahw->idc.status)); idc 3837 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c struct qlc_83xx_idc *idc = &ahw->idc; idc 3859 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c idc->delay); idc 3924 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->idc.collect_dump = 1; idc 147 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c cur = adapter->ahw->idc.curr_state; idc 148 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c prev = adapter->ahw->idc.prev_state; idc 152 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.name[cur], idc 153 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.name[prev]); idc 171 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c seconds = jiffies / HZ - adapter->ahw->idc.sec_counter; idc 177 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.sec_counter = jiffies / HZ; idc 311 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c seconds = jiffies / HZ - adapter->ahw->idc.sec_counter; idc 653 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c set_bit(QLC_83XX_MODULE_LOADED, &adapter->ahw->idc.status); idc 655 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->idc.quiesce_req = 0; idc 656 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->idc.delay = QLC_83XX_IDC_FW_POLL_DELAY; idc 657 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->idc.err_code = 0; idc 658 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->idc.collect_dump = 0; idc 661 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->idc.delay_reset = 0; idc 681 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (ahw->idc.prev_state != QLC_83XX_IDC_DEV_READY) { idc 684 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if ((ahw->idc.prev_state == QLC_83XX_IDC_DEV_NEED_RESET) || idc 685 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c (ahw->idc.prev_state == QLC_83XX_IDC_DEV_INIT)) { idc 714 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (!ahw->idc.vnic_wait_limit--) { idc 723 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (ahw->idc.vnic_state != QLCNIC_DEV_NPAR_OPER) { idc 728 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (ahw->idc.prev_state != QLC_83XX_IDC_DEV_UNKNOWN) { idc 732 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.vnic_state = QLCNIC_DEV_NPAR_OPER; idc 742 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.err_code = -EIO; idc 797 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (adapter->ahw->idc.prev_state == QLC_83XX_IDC_DEV_NEED_RESET) { idc 827 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (ahw->idc.state_entry(adapter)) idc 860 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if ((val & QLC_83XX_IDC_GRACEFULL_RESET) || ahw->idc.collect_dump) { idc 877 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (adapter->ahw->idc.quiesce_req) { idc 903 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (adapter->ahw->idc.prev_state != QLC_83XX_IDC_DEV_NEED_RESET) { idc 913 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.delay_reset = 1; idc 926 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (adapter->ahw->idc.delay_reset) { idc 929 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.delay_reset = 0; idc 970 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->idc.err_code = -EIO; idc 986 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c cur = adapter->ahw->idc.curr_state; idc 987 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c prev = adapter->ahw->idc.prev_state; idc 1135 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.curr_state = QLC_83XX_IDC_DEV_UNKNOWN; idc 1137 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.curr_state = state; idc 1140 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c switch (adapter->ahw->idc.curr_state) { idc 1163 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.prev_state = adapter->ahw->idc.curr_state; idc 1167 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (test_bit(QLC_83XX_MODULE_LOADED, &adapter->ahw->idc.status)) idc 1169 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.delay); idc 1187 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.curr_state = QLC_83XX_IDC_DEV_UNKNOWN; idc 1188 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.prev_state = QLC_83XX_IDC_DEV_UNKNOWN; idc 1189 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.delay = QLC_83XX_IDC_FW_POLL_DELAY; idc 1190 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.err_code = 0; idc 1191 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.collect_dump = 0; idc 1192 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.name = (char **)qlc_83xx_idc_states; idc 1195 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c set_bit(QLC_83XX_MODULE_LOADED, &adapter->ahw->idc.status); idc 1233 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.curr_state = state; idc 1295 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c clear_bit(QLC_83XX_MODULE_LOADED, &adapter->ahw->idc.status); idc 1328 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->ahw->idc.collect_dump = 1; idc 2325 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->idc.state_entry = qlcnic_83xx_idc_ready_state_entry; idc 2563 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c struct qlc_83xx_idc *idc = &ahw->idc; idc 2565 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c clear_bit(QLC_83XX_MBX_READY, &idc->status); idc 2580 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c struct qlc_83xx_idc *idc = &ahw->idc; idc 2588 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c idc->prev_state = QLC_83XX_IDC_DEV_NEED_RESET; idc 2597 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ret = idc->state_entry(adapter); idc 2604 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c struct qlc_83xx_idc *idc = &ahw->idc; idc 2607 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c idc->prev_state = QLC_83XX_IDC_DEV_READY; idc 34 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c ahw->idc.vnic_state = QLCNIC_DEV_NPAR_NON_OPER; idc 209 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c ahw->idc.state_entry = qlcnic_83xx_idc_ready_state_entry; idc 214 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c ahw->idc.state_entry = qlcnic_83xx_idc_vnic_pf_entry; idc 219 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c ahw->idc.state_entry = qlcnic_83xx_idc_ready_state_entry; idc 236 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c ahw->idc.vnic_state = QLCNIC_DEV_NPAR_NON_OPER; idc 237 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c ahw->idc.vnic_wait_limit = QLCNIC_DEV_NPAR_OPER_TIMEO; idc 245 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c struct qlc_83xx_idc *idc = &ahw->idc; idc 249 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c while (state != QLCNIC_DEV_NPAR_OPER && idc->vnic_wait_limit) { idc 250 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c idc->vnic_wait_limit--; idc 582 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c adapter->ahw->idc.delay); idc 621 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c set_bit(QLC_83XX_MODULE_LOADED, &ahw->idc.status); idc 622 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c ahw->idc.delay = QLC_83XX_IDC_FW_POLL_DELAY; idc 1740 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c struct qlc_83xx_idc *idc = &ahw->idc; idc 1744 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c if ((idc->prev_state == QLC_83XX_IDC_DEV_NEED_RESET) || idc 1745 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c (idc->prev_state == QLC_83XX_IDC_DEV_INIT)) { idc 1770 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c struct qlc_83xx_idc *idc = &ahw->idc; idc 1789 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c clear_bit(QLC_83XX_MODULE_LOADED, &idc->status); idc 1829 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c if (ahw->idc.prev_state != QLC_83XX_IDC_DEV_READY) idc 1840 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c struct qlc_83xx_idc *idc = &adapter->ahw->idc; idc 1843 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c if (idc->prev_state == QLC_83XX_IDC_DEV_READY) idc 1846 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c clear_bit(QLC_83XX_MODULE_LOADED, &idc->status); idc 1855 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c struct qlc_83xx_idc *idc = &adapter->ahw->idc; idc 1858 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c if (idc->prev_state == QLC_83XX_IDC_DEV_READY) { idc 1872 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c struct qlc_83xx_idc *idc = &adapter->ahw->idc; idc 1875 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c if (idc->prev_state == QLC_83XX_IDC_DEV_READY) { idc 1902 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c struct qlc_83xx_idc *idc; idc 1906 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c idc = &adapter->ahw->idc; idc 1907 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c idc->curr_state = QLCRDX(adapter->ahw, QLC_83XX_IDC_DEV_STATE); idc 1909 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c switch (idc->curr_state) { idc 1929 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c idc->prev_state = idc->curr_state; idc 1932 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c if (!ret && test_bit(QLC_83XX_MODULE_LOADED, &idc->status)) idc 1934 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c idc->delay); idc 1942 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c clear_bit(QLC_83XX_MODULE_LOADED, &adapter->ahw->idc.status); idc 2138 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c struct qlc_83xx_idc *idc = &adapter->ahw->idc; idc 2142 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c set_bit(QLC_83XX_MODULE_LOADED, &idc->status); idc 2159 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c idc->delay);