Lines Matching refs:status_block

994 	pHba->status_block = NULL;  in adpt_install_hba()
1076 if(pHba->status_block) { in adpt_i2o_delete_hba()
1078 pHba->status_block, pHba->status_block_pa); in adpt_i2o_delete_hba()
1383 pHba->status_block->iop_state != ADAPTER_STATE_RESET) { in adpt_i2o_reset_hba()
2667 if(pHba->status_block->iop_state == ADAPTER_STATE_FAULTED) { in adpt_i2o_activate_hba()
2672 if (pHba->status_block->iop_state == ADAPTER_STATE_READY || in adpt_i2o_activate_hba()
2673 pHba->status_block->iop_state == ADAPTER_STATE_OPERATIONAL || in adpt_i2o_activate_hba()
2674 pHba->status_block->iop_state == ADAPTER_STATE_HOLD || in adpt_i2o_activate_hba()
2675 pHba->status_block->iop_state == ADAPTER_STATE_FAILED) { in adpt_i2o_activate_hba()
2677 if (adpt_i2o_status_get(pHba) < 0 || pHba->status_block->iop_state != ADAPTER_STATE_RESET) { in adpt_i2o_activate_hba()
2860 u8 *status_block=NULL; in adpt_i2o_status_get() local
2862 if(pHba->status_block == NULL) { in adpt_i2o_status_get()
2863 pHba->status_block = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_status_get()
2866 if(pHba->status_block == NULL) { in adpt_i2o_status_get()
2873 memset(pHba->status_block, 0, sizeof(i2o_status_block)); in adpt_i2o_status_get()
2874 status_block = (u8*)(pHba->status_block); in adpt_i2o_status_get()
2907 while(status_block[87]!=0xff){ in adpt_i2o_status_get()
2918 pHba->post_fifo_size = pHba->status_block->max_inbound_frames; in adpt_i2o_status_get()
2923 pHba->reply_fifo_size = pHba->status_block->max_outbound_frames; in adpt_i2o_status_get()
2931 = ((pHba->status_block->inbound_frame_size * 4 in adpt_i2o_status_get()
2936 = ((pHba->status_block->inbound_frame_size * 4 in adpt_i2o_status_get()
2947 switch(pHba->status_block->iop_state) { in adpt_i2o_status_get()
2970 printk("%x (unknown!!)\n",pHba->status_block->iop_state); in adpt_i2o_status_get()
2986 pHba->lct_size = pHba->status_block->expected_lct_size; in adpt_i2o_lct_get()
3080 sys_tbl->iops[count].org_id = pHba->status_block->org_id; in adpt_i2o_build_sys_table()
3083 sys_tbl->iops[count].i2o_version = pHba->status_block->i2o_version; in adpt_i2o_build_sys_table()
3084 sys_tbl->iops[count].iop_state = pHba->status_block->iop_state; in adpt_i2o_build_sys_table()
3085 sys_tbl->iops[count].msg_type = pHba->status_block->msg_type; in adpt_i2o_build_sys_table()
3086 sys_tbl->iops[count].frame_size = pHba->status_block->inbound_frame_size; in adpt_i2o_build_sys_table()
3088 sys_tbl->iops[count].iop_capabilities = pHba->status_block->iop_capabilities; in adpt_i2o_build_sys_table()
3374 if((pHba->status_block->iop_state != ADAPTER_STATE_READY) && in adpt_i2o_quiesce_hba()
3375 (pHba->status_block->iop_state != ADAPTER_STATE_OPERATIONAL)){ in adpt_i2o_quiesce_hba()
3405 if(!pHba->status_block){ in adpt_i2o_enable_hba()
3409 if(pHba->status_block->iop_state == ADAPTER_STATE_OPERATIONAL) in adpt_i2o_enable_hba()
3412 if(pHba->status_block->iop_state != ADAPTER_STATE_READY) in adpt_i2o_enable_hba()