Home
last modified time | relevance | path

Searched refs:itct (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/
H A Dhisi_sas_v3_hw.c731 /* itct */ in init_reg_v3_hw()
826 struct hisi_sas_itct *itct = &hisi_hba->itct[device_id]; in setup_itct_v3_hw() local
832 memset(itct, 0, sizeof(*itct)); in setup_itct_v3_hw()
850 dev_warn(dev, "setup itct: unsupported dev type (%d)\n", in setup_itct_v3_hw()
860 itct->qw0 = cpu_to_le64(qw0); in setup_itct_v3_hw()
864 itct->sas_addr = cpu_to_le64(__swab64(sas_addr)); in setup_itct_v3_hw()
868 itct->qw2 = cpu_to_le64((5000ULL << ITCT_HDR_INLT_OFF) | in setup_itct_v3_hw()
877 struct hisi_sas_itct *itct in clear_itct_v3_hw() local
2460 struct hisi_sas_itct *itct = complete_v3_hw() local
3512 struct hisi_sas_itct *itct; debugfs_snapshot_itct_reg_v3_hw() local
3746 struct hisi_sas_itct *itct = debugfs_itct->itct; debugfs_itct_v3_hw_show() local
3765 __le64 *itct; debugfs_itct_cache_v3_hw_show() local
[all...]
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()
512 dev_warn(dev, "setup itct: unsupported dev type (%d)\n", 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_i in clear_itct_v1_hw() 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()
951 dev_warn(dev, "setup itct: unsupported dev type (%d)\n", 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_i in clear_itct_v2_hw() local
3116 struct hisi_sas_itct *itct; cq_thread_v2_hw() local
[all...]
H A Dhisi_sas.h378 struct hisi_sas_itct *itct; member
441 struct hisi_sas_itct *itct; member
H A Dhisi_sas_main.c1576 if (hisi_sas_debugfs_enable && hisi_hba->debugfs_itct[0].itct) in hisi_sas_controller_prereset()
1964 if (hisi_sas_debugfs_enable && hisi_hba->debugfs_itct[0].itct) in hisi_sas_internal_abort_timeout()
2209 hisi_hba->itct = dmam_alloc_coherent(dev, s, &hisi_hba->itct_dma, in hisi_sas_alloc()
2211 if (!hisi_hba->itct) in hisi_sas_alloc()
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
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, sizeo in hisi_sas_debugfs_snapshot_itct_reg()
3147 struct hisi_sas_itct *itct = debugfs_itct->itct; hisi_sas_debugfs_itct_show() local
3177 __le64 *itct; hisi_sas_debugfs_itct_cache_show() local
[all...]
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()
512 dev_warn(dev, "setup itct: unsupported dev type (%d)\n", 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_i in clear_itct_v1_hw() 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()
951 dev_warn(dev, "setup itct: unsupported dev type (%d)\n", 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_i in clear_itct_v2_hw() local
3121 struct hisi_sas_itct *itct; cq_thread_v2_hw() local
[all...]
H A Dhisi_sas.h391 struct hisi_sas_itct *itct; member
452 struct hisi_sas_itct *itct; member
H A Dhisi_sas_v3_hw.c678 /* itct */ in init_reg_v3_hw()
773 struct hisi_sas_itct *itct = &hisi_hba->itct[device_id]; in setup_itct_v3_hw() local
779 memset(itct, 0, sizeof(*itct)); in setup_itct_v3_hw()
797 dev_warn(dev, "setup itct: unsupported dev type (%d)\n", in setup_itct_v3_hw()
807 itct->qw0 = cpu_to_le64(qw0); in setup_itct_v3_hw()
811 itct->sas_addr = cpu_to_le64(__swab64(sas_addr)); in setup_itct_v3_hw()
815 itct->qw2 = cpu_to_le64((5000ULL << ITCT_HDR_INLT_OFF) | in setup_itct_v3_hw()
824 struct hisi_sas_itct *itct in clear_itct_v3_hw() local
[all...]

Completed in 34 milliseconds