Searched refs:ha2 (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_ioctl.c | 2424 ql_adapter_state_t *ha2 = NULL; in ql_adm_updfwmodule() local 2431 ha2 = link->base_address; in ql_adm_updfwmodule() 2432 if (fw_class == ha2->fw_class) { in ql_adm_updfwmodule() 2433 if ((rval = ddi_modclose(ha2->fw_module)) != in ql_adm_updfwmodule() 2435 EL(ha2, "modclose rval=%xh\n", rval); in ql_adm_updfwmodule() 2438 ha2->fw_module = NULL; in ql_adm_updfwmodule() 2444 ha2 = link->base_address; in ql_adm_updfwmodule() 2446 if ((fw_class == ha2->fw_class) && (ha2->fw_class == NULL)) { in ql_adm_updfwmodule() 2447 if ((rval = (int32_t)ql_fwmodule_resolve(ha2)) != in ql_adm_updfwmodule() 2449 EL(ha2, "unable to load f/w module: '%x' " in ql_adm_updfwmodule() [all …]
|
H A D | ql_xioctl.c | 6692 ql_adapter_state_t *ha2; in ql_update_flash_caches() local 6706 ha2 = link->base_address; in ql_update_flash_caches() 6708 if (strncmp(ha->devpath, ha2->devpath, len) != 0) { in ql_update_flash_caches() 6712 CACHE_LOCK(ha2); in ql_update_flash_caches() 6713 ql_fcache_rel(ha2->fcache); in ql_update_flash_caches() 6714 ha2->fcache = NULL; in ql_update_flash_caches() 6717 if (ha2->vcache != NULL) { in ql_update_flash_caches() 6718 kmem_free(ha2->vcache, QL_24XX_VPD_SIZE); in ql_update_flash_caches() 6719 ha2->vcache = NULL; in ql_update_flash_caches() 6722 CACHE_UNLOCK(ha2); in ql_update_flash_caches() [all …]
|
H A D | ql_api.c | 16173 ql_adapter_state_t *ha2; in ql_stall_driver() local 16182 ha2 = link->base_address; in ql_stall_driver() 16184 ql_awaken_task_daemon(ha2, NULL, DRIVER_STALL, 0); in ql_stall_driver() 16186 if ((ha2->task_daemon_flags & TASK_DAEMON_ALIVE_FLG) == 0 || in ql_stall_driver() 16187 (ha2->task_daemon_flags & TASK_DAEMON_STOP_FLG) != 0 || in ql_stall_driver() 16188 (ha2->task_daemon_flags & TASK_DAEMON_STALLED_FLG && in ql_stall_driver() 16189 ql_wait_outstanding(ha2) == MAX_OUTSTANDING_COMMANDS)) { in ql_stall_driver() 16194 ql_delay(ha2, 10000); in ql_stall_driver() 16199 if (ha2 != NULL && timer == 0) { in ql_stall_driver() 16200 EL(ha2, "failed, tdf=%xh, exiting state is: %s\n", in ql_stall_driver() [all …]
|