Lines Matching refs:sys_tbl
104 static struct i2o_sys_tbl *sys_tbl; variable
3057 if (sys_tbl) in adpt_i2o_build_sys_table()
3059 sys_tbl, sys_tbl_pa); in adpt_i2o_build_sys_table()
3064 sys_tbl = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_build_sys_table()
3066 if (!sys_tbl) { in adpt_i2o_build_sys_table()
3071 sys_tbl->num_entries = hba_count; in adpt_i2o_build_sys_table()
3072 sys_tbl->version = I2OVERSION; in adpt_i2o_build_sys_table()
3073 sys_tbl->change_ind = sys_tbl_ind++; in adpt_i2o_build_sys_table()
3079 sys_tbl->num_entries--; in adpt_i2o_build_sys_table()
3083 sys_tbl->iops[count].org_id = pHba->status_block->org_id; in adpt_i2o_build_sys_table()
3084 sys_tbl->iops[count].iop_id = pHba->unit + 2; in adpt_i2o_build_sys_table()
3085 sys_tbl->iops[count].seg_num = 0; 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()
3090 sys_tbl->iops[count].last_changed = sys_tbl_ind - 1; // ?? in adpt_i2o_build_sys_table()
3091 sys_tbl->iops[count].iop_capabilities = pHba->status_block->iop_capabilities; in adpt_i2o_build_sys_table()
3093 sys_tbl->iops[count].inbound_low = dma_low(addr); in adpt_i2o_build_sys_table()
3094 sys_tbl->iops[count].inbound_high = dma_high(addr); in adpt_i2o_build_sys_table()
3101 u32 *table = (u32*)sys_tbl; in adpt_i2o_build_sys_table()