Lines Matching refs:databuf
3276 u32 *databuf; in debugfs_snapshot_port_reg_v3_hw() local
3279 databuf = hisi_hba->debugfs_port_reg[dump_index][phy_cnt].data; in debugfs_snapshot_port_reg_v3_hw()
3280 for (i = 0; i < port->count; i++, databuf++) { in debugfs_snapshot_port_reg_v3_hw()
3282 *databuf = hisi_sas_phy_read32(hisi_hba, phy_cnt, in debugfs_snapshot_port_reg_v3_hw()
3291 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_GLOBAL].data; in debugfs_snapshot_global_reg_v3_hw() local
3294 for (i = 0; i < debugfs_axi_reg.count; i++, databuf++) in debugfs_snapshot_global_reg_v3_hw()
3295 *databuf = hisi_sas_read32(hisi_hba, 4 * i); in debugfs_snapshot_global_reg_v3_hw()
3301 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_AXI].data; in debugfs_snapshot_axi_reg_v3_hw() local
3305 for (i = 0; i < axi->count; i++, databuf++) in debugfs_snapshot_axi_reg_v3_hw()
3306 *databuf = hisi_sas_read32(hisi_hba, 4 * i + axi->base_off); in debugfs_snapshot_axi_reg_v3_hw()
3312 u32 *databuf = hisi_hba->debugfs_regs[dump_index][DEBUGFS_RAS].data; in debugfs_snapshot_ras_reg_v3_hw() local
3316 for (i = 0; i < ras->count; i++, databuf++) in debugfs_snapshot_ras_reg_v3_hw()
3317 *databuf = hisi_sas_read32(hisi_hba, 4 * i + ras->base_off); in debugfs_snapshot_ras_reg_v3_hw()
3324 void *databuf = hisi_hba->debugfs_itct[dump_index].itct; in debugfs_snapshot_itct_reg_v3_hw() local
3333 memcpy(databuf, itct, sizeof(struct hisi_sas_itct)); in debugfs_snapshot_itct_reg_v3_hw()
3334 databuf += sizeof(struct hisi_sas_itct); in debugfs_snapshot_itct_reg_v3_hw()
3343 void *databuf = hisi_hba->debugfs_iost[dump_index].iost; in debugfs_snapshot_iost_reg_v3_hw() local
3352 memcpy(databuf, iost, sizeof(struct hisi_sas_iost)); in debugfs_snapshot_iost_reg_v3_hw()
3353 databuf += sizeof(struct hisi_sas_iost); in debugfs_snapshot_iost_reg_v3_hw()