• Home
  • Raw
  • Download

Lines Matching refs:status_block

995 	pHba->status_block = NULL;  in adpt_install_hba()
1077 if(pHba->status_block) { in adpt_i2o_delete_hba()
1079 pHba->status_block, pHba->status_block_pa); in adpt_i2o_delete_hba()
1384 pHba->status_block->iop_state != ADAPTER_STATE_RESET) { in adpt_i2o_reset_hba()
2670 if(pHba->status_block->iop_state == ADAPTER_STATE_FAULTED) { in adpt_i2o_activate_hba()
2675 if (pHba->status_block->iop_state == ADAPTER_STATE_READY || in adpt_i2o_activate_hba()
2676 pHba->status_block->iop_state == ADAPTER_STATE_OPERATIONAL || in adpt_i2o_activate_hba()
2677 pHba->status_block->iop_state == ADAPTER_STATE_HOLD || in adpt_i2o_activate_hba()
2678 pHba->status_block->iop_state == ADAPTER_STATE_FAILED) { in adpt_i2o_activate_hba()
2680 if (adpt_i2o_status_get(pHba) < 0 || pHba->status_block->iop_state != ADAPTER_STATE_RESET) { in adpt_i2o_activate_hba()
2863 u8 *status_block=NULL; in adpt_i2o_status_get() local
2865 if(pHba->status_block == NULL) { in adpt_i2o_status_get()
2866 pHba->status_block = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_status_get()
2869 if(pHba->status_block == NULL) { in adpt_i2o_status_get()
2876 memset(pHba->status_block, 0, sizeof(i2o_status_block)); in adpt_i2o_status_get()
2877 status_block = (u8*)(pHba->status_block); in adpt_i2o_status_get()
2910 while(status_block[87]!=0xff){ in adpt_i2o_status_get()
2921 pHba->post_fifo_size = pHba->status_block->max_inbound_frames; in adpt_i2o_status_get()
2926 pHba->reply_fifo_size = pHba->status_block->max_outbound_frames; in adpt_i2o_status_get()
2934 = ((pHba->status_block->inbound_frame_size * 4 in adpt_i2o_status_get()
2939 = ((pHba->status_block->inbound_frame_size * 4 in adpt_i2o_status_get()
2950 switch(pHba->status_block->iop_state) { in adpt_i2o_status_get()
2973 printk("%x (unknown!!)\n",pHba->status_block->iop_state); in adpt_i2o_status_get()
2989 pHba->lct_size = pHba->status_block->expected_lct_size; in adpt_i2o_lct_get()
3083 sys_tbl->iops[count].org_id = pHba->status_block->org_id; in adpt_i2o_build_sys_table()
3086 sys_tbl->iops[count].i2o_version = pHba->status_block->i2o_version; in adpt_i2o_build_sys_table()
3087 sys_tbl->iops[count].iop_state = pHba->status_block->iop_state; in adpt_i2o_build_sys_table()
3088 sys_tbl->iops[count].msg_type = pHba->status_block->msg_type; in adpt_i2o_build_sys_table()
3089 sys_tbl->iops[count].frame_size = pHba->status_block->inbound_frame_size; in adpt_i2o_build_sys_table()
3091 sys_tbl->iops[count].iop_capabilities = pHba->status_block->iop_capabilities; in adpt_i2o_build_sys_table()
3377 if((pHba->status_block->iop_state != ADAPTER_STATE_READY) && in adpt_i2o_quiesce_hba()
3378 (pHba->status_block->iop_state != ADAPTER_STATE_OPERATIONAL)){ in adpt_i2o_quiesce_hba()
3408 if(!pHba->status_block){ in adpt_i2o_enable_hba()
3412 if(pHba->status_block->iop_state == ADAPTER_STATE_OPERATIONAL) in adpt_i2o_enable_hba()
3415 if(pHba->status_block->iop_state != ADAPTER_STATE_READY) in adpt_i2o_enable_hba()