Lines Matching refs:sys_tbl

107 static struct i2o_sys_tbl *sys_tbl;  variable
3118 if (sys_tbl) in adpt_i2o_build_sys_table()
3120 sys_tbl, sys_tbl_pa); in adpt_i2o_build_sys_table()
3125 sys_tbl = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_build_sys_table()
3127 if (!sys_tbl) { in adpt_i2o_build_sys_table()
3131 memset(sys_tbl, 0, sys_tbl_len); in adpt_i2o_build_sys_table()
3133 sys_tbl->num_entries = hba_count; in adpt_i2o_build_sys_table()
3134 sys_tbl->version = I2OVERSION; in adpt_i2o_build_sys_table()
3135 sys_tbl->change_ind = sys_tbl_ind++; in adpt_i2o_build_sys_table()
3141 sys_tbl->num_entries--; in adpt_i2o_build_sys_table()
3145 sys_tbl->iops[count].org_id = pHba->status_block->org_id; in adpt_i2o_build_sys_table()
3146 sys_tbl->iops[count].iop_id = pHba->unit + 2; in adpt_i2o_build_sys_table()
3147 sys_tbl->iops[count].seg_num = 0; in adpt_i2o_build_sys_table()
3148 sys_tbl->iops[count].i2o_version = pHba->status_block->i2o_version; in adpt_i2o_build_sys_table()
3149 sys_tbl->iops[count].iop_state = pHba->status_block->iop_state; in adpt_i2o_build_sys_table()
3150 sys_tbl->iops[count].msg_type = pHba->status_block->msg_type; in adpt_i2o_build_sys_table()
3151 sys_tbl->iops[count].frame_size = pHba->status_block->inbound_frame_size; in adpt_i2o_build_sys_table()
3152 sys_tbl->iops[count].last_changed = sys_tbl_ind - 1; // ?? in adpt_i2o_build_sys_table()
3153 sys_tbl->iops[count].iop_capabilities = pHba->status_block->iop_capabilities; in adpt_i2o_build_sys_table()
3155 sys_tbl->iops[count].inbound_low = dma_low(addr); in adpt_i2o_build_sys_table()
3156 sys_tbl->iops[count].inbound_high = dma_high(addr); in adpt_i2o_build_sys_table()
3163 u32 *table = (u32*)sys_tbl; in adpt_i2o_build_sys_table()