Home
last modified time | relevance | path

Searched refs:itct (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/scsi/hisi_sas/
H A Dhisi_sas_v1_hw.c496 struct hisi_sas_itct *itct = &hisi_hba->itct[device_id]; in setup_itct_v1_hw() local
501 memset(itct, 0, sizeof(*itct)); in setup_itct_v1_hw()
521 itct->qw0 = cpu_to_le64(qw0); in setup_itct_v1_hw()
525 itct->sas_addr = cpu_to_le64(__swab64(sas_addr)); in setup_itct_v1_hw()
528 itct->qw2 = cpu_to_le64((500ULL << ITCT_HDR_IT_NEXUS_LOSS_TL_OFF) | in setup_itct_v1_hw()
538 struct hisi_sas_itct *itct = &hisi_hba->itct[dev_id]; in clear_itct_v1_hw() local
551 qw0 = le64_to_cpu(itct->qw0); in clear_itct_v1_hw()
553 itct->qw0 = cpu_to_le64(qw0); in clear_itct_v1_hw()
H A Dhisi_sas_main.c1583 if (hisi_sas_debugfs_enable && hisi_hba->debugfs_itct[0].itct) in hisi_sas_controller_reset()
2075 if (hisi_sas_debugfs_enable && hisi_hba->debugfs_itct[0].itct) in _hisi_sas_internal_task_abort()
2366 hisi_hba->itct = dmam_alloc_coherent(dev, s, &hisi_hba->itct_dma, in hisi_sas_alloc()
2368 if (!hisi_hba->itct) in hisi_sas_alloc()
2799 void *databuf = hisi_hba->debugfs_itct[dump_index].itct; in hisi_sas_debugfs_snapshot_itct_reg()
2800 struct hisi_sas_itct *itct; in hisi_sas_debugfs_snapshot_itct_reg() local
2806 itct = hisi_hba->itct; in hisi_sas_debugfs_snapshot_itct_reg()
2808 for (i = 0; i < HISI_SAS_MAX_ITCT_ENTRIES; i++, itct++) { in hisi_sas_debugfs_snapshot_itct_reg()
2809 memcpy(databuf, itct, sizeof(struct hisi_sas_itct)); in hisi_sas_debugfs_snapshot_itct_reg()
3147 struct hisi_sas_itct *itct = debugfs_itct->itct; in hisi_sas_debugfs_itct_show() local
[all …]
H A Dhisi_sas_v2_hw.c927 struct hisi_sas_itct *itct = &hisi_hba->itct[device_id]; in setup_itct_v2_hw() local
933 memset(itct, 0, sizeof(*itct)); in setup_itct_v2_hw()
961 itct->qw0 = cpu_to_le64(qw0); in setup_itct_v2_hw()
965 itct->sas_addr = cpu_to_le64(__swab64(sas_addr)); in setup_itct_v2_hw()
969 itct->qw2 = cpu_to_le64((5000ULL << ITCT_HDR_INLT_OFF) | in setup_itct_v2_hw()
980 struct hisi_sas_itct *itct = &hisi_hba->itct[dev_id]; in clear_itct_v2_hw() local
1002 memset(itct, 0, sizeof(struct hisi_sas_itct)); in clear_itct_v2_hw()
3114 struct hisi_sas_itct *itct; in cq_thread_v2_hw() local
3141 itct = &hisi_hba->itct[dev_id]; in cq_thread_v2_hw()
3145 __le64 *_ncq_tag = &itct->qw4_15[0], __ncq_tag; in cq_thread_v2_hw()
H A Dhisi_sas.h391 struct hisi_sas_itct *itct; member
452 struct hisi_sas_itct *itct; member
H A Dhisi_sas_v3_hw.c768 struct hisi_sas_itct *itct = &hisi_hba->itct[device_id]; in setup_itct_v3_hw() local
774 memset(itct, 0, sizeof(*itct)); in setup_itct_v3_hw()
802 itct->qw0 = cpu_to_le64(qw0); in setup_itct_v3_hw()
806 itct->sas_addr = cpu_to_le64(__swab64(sas_addr)); in setup_itct_v3_hw()
810 itct->qw2 = cpu_to_le64((5000ULL << ITCT_HDR_INLT_OFF) | in setup_itct_v3_hw()
819 struct hisi_sas_itct *itct = &hisi_hba->itct[dev_id]; in clear_itct_v3_hw() local
840 memset(itct, 0, sizeof(struct hisi_sas_itct)); in clear_itct_v3_hw()