Lines Matching refs:sys_tbl

107 static struct i2o_sys_tbl *sys_tbl;  variable
3115 if (sys_tbl) in adpt_i2o_build_sys_table()
3117 sys_tbl, sys_tbl_pa); in adpt_i2o_build_sys_table()
3122 sys_tbl = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_build_sys_table()
3124 if (!sys_tbl) { in adpt_i2o_build_sys_table()
3128 memset(sys_tbl, 0, sys_tbl_len); in adpt_i2o_build_sys_table()
3130 sys_tbl->num_entries = hba_count; in adpt_i2o_build_sys_table()
3131 sys_tbl->version = I2OVERSION; in adpt_i2o_build_sys_table()
3132 sys_tbl->change_ind = sys_tbl_ind++; in adpt_i2o_build_sys_table()
3138 sys_tbl->num_entries--; in adpt_i2o_build_sys_table()
3142 sys_tbl->iops[count].org_id = pHba->status_block->org_id; in adpt_i2o_build_sys_table()
3143 sys_tbl->iops[count].iop_id = pHba->unit + 2; in adpt_i2o_build_sys_table()
3144 sys_tbl->iops[count].seg_num = 0; in adpt_i2o_build_sys_table()
3145 sys_tbl->iops[count].i2o_version = pHba->status_block->i2o_version; in adpt_i2o_build_sys_table()
3146 sys_tbl->iops[count].iop_state = pHba->status_block->iop_state; in adpt_i2o_build_sys_table()
3147 sys_tbl->iops[count].msg_type = pHba->status_block->msg_type; in adpt_i2o_build_sys_table()
3148 sys_tbl->iops[count].frame_size = pHba->status_block->inbound_frame_size; in adpt_i2o_build_sys_table()
3149 sys_tbl->iops[count].last_changed = sys_tbl_ind - 1; // ?? in adpt_i2o_build_sys_table()
3150 sys_tbl->iops[count].iop_capabilities = pHba->status_block->iop_capabilities; in adpt_i2o_build_sys_table()
3152 sys_tbl->iops[count].inbound_low = dma_low(addr); in adpt_i2o_build_sys_table()
3153 sys_tbl->iops[count].inbound_high = dma_high(addr); in adpt_i2o_build_sys_table()
3160 u32 *table = (u32*)sys_tbl; in adpt_i2o_build_sys_table()