Searched refs:hisi_sas_write32 (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/scsi/hisi_sas/ |
| D | hisi_sas_v1_hw.c | 419 static void hisi_sas_write32(struct hisi_hba *hisi_hba, in hisi_sas_write32() function 543 hisi_sas_write32(hisi_hba, CFG_AGING_TIME, reg_val); in clear_itct_v1_hw() 549 hisi_sas_write32(hisi_hba, CFG_AGING_TIME, reg_val); in clear_itct_v1_hw() 654 hisi_sas_write32(hisi_hba, DLVRY_QUEUE_ENABLE, in init_reg_v1_hw() 656 hisi_sas_write32(hisi_hba, HGC_TRANS_TASK_CNT_LIMIT, 0x11); in init_reg_v1_hw() 657 hisi_sas_write32(hisi_hba, DEVICE_MSG_WORK_MODE, 0x1); in init_reg_v1_hw() 658 hisi_sas_write32(hisi_hba, HGC_SAS_TXFAIL_RETRY_CTRL, 0x1ff); in init_reg_v1_hw() 659 hisi_sas_write32(hisi_hba, HGC_ERR_STAT_EN, 0x401); in init_reg_v1_hw() 660 hisi_sas_write32(hisi_hba, CFG_1US_TIMER_TRSH, 0x64); in init_reg_v1_hw() 661 hisi_sas_write32(hisi_hba, HGC_GET_ITV_TIME, 0x1); in init_reg_v1_hw() [all …]
|
| D | hisi_sas_v3_hw.c | 522 static void hisi_sas_write32(struct hisi_hba *hisi_hba, u32 off, u32 val) in hisi_sas_write32() function 564 hisi_sas_write32(hisi_hba, DLVRY_QUEUE_ENABLE, in init_reg_v3_hw() 566 hisi_sas_write32(hisi_hba, SAS_AXI_USER3, 0); in init_reg_v3_hw() 567 hisi_sas_write32(hisi_hba, CFG_MAX_TAG, 0xfff0400); in init_reg_v3_hw() 568 hisi_sas_write32(hisi_hba, HGC_SAS_TXFAIL_RETRY_CTRL, 0x108); in init_reg_v3_hw() 569 hisi_sas_write32(hisi_hba, CFG_AGING_TIME, 0x1); in init_reg_v3_hw() 570 hisi_sas_write32(hisi_hba, INT_COAL_EN, 0x1); in init_reg_v3_hw() 571 hisi_sas_write32(hisi_hba, OQ_INT_COAL_TIME, 0x1); in init_reg_v3_hw() 572 hisi_sas_write32(hisi_hba, OQ_INT_COAL_CNT, 0x1); in init_reg_v3_hw() 573 hisi_sas_write32(hisi_hba, CQ_INT_CONVERGE_EN, in init_reg_v3_hw() [all …]
|
| D | hisi_sas_v2_hw.c | 743 static void hisi_sas_write32(struct hisi_hba *hisi_hba, u32 off, u32 val) in hisi_sas_write32() function 990 hisi_sas_write32(hisi_hba, ENT_INT_SRC3, in clear_itct_v2_hw() 995 hisi_sas_write32(hisi_hba, ITCT_CLR, reg_val); in clear_itct_v2_hw() 1024 hisi_sas_write32(hisi_hba, DLVRY_QUEUE_ENABLE, 0); in reset_hw_v2_hw() 1168 hisi_sas_write32(hisi_hba, AM_CFG_MAX_TRANS, 0x2020); in init_reg_v2_hw() 1169 hisi_sas_write32(hisi_hba, AM_CFG_SINGLE_PORT_MAX_TRANS, in init_reg_v2_hw() 1173 hisi_sas_write32(hisi_hba, DLVRY_QUEUE_ENABLE, in init_reg_v2_hw() 1175 hisi_sas_write32(hisi_hba, AXI_USER1, 0xc0000000); in init_reg_v2_hw() 1176 hisi_sas_write32(hisi_hba, AXI_USER2, 0x10000); in init_reg_v2_hw() 1177 hisi_sas_write32(hisi_hba, HGC_SAS_TXFAIL_RETRY_CTRL, 0x0); in init_reg_v2_hw() [all …]
|