• Home
  • Raw
  • Download

Lines Matching refs:lct

1121 	pHba->lct = NULL;  in adpt_install_hba()
1203 if(pHba->lct) { in adpt_i2o_delete_hba()
1205 pHba->lct, pHba->lct_pa); in adpt_i2o_delete_hba()
1544 i2o_lct *lct = pHba->lct; in adpt_i2o_parse_lct() local
1551 if (lct == NULL) { in adpt_i2o_parse_lct()
1556 max = lct->table_size; in adpt_i2o_parse_lct()
1561 if( lct->lct_entry[i].user_tid != 0xfff){ in adpt_i2o_parse_lct()
1569 if( lct->lct_entry[i].class_id != I2O_CLASS_RANDOM_BLOCK_STORAGE && in adpt_i2o_parse_lct()
1570 lct->lct_entry[i].class_id != I2O_CLASS_SCSI_PERIPHERAL && in adpt_i2o_parse_lct()
1571 lct->lct_entry[i].class_id != I2O_CLASS_FIBRE_CHANNEL_PERIPHERAL ){ in adpt_i2o_parse_lct()
1574 tid = lct->lct_entry[i].tid; in adpt_i2o_parse_lct()
1611 memcpy(&d->lct_data, &lct->lct_entry[i], sizeof(i2o_lct_entry)); in adpt_i2o_parse_lct()
2580 i2o_lct *lct = pHba->lct; in adpt_i2o_reparse_lct() local
2588 if (lct == NULL) { in adpt_i2o_reparse_lct()
2593 max = lct->table_size; in adpt_i2o_reparse_lct()
2609 if( lct->lct_entry[i].user_tid != 0xfff){ in adpt_i2o_reparse_lct()
2613 if( lct->lct_entry[i].class_id == I2O_CLASS_RANDOM_BLOCK_STORAGE || in adpt_i2o_reparse_lct()
2614 lct->lct_entry[i].class_id == I2O_CLASS_SCSI_PERIPHERAL || in adpt_i2o_reparse_lct()
2615 lct->lct_entry[i].class_id == I2O_CLASS_FIBRE_CHANNEL_PERIPHERAL ){ in adpt_i2o_reparse_lct()
2616 tid = lct->lct_entry[i].tid; in adpt_i2o_reparse_lct()
2643 memcpy(&d->lct_data, &lct->lct_entry[i], sizeof(i2o_lct_entry)); in adpt_i2o_reparse_lct()
2700 memcpy(&d->lct_data, &lct->lct_entry[i], sizeof(i2o_lct_entry)); in adpt_i2o_reparse_lct()
3102 if ((pHba->lct_size == 0) || (pHba->lct == NULL)){ in adpt_i2o_lct_get()
3106 if (pHba->lct == NULL) { in adpt_i2o_lct_get()
3107 pHba->lct = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_lct_get()
3110 if(pHba->lct == NULL) { in adpt_i2o_lct_get()
3116 memset(pHba->lct, 0, pHba->lct_size); in adpt_i2o_lct_get()
3134 if ((pHba->lct->table_size << 2) > pHba->lct_size) { in adpt_i2o_lct_get()
3135 pHba->lct_size = pHba->lct->table_size << 2; in adpt_i2o_lct_get()
3137 pHba->lct, pHba->lct_pa); in adpt_i2o_lct_get()
3138 pHba->lct = NULL; in adpt_i2o_lct_get()
3140 } while (pHba->lct == NULL); in adpt_i2o_lct_get()