Searched refs:hisi_sas_write32 (Results 1 – 3 of 3) sorted by relevance
| /Linux-v4.19/drivers/scsi/hisi_sas/ |
| D | hisi_sas_v1_hw.c | 433 static void hisi_sas_write32(struct hisi_hba *hisi_hba, in hisi_sas_write32() function 556 hisi_sas_write32(hisi_hba, CFG_AGING_TIME, reg_val); in clear_itct_v1_hw() 562 hisi_sas_write32(hisi_hba, CFG_AGING_TIME, reg_val); in clear_itct_v1_hw() 667 hisi_sas_write32(hisi_hba, DLVRY_QUEUE_ENABLE, in init_reg_v1_hw() 669 hisi_sas_write32(hisi_hba, HGC_TRANS_TASK_CNT_LIMIT, 0x11); in init_reg_v1_hw() 670 hisi_sas_write32(hisi_hba, DEVICE_MSG_WORK_MODE, 0x1); in init_reg_v1_hw() 671 hisi_sas_write32(hisi_hba, HGC_SAS_TXFAIL_RETRY_CTRL, 0x1ff); in init_reg_v1_hw() 672 hisi_sas_write32(hisi_hba, HGC_ERR_STAT_EN, 0x401); in init_reg_v1_hw() 673 hisi_sas_write32(hisi_hba, CFG_1US_TIMER_TRSH, 0x64); in init_reg_v1_hw() 674 hisi_sas_write32(hisi_hba, HGC_GET_ITV_TIME, 0x1); in init_reg_v1_hw() [all …]
|
| D | hisi_sas_v3_hw.c | 387 static void hisi_sas_write32(struct hisi_hba *hisi_hba, u32 off, u32 val) in hisi_sas_write32() function 430 hisi_sas_write32(hisi_hba, DLVRY_QUEUE_ENABLE, in init_reg_v3_hw() 432 hisi_sas_write32(hisi_hba, CFG_MAX_TAG, 0xfff0400); in init_reg_v3_hw() 433 hisi_sas_write32(hisi_hba, HGC_SAS_TXFAIL_RETRY_CTRL, 0x108); in init_reg_v3_hw() 434 hisi_sas_write32(hisi_hba, INT_COAL_EN, 0x1); in init_reg_v3_hw() 435 hisi_sas_write32(hisi_hba, OQ_INT_COAL_TIME, 0x1); in init_reg_v3_hw() 436 hisi_sas_write32(hisi_hba, OQ_INT_COAL_CNT, 0x1); in init_reg_v3_hw() 437 hisi_sas_write32(hisi_hba, OQ_INT_SRC, 0xffff); in init_reg_v3_hw() 438 hisi_sas_write32(hisi_hba, ENT_INT_SRC1, 0xffffffff); in init_reg_v3_hw() 439 hisi_sas_write32(hisi_hba, ENT_INT_SRC2, 0xffffffff); in init_reg_v3_hw() [all …]
|
| D | hisi_sas_v2_hw.c | 748 static void hisi_sas_write32(struct hisi_hba *hisi_hba, u32 off, u32 val) in hisi_sas_write32() function 989 hisi_sas_write32(hisi_hba, ENT_INT_SRC3, in clear_itct_v2_hw() 994 hisi_sas_write32(hisi_hba, ITCT_CLR, reg_val); in clear_itct_v2_hw() 1023 hisi_sas_write32(hisi_hba, DLVRY_QUEUE_ENABLE, 0); in reset_hw_v2_hw() 1167 hisi_sas_write32(hisi_hba, AM_CFG_MAX_TRANS, 0x2020); in init_reg_v2_hw() 1168 hisi_sas_write32(hisi_hba, AM_CFG_SINGLE_PORT_MAX_TRANS, in init_reg_v2_hw() 1172 hisi_sas_write32(hisi_hba, DLVRY_QUEUE_ENABLE, in init_reg_v2_hw() 1174 hisi_sas_write32(hisi_hba, AXI_USER1, 0xc0000000); in init_reg_v2_hw() 1175 hisi_sas_write32(hisi_hba, AXI_USER2, 0x10000); in init_reg_v2_hw() 1176 hisi_sas_write32(hisi_hba, HGC_SAS_TXFAIL_RETRY_CTRL, 0x0); in init_reg_v2_hw() [all …]
|