Lines Matching refs:lct

993 	pHba->lct = NULL;  in adpt_install_hba()
1073 if(pHba->lct) { in adpt_i2o_delete_hba()
1075 pHba->lct, pHba->lct_pa); in adpt_i2o_delete_hba()
1407 i2o_lct *lct = pHba->lct; in adpt_i2o_parse_lct() local
1414 if (lct == NULL) { in adpt_i2o_parse_lct()
1419 max = lct->table_size; in adpt_i2o_parse_lct()
1424 if( lct->lct_entry[i].user_tid != 0xfff){ in adpt_i2o_parse_lct()
1432 if( lct->lct_entry[i].class_id != I2O_CLASS_RANDOM_BLOCK_STORAGE && in adpt_i2o_parse_lct()
1433 lct->lct_entry[i].class_id != I2O_CLASS_SCSI_PERIPHERAL && in adpt_i2o_parse_lct()
1434 lct->lct_entry[i].class_id != I2O_CLASS_FIBRE_CHANNEL_PERIPHERAL ){ in adpt_i2o_parse_lct()
1437 tid = lct->lct_entry[i].tid; in adpt_i2o_parse_lct()
1474 memcpy(&d->lct_data, &lct->lct_entry[i], sizeof(i2o_lct_entry)); in adpt_i2o_parse_lct()
2484 i2o_lct *lct = pHba->lct; in adpt_i2o_reparse_lct() local
2492 if (lct == NULL) { in adpt_i2o_reparse_lct()
2497 max = lct->table_size; in adpt_i2o_reparse_lct()
2513 if( lct->lct_entry[i].user_tid != 0xfff){ in adpt_i2o_reparse_lct()
2517 if( lct->lct_entry[i].class_id == I2O_CLASS_RANDOM_BLOCK_STORAGE || in adpt_i2o_reparse_lct()
2518 lct->lct_entry[i].class_id == I2O_CLASS_SCSI_PERIPHERAL || in adpt_i2o_reparse_lct()
2519 lct->lct_entry[i].class_id == I2O_CLASS_FIBRE_CHANNEL_PERIPHERAL ){ in adpt_i2o_reparse_lct()
2520 tid = lct->lct_entry[i].tid; in adpt_i2o_reparse_lct()
2555 memcpy(&d->lct_data, &lct->lct_entry[i], sizeof(i2o_lct_entry)); in adpt_i2o_reparse_lct()
2612 memcpy(&d->lct_data, &lct->lct_entry[i], sizeof(i2o_lct_entry)); in adpt_i2o_reparse_lct()
2988 if ((pHba->lct_size == 0) || (pHba->lct == NULL)){ in adpt_i2o_lct_get()
2992 if (pHba->lct == NULL) { in adpt_i2o_lct_get()
2993 pHba->lct = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_lct_get()
2996 if(pHba->lct == NULL) { in adpt_i2o_lct_get()
3002 memset(pHba->lct, 0, pHba->lct_size); in adpt_i2o_lct_get()
3020 if ((pHba->lct->table_size << 2) > pHba->lct_size) { in adpt_i2o_lct_get()
3021 pHba->lct_size = pHba->lct->table_size << 2; in adpt_i2o_lct_get()
3023 pHba->lct, pHba->lct_pa); in adpt_i2o_lct_get()
3024 pHba->lct = NULL; in adpt_i2o_lct_get()
3026 } while (pHba->lct == NULL); in adpt_i2o_lct_get()