Lines Matching refs:itct

825 	struct hisi_sas_itct *itct = &hisi_hba->itct[device_id];  in setup_itct_v3_hw()  local
831 memset(itct, 0, sizeof(*itct)); in setup_itct_v3_hw()
859 itct->qw0 = cpu_to_le64(qw0); in setup_itct_v3_hw()
863 itct->sas_addr = cpu_to_le64(__swab64(sas_addr)); in setup_itct_v3_hw()
867 itct->qw2 = cpu_to_le64((5000ULL << ITCT_HDR_INLT_OFF) | in setup_itct_v3_hw()
876 struct hisi_sas_itct *itct = &hisi_hba->itct[dev_id]; in clear_itct_v3_hw() local
897 memset(itct, 0, sizeof(struct hisi_sas_itct)); in clear_itct_v3_hw()
2467 struct hisi_sas_itct *itct = in complete_v3_hw() local
2468 &hisi_hba->itct[device_id]; in complete_v3_hw()
2474 device_id, itct->sas_addr, dw0, dw1, in complete_v3_hw()
3508 void *databuf = hisi_hba->debugfs_itct[dump_index].itct; in debugfs_snapshot_itct_reg_v3_hw()
3509 struct hisi_sas_itct *itct; in debugfs_snapshot_itct_reg_v3_hw() local
3514 itct = hisi_hba->itct; in debugfs_snapshot_itct_reg_v3_hw()
3516 for (i = 0; i < HISI_SAS_MAX_ITCT_ENTRIES; i++, itct++) { in debugfs_snapshot_itct_reg_v3_hw()
3517 memcpy(databuf, itct, sizeof(struct hisi_sas_itct)); in debugfs_snapshot_itct_reg_v3_hw()
3743 struct hisi_sas_itct *itct = debugfs_itct->itct; in debugfs_itct_v3_hw_show() local
3745 for (i = 0; i < HISI_SAS_MAX_ITCT_ENTRIES; i++, itct++) { in debugfs_itct_v3_hw_show()
3746 __le64 *data = &itct->qw0; in debugfs_itct_v3_hw_show()
3748 debugfs_show_row_64_v3_hw(s, i, sizeof(*itct), data); in debugfs_itct_v3_hw_show()
3762 __le64 *itct; in debugfs_itct_cache_v3_hw_show() local
3772 itct = (__le64 *)itct_cache; in debugfs_itct_cache_v3_hw_show()
3774 debugfs_show_row_64_v3_hw(s, tab_idx, cache_size, itct); in debugfs_itct_cache_v3_hw_show()
4521 devm_kfree(dev, hisi_hba->debugfs_itct[dump_index].itct); in debugfs_release_v3_hw()
4620 hisi_hba->debugfs_itct[dump_index].itct = in debugfs_alloc_v3_hw()
4622 if (!hisi_hba->debugfs_itct[dump_index].itct) in debugfs_alloc_v3_hw()